Skip to content

Commit

Permalink
Merge pull request #1125 from rajtilakjee/add-dark-theme
Browse files Browse the repository at this point in the history
Add dark theme
  • Loading branch information
mrdbourke authored Jan 6, 2025
2 parents 4795ae2 + 81408fc commit f683ef8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,19 @@ theme:
- navigation.instant
- navigation.top
palette:
primary: black
# Palette toggle for light mode
- scheme: black
primary: black
toggle:
icon: material/brightness-7
name: Switch to dark mode

# Palette toggle for dark mode
- scheme: slate
primary: black
toggle:
icon: material/brightness-4
name: Switch to light mode

markdown_extensions:
- meta
Expand Down

0 comments on commit f683ef8

Please sign in to comment.