Skip to content

Commit

Permalink
Update docs theme (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosejimenez authored Dec 10, 2024
1 parent 1cfecd6 commit 0061207
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[data-md-color-scheme="default"] {
--md-default-bg-color: #fff7ec;
--md-primary-fg-color: #000000;
--md-primary-fg-color: #B8271C;
--md-typeset-a-color: #0099ff;
--md-code-bg-color: #e7e7e7;
}

[data-md-color-scheme="slate"] {
--md-primary-fg-color: #000000;
--md-primary-fg-color: #B8271C;
--md-default-fg-color: #fff7ec;
--md-default-bg-color: #111111;
}
Expand Down
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ theme:
icon: material/brightness-auto
name: Switch to light mode
- scheme: default
primary: black
# primary: black # override in custom.css
accent: deep orange
media: "(prefers-color-scheme: light)"
toggle:
icon: material/weather-night
name: Switch to dark mode
- scheme: slate
primary: black
# primary: black # override in custom.css
accent: deep orange
media: "(prefers-color-scheme: dark)"
toggle:
Expand Down

0 comments on commit 0061207

Please sign in to comment.