Skip to content
Snippets Groups Projects
Commit 5a8a5929 authored by Mitalee Parikh's avatar Mitalee Parikh
Browse files

dark mode toggle2

parent 6bc6e9b5
No related branches found
No related tags found
No related merge requests found
Pipeline #224924 passed
......@@ -11,18 +11,18 @@ theme:
name: material
palette:
# Light mode
- media: "(prefers-color-scheme: light)"
- media: "light mode"
scheme: default
primary: indigo
accent: indigo
primary: white
accent: light blue
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
# Dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: blue
accent: blue
primary: white
accent: light blue
toggle:
icon: material/toggle-switch
name: Switch to light mode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment