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 #118

Merged
merged 1 commit into from
Mar 8, 2024
Merged
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
20 changes: 14 additions & 6 deletions bih-cluster/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,24 @@ repo_url: https://github.com/bihealth/bih-cluster/
edit_uri: 'edit/main/bih-cluster/docs/'

# Copyright
copyright: 2016-2022, BIH HPC IT
copyright: 2016-2024, BIH HPC IT

# Theming, Configuration
theme:
name: material
# Custom overrides
custom_dir: overrides
palette:
# Palette toggle for light mode
- scheme: default
toggle:
icon: material/lightbulb
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
toggle:
icon: material/lightbulb-outline
name: Switch to light mode
strict: true
extra_css:
- css/extra.css
Expand All @@ -24,11 +37,6 @@ plugins:
- search
- git-revision-date-localized

# Custom overrides.
theme:
name: material
custom_dir: overrides

# Extensions
markdown_extensions:
- attr_list
Expand Down
Loading