Add dark theme to the docs (#631)

This commit is contained in:
Edd Salkield
2021-05-13 15:55:36 +01:00
committed by GitHub
parent 89cff15c6b
commit b47f4b298e

View File

@@ -4,8 +4,18 @@ site_description: Ready-to-use and customizable users management for FastAPI
theme:
name: 'material'
palette:
primary: 'red'
accent: 'red'
- scheme: default
primary: 'red'
accent: 'red'
toggle:
icon: material/lightbulb
name: Switch to dark mode
- scheme: slate
primary: 'red'
accent: 'red'
toggle:
icon: material/lightbulb-outline
name: Switch to light mode
icon:
logo: material/account-supervisor
favicon: 'favicon.png'