Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dark mode #544

Merged
merged 1 commit into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions config/others/cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@ theme:
- search.highlight
- search.share
- content.code.copy
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: blue
toggle:
icon: material/brightness-4
name: Switch to light mode

extra:
build_dir: build
Expand Down
12 changes: 12 additions & 0 deletions config/others/landing_page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@ theme:
features:
- search.suggest
- search.highlight
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: blue
toggle:
icon: material/brightness-4
name: Switch to light mode


extra:
Expand Down
12 changes: 12 additions & 0 deletions config/others/linux-tutorial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@ theme:
- search.highlight
- search.share
- content.code.copy
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: blue
toggle:
icon: material/brightness-4
name: Switch to light mode

extra:
build_dir: build
12 changes: 12 additions & 0 deletions config/templates/hpc.template
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,18 @@ theme:
- search.highlight
- search.share
- content.code.copy
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: blue
toggle:
icon: material/brightness-4
name: Switch to light mode

extra:
OS: {{ os }}
Expand Down