Repository navigation
PinZheng(frontend): tokenize hero CTA effect colors - #262
Merged
Merged
Conversation
Summary: - Move hero shine and twinkle colors into named brand tokens. - Add a visual-standards regression for absolute CTA color channels. Rationale: - Keep the brand palette centralized while preserving the rendered effect. - Prevent one-off color literals from returning in future CTA changes. Tests: - pnpm test:release - coderabbit review --agent -t uncommitted -c AGENTS.md (0 issues)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
imgbot Bot
pushed a commit
that referenced
this pull request
Jul 20, 2026
Summary: - Centralize the hero CTA shine and twinkle colors in brand tokens. - Guard the effect against future absolute color-channel drift. Rationale: - Clear the final promotion review issue without visual changes. Tests: - pnpm test:release - CodeRabbit CLI review: 0 issues - GitHub pr-gate and four fresh-smoke shards
Summary
--brand-shine-*tokensWhy
The final
devtomainpromotion review found one-off color literals in the new GitHub CTA effect. Centralizing those values keeps the brand palette maintainable and clears the promotion blocker without changing the rendered design.Validation
pnpm test:releasegit diff --check