Skip to content

Commit da6ba9b

Browse files
deeenesclaude
andcommitted
Apply OmniPath brand theme to mkdocs
- Custom CSS with OmniPath colors: teal (#007B7F), green (#6EA945) - Favicon from omnipathdb.org - Material theme with light/dark toggle Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4cba244 commit da6ba9b

5 files changed

Lines changed: 64 additions & 0 deletions

File tree

docs/assets/favicon-32x32.png

1.85 KB
Loading

docs/assets/favicon.ico

14.7 KB
Binary file not shown.

docs/assets/omnipath-theme.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
:root {
2+
--md-primary-fg-color: #007B7F;
3+
--md-accent-fg-color: #6EA945;
4+
}
5+
[data-md-color-scheme="slate"] {
6+
--md-primary-fg-color: #007B7F;
7+
--md-accent-fg-color: #6EA945;
8+
}
9+
.md-header {
10+
background-color: #007B7F;
11+
}

docs/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# cachedir
2+
3+
Documentation coming soon.

mkdocs.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
site_name: cachedir
2+
site_url: https://saezlab.github.io/cachedir
3+
repo_url: https://github.com/saezlab/cachedir
4+
repo_name: saezlab/cachedir
5+
6+
theme:
7+
name: material
8+
favicon: assets/favicon.ico
9+
icon:
10+
logo: material/database
11+
palette:
12+
- media: "(prefers-color-scheme: light)"
13+
scheme: default
14+
primary: custom
15+
accent: custom
16+
toggle:
17+
icon: material/brightness-7
18+
name: Switch to dark mode
19+
- media: "(prefers-color-scheme: dark)"
20+
scheme: slate
21+
primary: custom
22+
accent: custom
23+
toggle:
24+
icon: material/brightness-4
25+
name: Switch to light mode
26+
27+
extra_css:
28+
- assets/omnipath-theme.css
29+
30+
plugins:
31+
- search
32+
- mkdocstrings:
33+
handlers:
34+
python:
35+
paths: ["."]
36+
options:
37+
show_source: false
38+
show_root_heading: true
39+
40+
nav:
41+
- Home: index.md
42+
43+
markdown_extensions:
44+
- pymdownx.highlight
45+
- pymdownx.superfences
46+
- pymdownx.tabbed:
47+
alternate_style: true
48+
- admonition
49+
- toc:
50+
permalink: true

0 commit comments

Comments
 (0)