From 56cc4bbbc00d1f62cad528ae8aabd346a52826ba Mon Sep 17 00:00:00 2001 From: Samuel Wang Date: Sat, 12 Aug 2023 12:19:52 +0800 Subject: [PATCH] Update mkdocs.yml --- mkdocs.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 620ec4b..43f230a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,22 +1,16 @@ theme: language: zh palette: - # Palette toggle for automatic mode - - media: "(prefers-color-scheme)" - toggle: - icon: material/brightness-auto - name: Switch to light mode - # Palette toggle for light mode - media: "(prefers-color-scheme: light)" - scheme: default + 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 system preference + name: Switch to light mode +