From 45753191df38e0138733843695a0b0574651fef6 Mon Sep 17 00:00:00 2001 From: Zeheng Li Date: Fri, 3 May 2024 10:40:13 -0600 Subject: [PATCH] Update mkdocs.yml --- mkdocs.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 602df3b..1018190 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -14,13 +14,19 @@ theme: font: text: Roboto palette: - - scheme: default + - media: "(prefers-color-scheme)" + toggle: + icon: material/brightness-auto + name: Switch to light mode + - media: "(prefers-color-scheme: light)" + scheme: default primary: green accent: green toggle: icon: material/toggle-switch name: Switch to dark mode - - scheme: slate + - media: "(prefers-color-scheme: dark)" + scheme: slate primary: green accent: green toggle: