Repository navigation
Softer banner-derived palette for the docs site (Issue #91) - #92
Merged
Merged
Conversation
Closed
…pp#91) Sample colors from res/Banner_Web.png and apply them to both docs surfaces: - res/doxygen-material.css: remap the Doxygen 1.18+ CSS custom properties from indigo to the warm maroon/coral/salmon palette in the light scheme and on the slate neutrals in the dark scheme. - docs/overrides/main.css (new, attached via theme extra_css): override the Material --md-primary-/--md-accent-/--md-typeset- custom properties, because Material 9.x ships prebuilt palette rules for the named colors only and silently ignores custom hex values. - mkdocs.yml: set the banner-derived palette entries for the default/slate schemes and attach the override stylesheet. Verified with a strict local MkDocs build (mkdocs 1.6.1 + mkdocs-material 9.7.7, the versions pinned in the docs workflow) and a local Doxygen build using the generated HTML_EXTRA_STYLESHEET.
EndrII
enabled auto-merge (squash)
October 13, 2026 12:50
EndrII
self-requested a review
October 13, 2026 12:50
EndrII
approved these changes
Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #91
Restyles the MkDocs Material site and the Doxygen API pages with the softer warm palette derived from the project banner (res/Banner_Web.png):
Changes:
Why the extra stylesheet: Material for MkDocs 9.x only ships prebuilt palette rules for the named Material colors, so custom hex values in theme.palette are silently ignored (verified against the 9.7.7 templates/asset bundle). The overrides therefore set the CSS custom properties directly; the palette entries still drive the data-md-color-* page attributes used for scheme switching.
Verified locally with the versions pinned by the docs workflow (mkdocs 1.6.1, mkdocs-material 9.7.7, doxygen 1.18.0 in CI / 1.9.8 locally):