Skip to content

Commit af1c278

Browse files
Copilotsofthack007
andauthored
Inherit dark-mode defaults from Material's built-in slate scheme (#319)
Documentation styling has been updated to use the Material "slate" dark color scheme instead of the previous "wled" theme. Color palette configurations and CSS styling overrides have been realigned for consistency, ensuring a cohesive visual experience across all documentation pages. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
1 parent 0e6b3fa commit af1c278

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/assets/stylesheets/extra.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
/* Custom color scheme */
2+
/* Custom color scheme — extends Material's built-in "slate" dark scheme */
33

4-
[data-md-color-scheme="wled"] {
4+
[data-md-color-scheme="slate"] {
55
--md-hue: 232; /* [0, 360] */
66
--md-primary-fg-color: #FFA000; /*WLED Orange*/
77
/*--md-primary-fg-color: #7289DA; /*Blurple*/
@@ -28,7 +28,7 @@
2828
--md-typeset-blockquote-color: hsla(var(--md-hue), 75%, 90%, 0.6);
2929
}
3030

31-
[data-md-color-scheme="wled"] .md-typeset table a {
31+
[data-md-color-scheme="slate"] .md-typeset table a {
3232
color: var(--md-typeset-a-color);
3333
}
3434

mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ theme:
2222
- content.action.edit
2323
# - toc.integrate
2424
palette:
25-
- scheme: wled
26-
primary: cyan #mostly overriden in extra.css
25+
- scheme: slate
26+
primary: cyan #mostly overridden in extra.css
2727
accent: orange
2828
toggle:
2929
icon: material/weather-sunny

0 commit comments

Comments
 (0)