Skip to content

Commit

Permalink
custom primary color
Browse files Browse the repository at this point in the history
  • Loading branch information
mellypop committed Dec 21, 2024
1 parent 1a42e33 commit 15e378e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:root {
--md-primary-fg-color: #e83283;
--md-primary-fg-color--light: #e83283;
--md-primary-fg-color--dark: #e83283;
}
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ theme:

# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
primary: pink
primary: custom
scheme: default


Expand All @@ -25,7 +25,7 @@ theme:

# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
primary: pink
primary: custom
scheme: slate
toggle:
icon: material/brightness-4
Expand Down

0 comments on commit 15e378e

Please sign in to comment.