Dark mode: bring brand pastel pair back to landing hero + cards#152
Merged
Conversation
Additive, dark-mode-only refinement of the TraitMech landing. The dark theme had neutralized the pastel pair (#E6E6EA / #F7CDCD); this restores it in dark: - .hero: darkened pastel-pair fill (#555356 -> #5a4c4e) + a thin full-strength vivid pastel-pair top edge via border-image. - .card: subtle 2px pastel-pair top bar (::before) so panel edges carry the pair too. Mirrored under both the OS-default (prefers-color-scheme: dark) and the data-theme="dark" toggle selectors. Light theme is byte-identical (all new rules live inside dark selectors); page background stays dark (--pastel-b/--bg untouched). Template + regenerated pages/index.html. 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-only refinement of the TraitMech landing page. The dark theme had neutralized the brand pastel pair (
#E6E6EA/#F7CDCD); this restores it in dark mode, additively.What changed
.hero(dark only): darkened pastel-pair gradient fill#555356 → #5a4c4e+ a thin full-strength vivid pastel-pair top edge (border-image: linear-gradient(90deg,#E6E6EA,#F7CDCD) 1, top only — existing 1px bottom border zeroed so only the top edge shows the pair)..card(dark only): subtle 2px pastel-pair top bar via a::before(the base.cardhas an all-sides border, so a::beforebar keeps it clean rather than filling all sides with border-image).Both mirrored under the OS-default (
@media (prefers-color-scheme: dark)/:root:not([data-theme="light"])) and the:root[data-theme="dark"]toggle selectors.Files
src/traitmech/templates/index.html(source template)pages/index.html(regenerated viajust gen-pages)Verification
--pastel-b/--bgtoken values untouched.Do not merge — leader merges.
🤖 Generated with Claude Code