Add dark theme

Button added on the navigation bar for theme toggle while keeping the primary color for the theme as black
This commit is contained in:
Rajtilak Bhattacharjee committed 2024-10-25 09:57:36 +05:30
1 parent 6aa8b4c9f8
commit 81408fccdd
1 file changed
+13 -1
+13 -1
View File
@@ -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