try a rocky theme?
This commit is contained in:
parent
da7d53b971
commit
aa8786b016
4 changed files with 32 additions and 8 deletions
|
@ -6,7 +6,7 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: Containerfile
|
||||
command: ["mkdocs", "serve","--dev-addr", "0.0.0.0:${PORT:-8000}"]
|
||||
command: ["mkdocs", "serve", "-w", "/wiki", "--dev-addr", "0.0.0.0:${PORT:-8000}"]
|
||||
volumes:
|
||||
- .:/wiki:z,rw
|
||||
ports:
|
||||
|
|
25
docs/assets/extra.css
Normal file
25
docs/assets/extra.css
Normal file
|
@ -0,0 +1,25 @@
|
|||
[data-md-color-scheme="resf"] {
|
||||
--md-accent-fg-color: #0e7391;
|
||||
--md-primary-fg-color--dark: #107fa1;
|
||||
--md-primary-fg-color--light: #FFFFFF;
|
||||
--md-primary-fg-color: #107fa1;
|
||||
--md-typeset-a-color: #107fa1;
|
||||
}
|
||||
[data-md-color-scheme="resf-dark"] {
|
||||
color-scheme: dark;
|
||||
--md-default-fg-color: #FFFFFF;
|
||||
--md-default-bg-color: rgb(30, 33, 41);
|
||||
|
||||
--md-primary-fg-color: #107fa1;
|
||||
--md-primary-bg-color: #FFFFFF;
|
||||
--md-primary-fg-color--dark: #107fa1;
|
||||
|
||||
--md-accent-fg-color: #0e7391;
|
||||
|
||||
--md-default-fg-color--light: rgba(226, 228, 233, 0.56);
|
||||
|
||||
--md-typeset-table-color: rgba(240, 241, 244, 0.12);
|
||||
|
||||
--md-typeset-color: rgba(226, 228, 233, 0.82);
|
||||
--md-typeset-a-color: #107fa1;
|
||||
}
|
BIN
docs/assets/resf-icon-w-bg.png
Normal file
BIN
docs/assets/resf-icon-w-bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 381 KiB |
13
mkdocs.yml
13
mkdocs.yml
|
@ -14,22 +14,21 @@ edit_uri: _edit/main/docs/
|
|||
# Copyright
|
||||
copyright: Copyright © 2024 Rocky Enterprise Software Foundation
|
||||
|
||||
extra_css:
|
||||
- assets/extra.css
|
||||
|
||||
# Configuration
|
||||
theme:
|
||||
name: material
|
||||
logo: assets/resf-icon.png
|
||||
logo: assets/resf-icon-w-bg.png
|
||||
palette:
|
||||
- media: "(prefers-color-scheme: light)"
|
||||
scheme: default
|
||||
primary: teal
|
||||
accent: teal
|
||||
scheme: resf
|
||||
toggle:
|
||||
icon: material/weather-night
|
||||
name: Switch to dark mode
|
||||
- media: "(prefers-color-scheme: dark)"
|
||||
scheme: slate
|
||||
primary: teal
|
||||
accent: teal
|
||||
scheme: resf-dark
|
||||
toggle:
|
||||
icon: material/weather-sunny
|
||||
name: Switch to light mode
|
||||
|
|
Loading…
Reference in a new issue