Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Layout generate style

No security coverage Under active development 25 sites

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.

Drupal 9–10 · not 11

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

Activity

Tracked releases
24
Tracked since
Jun 2024
Latest release
7 months ago
Releases (12 mo)
12 ▲ from 9
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
5.0.2 Stable 9–10 Nov 17, 2025
5.0.1 Stable 9–10 Nov 14, 2025
4.0.4 Stable 9–10 Jul 10, 2025
4.0.3 Stable 9–10 Jun 25, 2025
4.0.2 Stable 9–10 May 25, 2025
4.0.1 Stable 9–10 May 22, 2025
4.x-dev Dev 9–10 May 21, 2025
4.0.0 Stable 9–10 May 21, 2025
3.2.0 Stable 9–10 May 12, 2025
3.1.4 Stable 9–10 May 8, 2025