From 479e7d95a74d291f898b6ef7598f9940953c445e Mon Sep 17 00:00:00 2001 From: Flook Peter Date: Fri, 14 Jun 2024 13:54:39 +0800 Subject: [PATCH] Add in toggle for dark mode in docs site --- mkdocs.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mkdocs.yml b/mkdocs.yml index b78d7c8..eb5fdf4 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,6 +1,17 @@ site_name: insta-infra theme: name: material + palette: + # Palette toggle for light mode + - scheme: default + toggle: + icon: material/brightness-7 + name: Switch to dark mode + # Palette toggle for dark mode + - scheme: slate + toggle: + icon: material/brightness-4 + name: Switch to light mode nav: - Home: index.md - Getting Started: getting-started.md