mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-27 20:48:53 -05:00
docs: Enable automatic theme switching
Signed-off-by: pwuersch <49908921+pwuersch@users.noreply.github.com>
This commit is contained in:
12
mkdocs.yml
12
mkdocs.yml
@@ -41,15 +41,21 @@ theme:
|
||||
- toc.follow
|
||||
# - toc.integrate
|
||||
palette:
|
||||
- scheme: default
|
||||
- media: "(prefers-color-scheme)"
|
||||
toggle:
|
||||
icon: material/brightness-auto
|
||||
name: Switch to light mode
|
||||
- media: "(prefers-color-scheme: light)"
|
||||
scheme: default
|
||||
primary: white
|
||||
toggle:
|
||||
icon: material/brightness-7
|
||||
name: Switch to dark mode
|
||||
- scheme: slate
|
||||
- media: "(prefers-color-scheme: dark)"
|
||||
scheme: slate
|
||||
toggle:
|
||||
icon: material/brightness-4
|
||||
name: Switch to light mode
|
||||
name: Switch to system preference
|
||||
font:
|
||||
text: Roboto
|
||||
code: Roboto Mono
|
||||
|
||||
Reference in New Issue
Block a user