Skip to content

Commit

Permalink
Fix: Docs site theme and Roadmap style (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman authored Dec 17, 2024
2 parents 3441c31 + 04bf6c4 commit 493017e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 21 deletions.
11 changes: 4 additions & 7 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,10 @@ timeline
'logLevel': 'debug',
'theme': 'default' ,
'themeVariables': {
'cScale0': '#ffa500', 'cScaleLabel0': '#000000',
'cScale1': '#ffff00', 'cScaleLabel1': '#000000',
'cScale2': '#ffff00', 'cScaleLabel2': '#000000',
'cScale3': '#008000', 'cScaleLabel3': '#ffffff',
'cScale4': '#0000ff', 'cScaleLabel4': '#ffffff',
'cScale5': '#4b0082', 'cScaleLabel5': '#ffffff',
'cScale6': '#000000', 'cScaleLabel6': '#ffffff'
'cScale0': 'orange',
'cScaleLabel0': 'black',
'cScale1': 'yellow',
'cScaleLabel1': 'black'
}
}
}%%
Expand Down
5 changes: 5 additions & 0 deletions docs/styles/theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[data-md-color-scheme="default"] {
--md-primary-fg-color: #045b86;
--md-accent-fg-color: #044869;
--md-mermaid-label-fg-color: #000000;
}
16 changes: 2 additions & 14 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,7 @@ theme:
- navigation.tabs
- toc.integrate
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: blue
accent: green
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: blue
accent: green
toggle:
icon: material/toggle-switch
name: Switch to light mode
scheme: default

extra:
analytics:
Expand All @@ -38,6 +25,7 @@ plugins:

extra_css:
- https://use.fontawesome.com/releases/v6.1.2/css/all.css
- styles/theme.css

markdown_extensions:
- admonition
Expand Down

0 comments on commit 493017e

Please sign in to comment.