This project provides a way to manage styles and JavaScript for layouts within Drupal, allowing for dynamic style generation based on active sections and the reuse of styles across different websites. It enables each entity supporting layouts to have its own specific styles, simplifying maintenance for evolving websites.
A web page can be viewed as a collection of blocks, with the theme providing the necessary styles for presentation.
The traditional approach involves creating styles directly within the theme. However, for websites that evolve over time (with the addition of new sections or pages), maintenance becomes increasingly complex after several months or years.
Our approach involves using two style files:
- A file containing the base styles.
- A file whose content is dynamically generated based on the active sections.
In the Drupal environment, this translates to the use of layouts that include styles (SCSS/JS). Any entity that supports layouts can have its own styles. This also allows us to reuse sections across different websites.
A significant drawback:
This approach requires setting up an environment that adheres to a specific logic.
Required Modules and Themes:
These modules include additional dependencies, which are automatically downloaded.
You can also use the installation profile: Drupal Project Habeuk.
Ask your assistant about Layout generate style
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
Required by
2 tracked projects depend on this one
- Full swiper options 24 sites
- More fields 23 sites
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 5.0.13 | Stable | 9–10 | Feb 22, 2026 | ||
| 5.0.12 | Stable | 9–10 | Feb 8, 2026 | ||
| 5.0.11 | Stable | 9–10 | Feb 7, 2026 | ||
| 5.0.10 | Stable | 9–10 | Dec 8, 2025 | ||
| 5.0.9 | Stable | 9–10 | Dec 8, 2025 | ||
| 5.0.8 | Stable | 9–10 | Nov 28, 2025 | ||
| 5.0.7 | Stable | 9–10 | Nov 24, 2025 | ||
| 5.0.5 | Stable | 9–10 | Nov 24, 2025 | ||
| 5.0.4 | Stable | 9–10 | Nov 19, 2025 | ||
| 5.0.3 | Stable | 9–10 | Nov 18, 2025 |