Add Dark theme to Documentation

This commit is contained in:
Matthias 2021-06-24 22:53:46 +02:00
parent 538a1acdb5
commit f585ffa264
1 changed files with 12 additions and 2 deletions

View File

@ -44,8 +44,18 @@ theme:
favicon: 'images/logo.png'
custom_dir: 'docs/overrides'
palette:
primary: 'blue grey'
accent: 'tear'
- scheme: default
primary: 'blue grey'
accent: 'tear'
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
- scheme: slate
primary: 'blue grey'
accent: 'tear'
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
extra_css:
- 'stylesheets/ft.extra.css'
extra_javascript: