Boost Dark Mode is a local plugin for Moodle that adds a dark mode button to the Boost theme, providing a more comfortable visual experience for users, especially in low-light environments.
- Enables a dark mode button in the Boost theme header.
- Saves the user's dark mode preference using Moodle's preferences.
- Simple and lightweight, without interfering with the default Boost theme functionality.
-
Download or clone this repository:
git clone https://github.com/EduardoKrausME/moodle-boost_dark
-
In your Moodle directory, copy the plugin folder to
local/boost_dark
:cp -r moodle-boost_dark local/boost_dark
-
Access the Moodle administration panel and follow the instructions to complete the plugin installation.
-
After installation, the dark mode button will automatically appear in the Boost theme header.
- Access your Moodle with the Boost theme enabled.
- In the top corner, click the Dark Mode icon to toggle between light and dark modes.
- The configuration will be saved in the user's preferences and applied upon login.
- Moodle 4.1 or higher.
- Boost theme or Boost-based themes.
- Some customized Boost colors may require additional adjustments for proper display in dark mode.
- This plugin has not been tested with non-Boost-derived themes.
Contributions are welcome!
- Fork the repository.
- Create a branch for your changes.
- Submit a Pull Request – I'd love to review it.
This project is licensed under the GPL v3 license.
Author: Eduardo Kraus
Website: eduardokraus.com/contact
If you encounter any issues or have suggestions, feel free to open an issue! 😊