mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 18:11:28 +00:00
Enhanced light/dark mode support in mkdocs configuration
This commit is contained in:
parent
a850a73e1a
commit
9b7deb5246
|
@ -11,12 +11,14 @@ theme:
|
||||||
logo: assets/icon.svg
|
logo: assets/icon.svg
|
||||||
favicon: assets/icon.svg
|
favicon: assets/icon.svg
|
||||||
palette:
|
palette:
|
||||||
- scheme: default
|
- media: "(prefers-color-scheme: light)"
|
||||||
|
scheme: default
|
||||||
primary: white
|
primary: white
|
||||||
toggle:
|
toggle:
|
||||||
icon: material/brightness-7
|
icon: material/brightness-7
|
||||||
name: Switch to dark mode
|
name: Switch to dark mode
|
||||||
- scheme: slate
|
- media: "(prefers-color-scheme: dark)"
|
||||||
|
scheme: slate
|
||||||
primary: black
|
primary: black
|
||||||
toggle:
|
toggle:
|
||||||
icon: material/brightness-4
|
icon: material/brightness-4
|
||||||
|
|
Loading…
Reference in a new issue