Skip to content

feat(web): vivid orange accents - #14

Merged
caio-pizzol merged 2 commits into
mainfrom
caio/vivid-orange-accents
Aug 11, 2026
Merged

feat(web): vivid orange accents#14
caio-pizzol merged 2 commits into
mainfrom
caio/vivid-orange-accents

Conversation

@caio-pizzol

Copy link
Copy Markdown
Contributor

Makes the orange feel more vivid without touching the text accent — #c2410c stays the only color used for copy and links, so no contrast regressions.

Changes

  • ::selection becomes warm orange (#fed7aa) — free brand moment on a text-heavy site
  • Global :focus-visible ring in the accent color
  • Stone canvases warmed slightly (#fafaf9 → #fbf9f6, #f5f5f4 → #f6f3f0) so the orange reads hotter by temperature contrast
  • Primary CTA on the homepage gets a soft orange glow shadow that deepens on hover
  • Active sidebar link gets a 2px accent rail (transparent border on inactive links so nothing shifts)
  • New --color-accent-vivid / --color-accent-glow tokens, documented as fill/glow-only (#ea580c is ~3.4:1 on white — fails AA for text)

Deliberately left out: flipping button hover to a brighter orange (#ea580c) — white button text on it drops below AA 4.5:1. Can revisit if we accept large-text-only contrast on CTAs.

Must stay the same: #c2410c as the accent for all text/links; note severity colors untouched.
Review: check the sidebar rail doesn't shift layout and the warmed canvases don't clash with the stone borders. Ignore the biome warning in scripts/ingest-xsd (pre-existing).
Verified: bun run typecheck → clean; bun run build → 11 pages pre-rendered; lefthook pre-commit (build/format/lint/typecheck) → all green

🤖 Generated with Claude Code

Keep #c2410c as the sole text accent (AA) and add vividness around it:
orange text selection, accent focus-visible ring, slightly warmed stone
canvases, an orange glow on the primary CTA, and an accent rail on the
active sidebar link. New --color-accent-vivid/--color-accent-glow vars
are fill/glow-only because #ea580c fails AA for text.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@caio-pizzol
caio-pizzol marked this pull request as ready for review August 11, 2026 20:53

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread apps/web/src/index.css Outdated
Unlayered :focus-visible beat Tailwind v4's layered utilities, doubling
the ring on components with their own focus styles.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@caio-pizzol
caio-pizzol merged commit 9c3457e into main Aug 11, 2026
2 checks passed
@caio-pizzol
caio-pizzol deleted the caio/vivid-orange-accents branch August 11, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants