From e145bc0a2c08552eff29b9dcdb277d59052f51c9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9CKatrinBistreck=E2=80=9D?=
 <“katrin.bistreck@tuhh.de”>
Date: Thu, 6 Feb 2025 17:51:34 +0100
Subject: [PATCH] adds light mode

---
 docs/assets/css/unicado.css |  3 +++
 mkdocs.yml                  | 19 ++++++++++++++++---
 2 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/docs/assets/css/unicado.css b/docs/assets/css/unicado.css
index 8837256..7050e6f 100644
--- a/docs/assets/css/unicado.css
+++ b/docs/assets/css/unicado.css
@@ -18,6 +18,9 @@
 [data-md-color-scheme=slate] .md-tabs {
   background-color: var(--primary-color);
 }
+[data-md-color-scheme=default] .md-tabs {
+  background-color: var(--primary-color);
+}
 
 /* Hero Section Styling */
 .hero-section {
diff --git a/mkdocs.yml b/mkdocs.yml
index 36be4cf..16f204d 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -169,9 +169,21 @@ theme:
   custom_dir: overrides                      # Directory for custom files (like footer).
   # Theme colors configuration
   palette:
-   - scheme: slate
-     primary: green
-     accent: red
+    # Palette toggle for light mode
+    - scheme: default
+      primary: green
+      accent: light green
+      toggle:
+        icon: material/brightness-7
+        name: Switch to dark mode
+
+    # Palette toggle for dark mode
+    - scheme: slate
+      primary: green
+      accent: light green
+      toggle:
+        icon: material/brightness-4
+        name: Switch to light mode
 
   # Feature configurations for navigation and ToC behavior
   features:
@@ -182,6 +194,7 @@ theme:
     - navigation.tabs.sticky
     - navigation.indexes
     - toc.follow
+    - search.suggest
 
   # Additional links (social) to display in the header
   extra:
-- 
GitLab