From 1db48124075dc951d5172015e8a5d16483dbefe9 Mon Sep 17 00:00:00 2001 From: Kelton Date: Mon, 3 Jun 2024 14:36:29 +0300 Subject: [PATCH] set dark mode as default --- mkdocs.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 76b89cb..4b8a6bd 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -23,14 +23,6 @@ theme: - search.suggest palette: - # Auto theme - - media: "(prefers-color-scheme)" - primary: black - accent: deep purple - toggle: - icon: material/brightness-auto - name: Switch to dark mode - # Toggle dark mode - media: "(prefers-color-scheme: dark)" scheme: slate @@ -47,7 +39,15 @@ theme: accent: deep purple toggle: icon: material/weather-sunny - name: Switch to system preferences + name: Switch to dark mode + + # Auto theme + - media: "(prefers-color-scheme)" + primary: black + accent: deep purple + toggle: + icon: material/brightness-auto + name: Switch to auto mode # Used plugins plugins: