mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-22 00:21: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
|
||||
favicon: assets/icon.svg
|
||||
palette:
|
||||
- media: "(prefers-color-scheme)"
|
||||
toggle:
|
||||
icon: material/link
|
||||
name: Switch to light mode
|
||||
- media: "(prefers-color-scheme: light)"
|
||||
scheme: default
|
||||
primary: white
|
||||
toggle:
|
||||
icon: material/brightness-7
|
||||
icon: material/toggle-switch
|
||||
name: Switch to dark mode
|
||||
- media: "(prefers-color-scheme: dark)"
|
||||
scheme: slate
|
||||
primary: black
|
||||
toggle:
|
||||
icon: material/brightness-4
|
||||
name: Switch to light mode
|
||||
icon: material/toggle-switch-off
|
||||
name: Switch to system preference
|
||||
features:
|
||||
# - navigation.instant
|
||||
- navigation.tracking
|
||||
|
|
Loading…
Reference in a new issue