style(website): adopt ReactBench editorial design tokens and type families - #570
style(website): adopt ReactBench editorial design tokens and type families#570aidenybai wants to merge 5 commits into
Conversation
…ilies Co-Authored-By: Aiden Bai <aiden.bai05@gmail.com>
Original prompt from Aiden Bai
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
commit: |
Performance report — this PR vs base branch🔴 3 regressions · 🟢 3 improvements across 77 scenarios.
A metric counts as changed only past per-metric thresholds sized to measured shared-runner variance on identical code: interaction latency ±10% and 16ms (measured in 8ms steps), frame times ±30%, long-task/LoAF sums ±10% and 500ms, memory ±25% and 512KB / 60 nodes, process CPU ±20% and 10 points, GPU-process CPU ±20% and 3 points, animation ticks ±20% and 3/s, draws/tick ±20% and 0.05, hardware GPU ±20% and 10 points, compositor production ±20% and 3fps / 5 duty-cycle points, composited layers ±20% and 2 layers / 0.5 viewport areas, rendering stages ±20% and 1ms; any ms metric with a ≥100ms baseline needs ±30%. All 73 standard scenarios (full numbers)
All 5 animation scheduling controls (full numbers)
Commit f07a5dd · full reports in the |
|
Ran a visual test pass on the production build (
Minor note: computed body line-height is 26px (the shell's Tested by Devin |
Co-Authored-By: Aiden Bai <aiden.bai05@gmail.com>
Co-Authored-By: Aiden Bai <aiden.bai05@gmail.com>
Co-Authored-By: Aiden Bai <aiden.bai05@gmail.com>
Co-Authored-By: Aiden Bai <aiden.bai05@gmail.com>
Summary
Ports react-bench-website's current design system into
apps/websiteso the two sites share one look:--color-canvas: #fffover a new--color-page: #fcfcfcwash (dark:#111111/#0f0f0f), with ReactBench's line/hairline values.PageShellouter frame now usesbg-page.#050505→#3c3c3c) and ReactBench's warm dark ramp (#e4e0ddink, cool muted steps). Adds--color-react(React brand blue,#149eca/#6495bd).--font-page-title= EK Baumer Headline (new), headings/serif = Tiempos Text variable (replaces Test Signifier), body stays EK Baumer Uniwidth (italics added), mono stays Geist Mono. Pageh1s (page.tsx,page-header.tsx) move tofont-page-title.--radius: 4px).secondary/muted/accentnow resolve through--color-codeinstead of a second gray; light-mode selection becomes the quietrgba(0,0,0,.12)wash, dark keeps the inverted treatment.Light / dark after the change:
Link to Devin session: https://app.devin.ai/sessions/0a2ef98d54644cf0a84b87b3df799493
Requested by: @aidenybai
Note
Low Risk
Visual and CSS-token changes only; no auth, data, or application logic.
Overview
Aligns
apps/websitewith the ReactBench editorial system: white card on a--color-pagewash, tighter ink ramps,--color-react, and smaller radii (--radius: 4px).globals.cssrefreshes light/dark surfaces and typography—Tiempos Text and EK Baumer Headline replace Test Signifier; Uniwidth gains italics; body/display scale bumps; shadcn secondary/muted/accent route through--color-code; light selection is a subtle gray wash.PageShellusesbg-page; home andPageHeadertitles usefont-page-titlewith wider tracking.Reviewed by Cursor Bugbot for commit f07a5dd. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Adopts the ReactBench editorial design in
apps/websitefor a unified look. Updates tokens, typography, and component styles for consistent light/dark UI; page titles now use EK Baumer Headline with wider tracking.--color-page;PageShellusesbg-page; tightened line/hairline; set--radius: 4px.--color-react; remappedshadcnsecondary/muted/accentto--color-code/--color-code-ink; quieter light selection.page.tsxandpage-header.tsxtofont-page-titlewithtracking-wide; added new font files and removed old Signifier files.Written for commit f07a5dd. Summary will update on new commits.