Skip to content

Commit

Permalink
add dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
sellth authored Mar 8, 2024
1 parent 32470e9 commit f61b94c
Showing 1 changed file with 14 additions and 6 deletions.
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

0 comments on commit f61b94c

Please sign in to comment.