try a rocky theme?
All checks were successful
mkdocs build / build (push) Successful in 46s

This commit is contained in:
Neil Hanlon 2024-02-14 19:15:46 -05:00
parent da7d53b971
commit aa8786b016
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
4 changed files with 32 additions and 8 deletions

View File

@ -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
View 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;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 KiB

View File

@ -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