From 393d85a64db532eb04ce14a28fce8387013655ab Mon Sep 17 00:00:00 2001 From: ilyamak04 Date: Mon, 27 Jan 2025 23:40:34 +0300 Subject: [PATCH] + --- mkdocs.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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: