Vendor the ImpactMojo Kit as the brand source of truth - #9
Merged
Conversation
Adds css/impactmojo-kit.css — the shared ImpactMojo design-token file — and links it before style.css on the index, study, and about pages. The site's brand tokens now alias the kit's --imx-* tokens instead of hard-coding colours, so the brand lives in one place. Resolved values are unchanged (no visual change; data-validation still passes). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012msh1nNMxadJd417S8FjP2
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.
Description
Extracts the brand into a shared ImpactMojo Kit and vendors it here, so the deep-blue + teal brand values live in one file (
css/impactmojo-kit.css) instead of being hard-coded. Same file is vendored into Development Discourses.Type of Change
Changes Made
css/impactmojo-kit.css— canonical--imx-*brand tokens (deep blue + teal, light and dark) plus a small.imx-*component library.style.csson index / study / about.--accent/--brand-grad/ radii / shadows to the kit's--imx-*tokens. Resolved values are unchanged.Testing
npm run validatepassesVerified with a headless browser:
--accentresolves to#235789(light) /#6cb2ff(dark) from the kit, 204 cards render, no console errors, no visual change.Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_012msh1nNMxadJd417S8FjP2
Generated by Claude Code