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

adds light mode

parent c776f213
Branches
No related tags found
1 merge request!53Feature/light mode
......@@ -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 {
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment