Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drupix/twbase_utils
🦊 Utilities module to use with TWBase Theme
https://github.com/drupix/twbase_utils
drupal-module drupal9 tailwindcss
Last synced: about 12 hours ago
JSON representation
🦊 Utilities module to use with TWBase Theme
- Host: GitHub
- URL: https://github.com/drupix/twbase_utils
- Owner: drupix
- License: gpl-2.0
- Created: 2021-11-27T12:37:49.000Z (almost 3 years ago)
- Default Branch: 9.1.x
- Last Pushed: 2023-03-19T13:51:23.000Z (over 1 year ago)
- Last Synced: 2024-09-19T03:06:13.257Z (6 days ago)
- Topics: drupal-module, drupal9, tailwindcss
- Language: PHP
- Homepage:
- Size: 26.4 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# TWBase Theme Utilities
[![drupal](https://img.shields.io/badge/drupal-^9-blue.svg?style=flat-square&logo=drupal)](https://drupal.org/)
[![LICENSE](https://img.shields.io/github/license/drupix/twbase_utils?style=flat-square)](https://raw.githubusercontent.com/drupix/twbase_utils/master/LICENSE.txt)**:warning: WARNING: TWBase Theme Utilities is under development and not yet ready for production 🐞**
## Advices
This module is intended for use with [TWBase Theme](https://github.com/drupix/twbase).
## 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](https://github.com/drupix/twbase) 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
* Install as you would normally install a contributed Drupal module. Visit:
for further information.## Maintainers
Current maintainers:
* [drupix](https://www.drupal.org/u/drupix)
This project has been sponsored by myself!