Skip to content
Snippets Groups Projects
Commit e145bc0a authored by “KatrinBistreck”'s avatar “KatrinBistreck”
Browse files

adds light mode

parent c776f213
Branches
Tags v1.5.2
1 merge request!53Feature/light mode
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
[data-md-color-scheme=slate] .md-tabs { [data-md-color-scheme=slate] .md-tabs {
background-color: var(--primary-color); background-color: var(--primary-color);
} }
[data-md-color-scheme=default] .md-tabs {
background-color: var(--primary-color);
}
/* Hero Section Styling */ /* Hero Section Styling */
.hero-section { .hero-section {
......
...@@ -169,9 +169,21 @@ theme: ...@@ -169,9 +169,21 @@ theme:
custom_dir: overrides # Directory for custom files (like footer). custom_dir: overrides # Directory for custom files (like footer).
# Theme colors configuration # Theme colors configuration
palette: palette:
- scheme: slate # Palette toggle for light mode
primary: green - scheme: default
accent: red 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 # Feature configurations for navigation and ToC behavior
features: features:
...@@ -182,6 +194,7 @@ theme: ...@@ -182,6 +194,7 @@ theme:
- navigation.tabs.sticky - navigation.tabs.sticky
- navigation.indexes - navigation.indexes
- toc.follow - toc.follow
- search.suggest
# Additional links (social) to display in the header # Additional links (social) to display in the header
extra: extra:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment