Dark mode: restore brand pastel pair on landing hero + cards#200
Merged
Conversation
Additive dark-only refinement of the CommunityMech landing page. In dark mode the hero previously used the neutral dark tokens; restore the brand pastel pair: - .hero: darkened pastel-pair fill (#574d5a -> #485060) with a vivid full-strength pastel-pair top edge (#FBD3E3 -> #CBDDF6 via border-image). - .card: subtle 2px pastel-pair top edge (::before, so the all-sides 1px border is undisturbed). Rules are mirrored under both the OS-default (@media prefers-color-scheme:dark) and the toggle ([data-theme="dark"]) selectors. Edited the landing template and docs/index.html identically. Light theme is byte-identical; --pastel-b/page background stays dark. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Small dark-mode refinement for the generated CommunityMech landing page: bring the brand pastel pair back into the dark theme.
What changed
In dark mode the hero previously rendered with the neutral dark tokens. This restores the brand pastel pair, dark-only and additively:
.hero— darkened pastel-pair fill (#574d5a → #485060) plus a thin full-strength pastel-pair top edge (#FBD3E3 → #CBDDF6) viaborder-image(the signature)..card— subtle 2px pastel-pair top edge via a::beforebar, leaving the existing all-sides 1px border undisturbed.Rules are mirrored under both dark selectors:
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) … }(OS default):root[data-theme="dark"] …(toggle)Files changed
src/communitymech/templates/landing.htmldocs/index.htmlEdited both identically (the added CSS is outside any Jinja logic, so the template and generated output stay in sync without a full
gen-htmlrun that would touch all community pages).Verification
--pastel-b/ page background untouched — dark page stays dark.Do not merge — leader merges.
🤖 Generated with Claude Code