Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Bootstrap Theme Toggler Block

The Bootstrap Theme Toggler Module enables switching of color modes for a Bootstrap based theme using the bootstrap library ver. 5.3 or later. With ver. 5.3, bootstrap introduced support for light & dark color modes. This module is a Drupal block that implements a theme changing toggle drop-down button to integrate this feature into your site. Any theme using bootstrap >5.3 can use this module.

This toggler does not integrate a bootstrap library, or a compatible styling class structure. One must be using a compatible theme, such as Bootstrap Barrio 5 Theme, or the related Bootstrap 5 - SASS Starter Kit, for this toggler to have an effect.

Implementing Theme Toggler With Barrio Bootstrap 5 Theme

How to integrate the Bootstrap Theme Toggler into a site using the Barrio Bootstrap 5 based theme.

Implementing the Theme Toggler With a Bootstrap Barrio SASS Sub-Theme

How to integrate the Bootstrap Theme Toggler into a site using the Barrio Bootstrap SASS Based Sub-Theme

Guide maintainers

mbaycura's picture