diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 09c1d86e5..21e9ea064 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -1,7 +1,6 @@ :root { --md-primary-fg-color: #1a7dc9; --home-color: #0071c7; - --nav-item-color: #4d4d4d; } .md-clipboard { @@ -255,3 +254,6 @@ background: rgb(228, 255, 218); } +[data-md-color-scheme=slate] #release-update { + color: #756A54; +} \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index cf171d1c3..ddc92dd11 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -127,6 +127,19 @@ theme: - navigation.tracking - navigation.tabs.sticky - navigation.top + palette: + # Palette toggle for light mode + - scheme: default + toggle: + icon: material/weather-night + name: Switch to dark mode + + # Palette toggle for dark mode + - scheme: slate + toggle: + icon: material/weather-sunny + name: Switch to light mode + markdown_extensions: - markdown_include.include: @@ -165,7 +178,6 @@ plugins: css_dir: css javascript_dir: js - swagger-ui-tag: - background: White docExpansion: none filter: "" syntaxHighlightTheme: monokai diff --git a/overrides/main.html b/overrides/main.html index f57d96775..335adba71 100644 --- a/overrides/main.html +++ b/overrides/main.html @@ -2,6 +2,6 @@ {% block announce %}