Skip to content

Commit

Permalink
change palette
Browse files Browse the repository at this point in the history
  • Loading branch information
lnw143 committed Aug 2, 2024
1 parent 039ef35 commit f54b2a7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,10 @@

article {
width: 100%;
}

[data-md-color-scheme="slate"] {
--md-primary-fg-color: #2e303e;
--md-accent-fg-color: #00bda4;
--md-typeset-a-color: #526cfe;
}
6 changes: 3 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ theme:
primary: white
accent: red
toggle:
icon: material/weather-sunny
icon: material/toggle-switch
name: Switch to dark mode

# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: dark-blue
primary: custom
accent: white
toggle:
icon: material/weather-night
icon: material/toggle-switch-off-outline
name: Switch to light mode
favicon: 'favicon.svg'
icon:
Expand Down

0 comments on commit f54b2a7

Please sign in to comment.