From d4c6afc4c443e5b04d8021767c774d446c1566e0 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 8 Jun 2026 19:53:19 +0300 Subject: [PATCH 1/2] 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. --- mkdocs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 6069e734..12b57060 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -34,7 +34,7 @@ theme: palette: # Palette toggle for automatic mode - media: "(prefers-color-scheme)" - primary: blue + primary: indigo accent: cyan toggle: icon: material/brightness-auto @@ -43,7 +43,7 @@ theme: # Palette toggle for light mode - media: "(prefers-color-scheme: light)" scheme: default - primary: blue + primary: indigo accent: cyan toggle: icon: material/lightbulb-outline @@ -52,7 +52,7 @@ theme: # Palette toggle for dark mode - media: "(prefers-color-scheme: dark)" scheme: slate - primary: blue + primary: indigo accent: cyan toggle: icon: material/lightbulb From 8514a5baacf475013bddef51eafb8548c145cf80 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Tue, 9 Jun 2026 07:19:09 +0300 Subject: [PATCH 2/2] 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. --- docs/stylesheets/extra.css | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 65f1ada6..d5603422 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -2,11 +2,6 @@ th { background-color: var(--md-default-fg-color--lightest); } -.md-header, -.md-nav--primary .md-nav__title[for="__drawer"] { - background-color: #4051b5; -} - @keyframes heart { 0%,