Skip to content

Commit

Permalink
Use Robolectric's green, add auto dark mode, change logo color
Browse files Browse the repository at this point in the history
  • Loading branch information
MGaetan89 committed Apr 15, 2024
1 parent 0a4b18f commit 09c5fac
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
Binary file modified docs/images/robolectric-stacked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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: #7FC06B;
--md-primary-fg-color--light: #7FC06B;
--md-primary-fg-color--dark: #7FC06B;
}
12 changes: 10 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,22 @@ theme:
icon:
repo: fontawesome/brands/github
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: "Switch to light mode"
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: green
primary: custom
toggle:
icon: material/weather-night
name: "Switch to dark mode"
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: green
primary: custom
toggle:
icon: material/weather-sunny
name: "Switch to light mode"
Expand All @@ -32,6 +37,9 @@ theme:
- navigation.sections
- navigation.tabs

extra_css:
- stylesheets/extra.css

markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
Expand Down

0 comments on commit 09c5fac

Please sign in to comment.