Drupal is a registered trademark of Dries Buytaert
Release: Modeler API 1.1.5 Minor update available for module modeler_api (1.1.5). Release: Admin Audit Trail 1.0.12 Minor update available for module admin_audit_trail (1.0.12). Release: Workflow Modeler 1.0.7 Minor update available for module modeler (1.0.7). Release: Image Scale and Fill Background Effect 1.1.0 Minor update available for module image_scale_fill (1.1.0). Release: Captcha Keypad 2.0.0 Major update available for module captcha_keypad (2.0.0). Release: CMRF Form Processor 2.2.20 Minor update available for module cmrf_form_processor (2.2.20). Release: CMRF Core 2.1.17 Minor update available for module cmrf_core (2.1.17). Release: Yet another statistics module 2.3.1 Minor update available for module yasm (2.3.1). Usage Milestone: Role Theme Switcher Module role_theme_switcher crossed 1,000 active installs. Module Revived: Simple XML sitemap DiWoo 1.0.6 Module simple_sitemap_diwoo updated after 9 months of inactivity (1.0.6).

This module allows you to define and manage theme libraries directly within your theme's `info.yml` file. You can then enable or disable these libraries through the Drupal admin interface, giving you on-the-fly control over your theme's styling and assets without needing to modify code or build new themes. This is useful for scenarios like easily switching between different design presets for a site.

This module provides a neat solution to define configurable theme libraries in
your THEME.info.yml file. These libraries can be enabled or disabled for a
given theme on the fly. This makes it possible to control active libraries via in the interface. An example usage could be the implementation of two different global styling libraries to change the appearance of the theme.

To make it work for your theme there are a few steps you should take:

  • Define at least one configurable library in your THEME.info.yml. Defining
    them is done by using the configurable-libraries key. This module scans
    the active theme for these to register them.
  • Configure which libraries will be used at /admin/appearance/settings/YOUR_THEME

Each configurable library can contain their own library definitions as normally
used in the THEME.info.yml. This consists of:

  • libraries
  • libraries-extend
  • libraries-override

An example definition looks like:

configurable-libraries:
  global-styling-green:
    name: Global Styling (Green)
    libraries:
      - my_theme/global-styling-green
    libraries-override:
      - my_theme/global-styling: false
  global-styling-blue:
    name: Global Styling (Blue)
    description: This makes the site blue.
    libraries:
      - my_theme/global-styling-blue
    libraries-override:
      - my_theme/global-styling: false

Installation

Install this module as any other Drupal module, see the documentation on
Drupal.org.

Activity

Tracked releases
2
Tracked since
May 2026
Latest release
2 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
2.3.1 Stable May 27, 2026
2.3.0 Stable May 26, 2026