Skip to content

Commit

Permalink
Add automatic light/dark mode support for docs (#1061)
Browse files Browse the repository at this point in the history
  • Loading branch information
dukecat0 authored Oct 5, 2023
1 parent 9f6ede6 commit f69b2a1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@ site_description: execute binaries from Python packages in isolated environments

theme:
name: "material"
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode

- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode

repo_name: pypa/pipx
repo_url: https://github.com/pypa/pipx
edit_uri: edit/main/docs/
Expand Down

0 comments on commit f69b2a1

Please sign in to comment.