diff --git a/mkdocs.yml b/mkdocs.yml index 107e63d..ba86a46 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -6,6 +6,20 @@ edit_uri: edit/main/docs/ theme: name: material + palette: + # Palette toggle for light mode + - media: "(prefers-color-scheme: light)" + 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 light mode features: - announce.dismiss - content.action.edit @@ -18,6 +32,7 @@ theme: - navigation.sections - navigation.tabs - navigation.tabs.sticky + - navigation.tracking - navigation.top - search.highlight - search.suggest