Skip to content

drupix/twbase_utils

Repository files navigation

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!

About

🦊 Utilities module to use with TWBase Theme

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published