Adjust color scheme for fluffy.guide (#2144)

Use the same scheme as for the nimbus.guide.
Two differences however:
- Set the dark scheme as default, considering the new nimbus.team
website also has dark as default.
- Remove the orange/amber for the light scheme, considering the
light version of nimbus.team has no more orange.
This commit is contained in:
Kim De Mey 2024-04-22 15:33:51 +02:00 committed by GitHub
parent 4078cb14c5
commit 1d90b924ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 4 deletions

View File

@ -0,0 +1,6 @@
[data-md-color-scheme="slate"] {
--md-hue: 180;
--md-default-bg-color: hsla(var(--md-hue), 0%, 0%, 1);
--md-footer-bg-color: hsla(var(--md-hue), 0%, 0%, 1);
--md-footer-bg-color--dark: hsla(var(--md-hue), 0%, 0%, 1);
}

View File

@ -14,9 +14,22 @@ theme:
- navigation.top
- content.tabs.link
palette:
scheme: default
primary: orange
accent: amber
- scheme: slate
primary: black
accent: light blue
toggle:
icon: material/brightness-4
name: Switch to light mode
- scheme: default
primary: white
accent: light blue
toggle:
icon: material/brightness-7
name: Switch to dark mode
extra_css:
- stylesheets/extra.css
# Support urls previously used by mdbook
use_directory_urls: false
@ -26,7 +39,6 @@ docs_dir: docs
markdown_extensions:
- admonition
- meta
- pymdownx.details
- pymdownx.highlight:
anchor_linenums: true