mirror of
https://github.com/shaack/bootstrap-auto-dark-mode.git
synced 2025-12-06 07:42:03 +01:00
13 lines
317 B
Markdown
13 lines
317 B
Markdown
# 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
|
|
|
|
```html
|
|
<script src="./src/bootstrap-auto-dark-mode.js"></script>
|
|
```
|
|
|