diff --git a/mkdocs.yml b/mkdocs.yml index 5913ab2..a8c7b40 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,22 +4,35 @@ site_url: https://asyncer.tiangolo.com/ theme: name: material palette: - - scheme: default + - media: "(prefers-color-scheme)" + toggle: + icon: material/lightbulb-auto + name: Switch to light mode + - media: '(prefers-color-scheme: light)' + scheme: default primary: orange accent: indigo toggle: icon: material/lightbulb name: Switch to dark mode - - scheme: slate + - media: '(prefers-color-scheme: dark)' + scheme: slate primary: orange accent: indigo toggle: icon: material/lightbulb-outline - name: Switch to light mode + name: Switch to system preference features: - search.suggest - search.highlight - content.tabs.link + - navigation.indexes + - content.tooltips + - navigation.path + - content.code.annotate + - content.code.copy + - content.code.select + # - navigation.tabs icon: repo: fontawesome/brands/github-alt logo: img/icon-white.svg