An integration between UI Styles and Paragraphs: you can enable specific styles for desired paragraph type, so the contributor can apply those styles to the content.
UI Styles allows developers to define styles from modules and themes and site builders to use them from Drupal backoffice.
The styles are:
- collections of mutually exclusive, self-descriptive, single-purpose CSS classes. Examples: Typography, Borders, Background colors, Spacing....
- commonly used in design systems, and can also be called "helpers", "utilities", "fundamentals"...
- Drupal plugins, created and managed by the themer, inside a single YML file.
Usage
Usage (for site builders):
- Create or edit a paragraph type (admin > structure > paragraph types)
- Enable the “UI Styles Options” behavior for your paragraph type
- Select one or more UI styles to make them available for contribution
Usage (for contributors)
- On add/edit paragraph form you can see the available styles in the "Behavior" tab
- Select the styles to apply to the current paragraph
More styles integrations
UI Styles is providing integration with other Drupal API:
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the UI ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 1.1.0-alpha2 | Pre-release | Sep 2, 2024 | ||
| 1.1.x-dev | Dev | Feb 11, 2024 | ||
| 1.1.0-alpha1 | Pre-release | Feb 1, 2024 | ||
| 1.0.0-alpha4 | Pre-release | Jan 31, 2024 | ||
| 1.0.0-alpha3 | Pre-release | Jan 31, 2024 | ||
| 1.0.0-alpha2 | Pre-release | May 3, 2023 | ||
| 1.0.0-alpha1 | Pre-release | Mar 13, 2023 | ||
| 1.0.x-dev | Dev | Mar 10, 2023 | ||
| 1.x-dev | Dev | Mar 8, 2023 |