refactor(web): extract shared design system tokens#70
Closed
code-yeongyu wants to merge 2 commits into
Closed
Conversation
Contributor
|
Thanks for the PR! Changes to LazyCodex land through oh-my-openagent — could you open this against omo-codex over there instead? PRs in this repository can't be merged. If you're working with a coding agent, prompt it like this:
|
This was referenced Jun 24, 2026
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.
Summary
This PR extracts the existing LazyCodex web design-system tokens and shared base/gradient utilities out of
app/globals.cssintoapp/styles/design-system.csswhile preserving the current rendered landing/docs experience.It also updates
packages/web/DESIGN.mdso the documented palette, implementation sources, component families, and interaction rules match the UI that is already shipping. No visible redesign or behavior change is intended.Changes
packages/web/app/styles/design-system.cssas the shared token/base/utility layer.packages/web/app/globals.cssas the import hub: Tailwind, then design system, then landing styles.packages/web/DESIGN.mdwith the existing green token values and documents the browser CSS, OG theme, landing/docs style sources, and reusable component families..omo/so reviewers can inspect the visual diff evidence, interaction proof, full gates, and review notes.Verification
Visual fidelity
.omo/ulw-loop/evidence/design-system-fidelity/C001-browser-fidelity.json.omo/ulw-loop/evidence/design-system-fidelity/screenshots/similarityScore: 100,diffPixels: 0, no console errors, no horizontal overflow.Manual browser interaction
.omo/ulw-loop/evidence/design-system-fidelity/C002-docs-interactions.json/docsat390x844and1280x800: mobile Menu open/close, search termulw, Meta+K focus,$ulw-loopnav/hash target in viewport, no console errors, no horizontal overflow.Automated gates
.omo/ulw-loop/evidence/design-system-fidelity/C003-automated-gates.txtpnpm run lintpnpm run type-checkpnpm run buildpnpm exec playwright test e2e/landing.spec.ts e2e/docs.spec.ts e2e/responsive.spec.tsFull frontend gates
.omo/evidence/design-system-fidelity-full-gates.txtpnpm exec playwright test e2e/seo.spec.ts: 8 passed.pnpm run test:lighthouse: real Chrome/CDP mobile and desktop bothperf=100 a11y=100 bp=100 seo=100.pnpm run test:e2e: 52 passed.Review artifacts
.omo/evidence/design-system-fidelity-manual-qa-matrix.md.omo/evidence/design-system-fidelity-clone-fidelity.md.omo/evidence/design-system-fidelity-code-review.md.omo/evidence/design-system-fidelity-code-review-resolution.md.omo/evidence/design-system-fidelity-gate-review.md.omo/evidence/design-system-fidelity-notepad.mdNotes
test-results,playwright-report, and Lighthouse HTML/JSON report directories were cleaned before commit.Summary by cubic
Centralized web design system tokens and shared base/gradient utilities into a dedicated stylesheet to simplify maintenance. No visual or behavior changes to landing/docs.
packages/web/app/styles/design-system.cssfor tokens/base/utilities.packages/web/app/globals.cssto import Tailwind, then the design system, then landing styles.packages/web/DESIGN.mdwith the shipped palette and documented style sources.Written for commit 864ca04. Summary will update on new commits.