bootstrap-auto-dark-mode/README.md

13 lines
317 B
Markdown
Raw Normal View History

2023-06-08 16:44:41 +02:00
# bootstrap-auto-dark-mode
2023-06-08 17:09:24 +02:00
2023-06-08 17:21:56 +02:00
Include this script to set the bootstrap >= 5.3 dark-mode automatically based on system settings.
2023-06-08 17:09:24 +02:00
The mode will switch automatically, also when the user changes the system settings while the page is shown.
## Usage
```html
<script src="./src/bootstrap-auto-dark-mode.js"></script>
```