add dark theme

This commit is contained in:
mauwii 2022-09-14 02:06:39 +02:00
parent a14f18fede
commit b36d4cc088
No known key found for this signature in database
GPG Key ID: D923DB04ADB3F5AB

View File

@ -13,6 +13,20 @@ copyright: Copyright &copy; 2022 Lincoln D. Stein <lincoln.stein@gmail.com>
# Configuration # Configuration
theme: theme:
name: material name: material
palette:
- media: '(prefers-color-scheme: light)'
primary: blue
scheme: default
toggle:
icon: material/lightbulb
name: Switch to dark mode
- media: '(prefers-color-scheme: dark)'
primary: dark-blue
accent: white
scheme: slate
toggle:
icon: material/lightbulb-outline
name: Switch to light mode
# Extensions # Extensions
markdown_extensions: markdown_extensions: