diff options
Diffstat (limited to 'docs/mkdocs.yml')
-rw-r--r-- | docs/mkdocs.yml | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 5a5056ef..f78479d5 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -66,9 +66,21 @@ theme: favicon: images/favicon.png logo: images/logo.svg palette: - scheme: light - primary: 'hedgedoc' - accent: 'hedgedoc' + - media: "(prefers-color-scheme: light)" + scheme: light + primary: 'hedgedoc' + accent: 'hedgedoc' + toggle: + icon: material/lightbulb-outline + name: Switch to dark mode + # Dark mode + - media: "(prefers-color-scheme: dark)" + scheme: slate + primary: 'hedgedoc' + accent: 'hedgedoc' + toggle: + icon: material/lightbulb + name: Switch to light mode features: - navigation.tabs - navigation.sections |