Skip to content

Commit

Permalink
🔧 Enable dark mode for docs (#904)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo authored Aug 3, 2024
1 parent d68693c commit a87af3c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,18 @@ theme:
name: material
custom_dir: docs/overrides
palette:
- scheme: default
primary: black
accent: teal
toggle:
icon: material/lightbulb
name: Switch to dark mode
- scheme: slate
primary: black
accent: teal
toggle:
icon: material/lightbulb-outline
name: Switch to light mode
icon:
repo: fontawesome/brands/github-alt
logo: img/icon.svg
Expand Down

0 comments on commit a87af3c

Please sign in to comment.