From 9a13ba2f3c4319e3e90a3e05fcafff191f8c4049 Mon Sep 17 00:00:00 2001 From: Kabilar Gunalan Date: Sat, 11 Jan 2025 16:44:56 -0600 Subject: [PATCH] Add color scheme for light and dark mode options --- mkdocs.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 46f601f4..7dd4b406 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -12,8 +12,18 @@ theme: favicon: img/favicon.ico logo: img/dandi-logo-square_sw.png palette: - primary: "dark blue" - accent: "light blue" + - scheme: default + toggle: + icon: material/weather-night + name: Dark mode + primary: "dark blue" + accent: "light blue" + - scheme: slate + toggle: + icon: material/weather-sunny + name: Light mode + primary: "dark blue" + accent: "light blue" features: - toc.integrate