Code Monkey home page Code Monkey logo

twbase_utils's Introduction

TWBase Theme Utilities

drupal LICENSE

โš ๏ธ WARNING: TWBase Theme Utilities is under development and not yet ready for production ๐Ÿž

Advices

This module is intended for use with TWBase Theme.

Features

The additional features provided by this module are:

  • a prose (tw-prose) wrapper class is added to the editor body that allows tailwindcss-typography to works correctly while editing a node in the admin section
  • extra styles provied by TWBase Theme are added to CKEditor for a better match with tailwindcss-typography and easily applying custom styles like:
    • p.lead
    • code
    • custom colors (text-primary, text-secondary, text-success, text-danger, text-warning)
    • dropcap for a Dropcap (big letter at the beginning of a sentence/word)
    • button (i.e. display a link like a button), and colored buttons button--primary, button--secondary, button--success, button--danger, button--warning
  • an admin interface is provided to edit the showcase content
  • and last but not least: it allows you to define showcase options per content type ๐Ÿฅณ

To have extra styles working you must add the "Styles" button to your CKEditor configuration at /admin/config/content/formats/manage/full_html

Installation

Maintainers

Current maintainers:

This project has been sponsored by myself!

twbase_utils's People

Contributors

drupix avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.