diff options
Diffstat (limited to 'docs/mkdocs.yml')
-rw-r--r-- | docs/mkdocs.yml | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 5b04cc40..f78479d5 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -36,7 +36,6 @@ nav: - MinIO: guides/minio-image-upload.md - S3: guides/s3-image-upload.md - Migrate from Etherpad: guides/migrate-etherpad.md - - Breaking Changes: guides/migrations-and-breaking-changes.md - Migration Troubleshooting: guides/migration-troubleshooting.md - Terms of Use Setup: guides/providing-terms.md - Configuration: configuration.md @@ -60,15 +59,28 @@ markdown_extensions: emoji_generator: !!python/name:materialx.emoji.to_svg - attr_list - footnotes + - admonition theme: name: 'material' language: en 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 |