Add Dark theme to Documentation

This commit is contained in:
Matthias 2021-06-24 22:53:46 +02:00
parent 538a1acdb5
commit f585ffa264

View File

@ -44,8 +44,18 @@ theme:
favicon: 'images/logo.png' favicon: 'images/logo.png'
custom_dir: 'docs/overrides' custom_dir: 'docs/overrides'
palette: palette:
- scheme: default
primary: 'blue grey' primary: 'blue grey'
accent: 'tear' 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: extra_css:
- 'stylesheets/ft.extra.css' - 'stylesheets/ft.extra.css'
extra_javascript: extra_javascript: