Skip to content

Commit

Permalink
Fix theme switcher (#2077)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Gray <[email protected]>
  • Loading branch information
jonaharagon authored and dngray committed Mar 8, 2023
1 parent 65db9d3 commit 45bfe22
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions config/mkdocs.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@ theme:
accent: deep purple
toggle:
icon: material/brightness-auto
name: "Switch to light mode"
name: "Switch to dark mode"
- media: "(prefers-color-scheme: dark)"
scheme: slate
accent: amber
toggle:
icon: material/brightness-2
name: "Switch to system theme"
name: "Switch to light mode"
- media: "(prefers-color-scheme: light)"
scheme: default
accent: deep purple
toggle:
icon: material/brightness-5
name: "Switch to dark mode"
name: "Switch to system theme"

plugins:
social:
Expand Down
6 changes: 3 additions & 3 deletions config/mkdocs.fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@ theme:
accent: deep purple
toggle:
icon: material/brightness-auto
name: "Basculer en mode clair"
name: "Basculer en mode sombre"
- media: "(prefers-color-scheme: dark)"
scheme: slate
accent: amber
toggle:
icon: material/brightness-2
name: "Basculer vers le thème du système"
name: "Basculer en mode clair"
- media: "(prefers-color-scheme: light)"
scheme: default
accent: deep purple
toggle:
icon: material/brightness-5
name: "Basculer en mode sombre"
name: "Basculer vers le thème du système"

plugins:
social:
Expand Down
6 changes: 3 additions & 3 deletions config/mkdocs.he.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@ theme:
accent: deep purple
toggle:
icon: material/brightness-auto
name: "עבור למצב בהיר"
name: "עבור למצב כהה"
- media: "(prefers-color-scheme: dark)"
scheme: slate
accent: amber
toggle:
icon: material/brightness-2
name: "עבור לערכת הנושא של המערכת"
name: "עבור למצב בהיר"
- media: "(prefers-color-scheme: light)"
scheme: default
accent: deep purple
toggle:
icon: material/brightness-5
name: "עבור למצב כהה"
name: "עבור לערכת הנושא של המערכת"

plugins:
social:
Expand Down
6 changes: 3 additions & 3 deletions config/mkdocs.nl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@ theme:
accent: deep purple
toggle:
icon: material/brightness-auto
name: "Verander naar licht thema"
name: "Verander naar donker thema"
- media: "(prefers-color-scheme: dark)"
scheme: slate
accent: amber
toggle:
icon: material/brightness-2
name: "Verander naar systeem thema"
name: "Verander naar licht thema"
- media: "(prefers-color-scheme: light)"
scheme: default
accent: deep purple
toggle:
icon: material/brightness-5
name: "Verander naar donker thema"
name: "Verander naar systeem thema"

plugins:
social:
Expand Down

0 comments on commit 45bfe22

Please sign in to comment.