mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-22 08:31:30 +00:00
documentation: Improve theme
This commit is contained in:
parent
82ab68b542
commit
3ede29fb6d
10
mkdocs.yml
10
mkdocs.yml
|
@ -11,18 +11,22 @@ theme:
|
||||||
logo: assets/icon.svg
|
logo: assets/icon.svg
|
||||||
favicon: assets/icon.svg
|
favicon: assets/icon.svg
|
||||||
palette:
|
palette:
|
||||||
|
- media: "(prefers-color-scheme)"
|
||||||
|
toggle:
|
||||||
|
icon: material/link
|
||||||
|
name: Switch to light mode
|
||||||
- media: "(prefers-color-scheme: light)"
|
- media: "(prefers-color-scheme: light)"
|
||||||
scheme: default
|
scheme: default
|
||||||
primary: white
|
primary: white
|
||||||
toggle:
|
toggle:
|
||||||
icon: material/brightness-7
|
icon: material/toggle-switch
|
||||||
name: Switch to dark mode
|
name: Switch to dark mode
|
||||||
- media: "(prefers-color-scheme: dark)"
|
- media: "(prefers-color-scheme: dark)"
|
||||||
scheme: slate
|
scheme: slate
|
||||||
primary: black
|
primary: black
|
||||||
toggle:
|
toggle:
|
||||||
icon: material/brightness-4
|
icon: material/toggle-switch-off
|
||||||
name: Switch to light mode
|
name: Switch to system preference
|
||||||
features:
|
features:
|
||||||
# - navigation.instant
|
# - navigation.instant
|
||||||
- navigation.tracking
|
- navigation.tracking
|
||||||
|
|
Loading…
Reference in a new issue