Auto color scheme
Signed-off-by: Wachtl Enterprises LLC <tyrolyean@escpe.net>
This commit is contained in:
parent
3598bb0b22
commit
1da95fd46c
1 changed files with 24 additions and 3 deletions
27
mkdocs.yml
27
mkdocs.yml
|
@ -39,9 +39,30 @@ theme:
|
|||
features:
|
||||
- navigation.footer
|
||||
palette:
|
||||
scheme: slate
|
||||
primary: 'black'
|
||||
accent: pink
|
||||
# Palette toggle for automatic mode
|
||||
- media: "(prefers-color-scheme)"
|
||||
primary: 'indigo'
|
||||
accent: pink
|
||||
toggle:
|
||||
icon: material/brightness-auto
|
||||
name: Switch to light mode
|
||||
# Palette toggle for light mode
|
||||
- media: "(prefers-color-scheme: light)"
|
||||
scheme: default # (1)!
|
||||
primary: 'indigo'
|
||||
accent: pink
|
||||
toggle:
|
||||
icon: material/brightness-7
|
||||
name: Switch to dark mode
|
||||
# Palette toggle for dark mode
|
||||
- media: "(prefers-color-scheme: dark)"
|
||||
scheme: slate
|
||||
primary: 'indigo'
|
||||
accent: pink
|
||||
toggle:
|
||||
icon: material/brightness-4
|
||||
name: Switch to system preference
|
||||
|
||||
markdown_extensions:
|
||||
- attr_list
|
||||
- pymdownx.emoji:
|
||||
|
|
Loading…
Add table
Reference in a new issue