aboutsummaryrefslogtreecommitdiff
path: root/mkdocs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'mkdocs.yml')
-rw-r--r--mkdocs.yml33
1 files changed, 32 insertions, 1 deletions
diff --git a/mkdocs.yml b/mkdocs.yml
index 2b74632..79419dd 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -27,14 +27,45 @@ theme:
collapse_navigation: true
titles_only : false
logo : https://fluxo.info/images/fluxo.png
+
palette:
- primary: blue grey
+ # Palette toggle for automatic mode
+ - media: "(prefers-color-scheme)"
+ #primary: custom
+ primary: blue grey
+ toggle:
+ icon: material/brightness-auto
+ name: Switch to light mode
+
+ # Palette toggle for light mode
+ - media: "(prefers-color-scheme: light)"
+ scheme: default
+ #primary: custom
+ primary: blue grey
+ toggle:
+ icon: material/brightness-7
+ name: Switch to dark mode
+
+ # Palette toggle for dark mode
+ - media: "(prefers-color-scheme: dark)"
+ scheme: slate
+ #primary: custom
+ primary: blue grey
+ toggle:
+ icon: material/brightness-4
+ name: Switch to light mode
# Do not use external fonts
# Usefult for offline operation
# See https://squidfunk.github.io/mkdocs-material/setup/changing-the-fonts/#autoloading
#font: false
+ # Theme features
+ features:
+ # Code copy button
+ # https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-copy-button
+ - content.code.copy
+
# Extra stylesheets
extra_css:
- site.css