Skip to content

Commit 6e412de

Browse files
authored
docs: change primary color from blue to indigo (#444)
* fix: change primary color from blue to indigo Align with the cpp-linter organization hub site branding. Indigo (#4051b5) better matches the cpp-linter logo and identity. * chore: remove redundant header background-color rule Now that the palette primary color is indigo, the manual CSS override for .md-header and mobile nav drawer is no longer needed.
1 parent 39f903b commit 6e412de

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

docs/stylesheets/extra.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ th {
22
background-color: var(--md-default-fg-color--lightest);
33
}
44

5-
.md-header,
6-
.md-nav--primary .md-nav__title[for="__drawer"] {
7-
background-color: #4051b5;
8-
}
9-
105
@keyframes heart {
116

127
0%,

mkdocs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ theme:
3434
palette:
3535
# Palette toggle for automatic mode
3636
- media: "(prefers-color-scheme)"
37-
primary: blue
37+
primary: indigo
3838
accent: cyan
3939
toggle:
4040
icon: material/brightness-auto
@@ -43,7 +43,7 @@ theme:
4343
# Palette toggle for light mode
4444
- media: "(prefers-color-scheme: light)"
4545
scheme: default
46-
primary: blue
46+
primary: indigo
4747
accent: cyan
4848
toggle:
4949
icon: material/lightbulb-outline
@@ -52,7 +52,7 @@ theme:
5252
# Palette toggle for dark mode
5353
- media: "(prefers-color-scheme: dark)"
5454
scheme: slate
55-
primary: blue
55+
primary: indigo
5656
accent: cyan
5757
toggle:
5858
icon: material/lightbulb

0 commit comments

Comments
 (0)