diff --git a/mkdocs.yml b/mkdocs.yml index 8f872e1..d30650e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -18,20 +18,27 @@ theme: - content.action.view palette: - # Palette toggle for light mode + # Светлая тема по умолчанию + - media: "(prefers-color-scheme: no-preference)" + scheme: default + primary: black + toggle: + icon: material/brightness-7 + name: Switch to dark mode - media: "(prefers-color-scheme: light)" scheme: default primary: black toggle: icon: material/brightness-7 name: Switch to dark mode - # Palette toggle for dark mode + # Тёмная тема - media: "(prefers-color-scheme: dark)" scheme: slate primary: black toggle: icon: material/brightness-4 name: Switch to light mode + extra: generator: false social: