Skip to content

Commit 4a8c3fb

Browse files
committed
feat: add custom colors to for the generated documentation
1 parent ace3f32 commit 4a8c3fb

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

docs/stylesheets/extra.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
:root {
2+
--md-primary-fg-color: #FFFF00;
3+
--md-primary-fg-color--light: #464A4D;
4+
--md-primary-fg-color--dark: #464A4D;
5+
--md-primary-bg-color: #464A4D;
6+
--md-primary-bg-color--light: #464A4D;
7+
8+
// Accent color shades
9+
--md-accent-fg-color: #000000;
10+
--md-accent-fg-color--transparent: #464A4D;
11+
--md-accent-bg-color: #464A4D;
12+
--md-accent-bg-color--light: #464A4D;
13+
}
14+
15+
16+
:root>* {
17+
--md-typeset-a-color: #656A6D;
18+
}

mkdocs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
11
site_name: My Docs
2+
extra_css:
3+
- stylesheets/extra.css
4+
theme:
5+
name: material
6+
palette:
7+
primary: custom
8+

0 commit comments

Comments
 (0)