mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-04 01:19:19 +00:00
docs: allow for toggling light/dark mode (#2869)
This commit is contained in:
parent
820d401911
commit
b3e0ea14bf
1 changed files with 21 additions and 0 deletions
21
mkdocs.yml
21
mkdocs.yml
|
@ -15,6 +15,27 @@ theme:
|
|||
- navigation.top
|
||||
- navigation.indexes
|
||||
locale: en
|
||||
palette:
|
||||
|
||||
# Palette toggle for automatic mode
|
||||
- media: "(prefers-color-scheme)"
|
||||
toggle:
|
||||
icon: material/brightness-auto
|
||||
name: Switch to light mode
|
||||
|
||||
# Palette toggle for light mode
|
||||
- media: "(prefers-color-scheme: light)"
|
||||
scheme: default
|
||||
toggle:
|
||||
icon: material/brightness-7
|
||||
name: Switch to dark mode
|
||||
|
||||
# Palette toggle for dark mode
|
||||
- media: "(prefers-color-scheme: dark)"
|
||||
scheme: slate
|
||||
toggle:
|
||||
icon: material/brightness-4
|
||||
name: Switch to system preference
|
||||
|
||||
highlightjs: true
|
||||
hljs_languages:
|
||||
|
|
Loading…
Reference in a new issue