From b47f4b298ea2c0d1a1aa31a66bcf70be651a9979 Mon Sep 17 00:00:00 2001 From: Edd Salkield Date: Thu, 13 May 2021 15:55:36 +0100 Subject: [PATCH] Add dark theme to the docs (#631) --- mkdocs.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index bdcfbb73..a22f831b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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'