support dark mode

this commit adds support for dark mode.

Signed-off-by: kranurag7 <81210977+kranurag7@users.noreply.github.com>
This commit is contained in:
kranurag7 2024-09-02 17:31:04 +05:30
parent bb37fd043c
commit 2eeca4aa30
Failed to extract signature

View File

@ -21,6 +21,15 @@ theme:
- content.code.copy - content.code.copy
icon: icon:
repo: fontawesome/brands/github repo: fontawesome/brands/github
palette:
- scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
- scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode
plugins: plugins:
- git-revision-date-localized: - git-revision-date-localized: