mirror of
https://github.com/shaack/bootstrap-auto-dark-mode.git
synced 2025-12-06 07:42:03 +01:00
| src | ||
| .gitattributes | ||
| .gitignore | ||
| index.html | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
bootstrap-auto-dark-mode
Include this script to set the bootstrap >= 5.3 dark-mode automatically based on system settings.
The mode will switch automatically, also when the user changes the system settings while the page is shown.
Usage
<script src="./src/bootstrap-auto-dark-mode.js"></script>