Skip to content

Commit

Permalink
🔧 Enable dark mode for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Aug 3, 2024
1 parent af84a21 commit 0b91ca4
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 0b91ca4

Please sign in to comment.