bootstrap_toggler_theme
The Bootstrap Theme Toggler module provides a simple, plug-and-play solution to add a theme switcher to your Drupal site. It allows users to toggle between light and dark modes when using a Bootstrap-based theme, improving accessibility and user experience without any configuration.
Features
- Provides a ready-to-use "Bootstrap Theme Toggler" block
- Allows users to toggle between light and dark themes
- Seamless integration with Bootstrap-based themes (e.g. Bootstrap 5)
- Persists user preference using local storage or session
- No configuration required
- Lightweight and no external dependencies
This module is ideal for site builders who want to quickly add a modern dark mode toggle without writing custom JavaScript or complex theming logic.
Post-Installation
After enabling the module, go to the Block Layout page and place the "Bootstrap Theme Toggler" block in any region of your site.
Once the block is placed, the theme switcher is immediately available to users. No additional configuration is required.
Additional Requirements
- Drupal 9, 10 or higher
- A Bootstrap-based theme (e.g. Bootstrap Barrio or a custom Bootstrap theme)
Recommended modules/libraries
No additional modules or libraries are required.
Similar projects
Other theme switcher modules may offer advanced configuration options or support multiple themes.
Bootstrap Theme Toggler focuses on simplicity and ease of use, with a zero-configuration approach and tight integration with Bootstrap.
Supporting this Module
If you find this module useful, consider supporting its development by contributing code, reporting issues, or sharing feedback on Drupal.org.
Community Documentation
Additional documentation, demos, or tutorials may be added here in the future.
This module is designed to be simple, efficient, and easy to integrate into any modern Drupal project using Bootstrap.