mirror of
https://github.com/TxtDot/documentation.git
synced 2024-11-22 04:46:22 +03:00
Theming
This commit is contained in:
parent
cc99f67428
commit
e4a607d2d5
1 changed files with 13 additions and 0 deletions
13
mkdocs.yml
13
mkdocs.yml
|
@ -1,3 +1,16 @@
|
||||||
site_name: txtdot
|
site_name: txtdot
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
|
palette:
|
||||||
|
# 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 light mode
|
||||||
|
|
Loading…
Add table
Reference in a new issue