From a87af3c4d28ca4dc1bd8b2d5906c0821830b9b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Fri, 2 Aug 2024 22:48:34 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Enable=20dark=20mode=20for=20doc?= =?UTF-8?q?s=20(#904)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mkdocs.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mkdocs.yml b/mkdocs.yml index e7ecc964a9..adb8768e5b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -7,8 +7,18 @@ theme: name: material custom_dir: docs/overrides palette: + - scheme: default primary: black accent: teal + toggle: + icon: material/lightbulb + name: Switch to dark mode + - scheme: slate + primary: black + accent: teal + toggle: + icon: material/lightbulb-outline + name: Switch to light mode icon: repo: fontawesome/brands/github-alt logo: img/icon.svg