Skip to content

feat(www,tools): zero theme hardcodes + www theme-token gate - #518

Merged
SisyphusZheng merged 1 commit into
mainfrom
dev
Jul 26, 2026
Merged

feat(www,tools): zero theme hardcodes + www theme-token gate#518
SisyphusZheng merged 1 commit into
mainfrom
dev

Conversation

@SisyphusZheng

Copy link
Copy Markdown
Member

Scans all of www for theme hardcodes and eliminates them in favor of open-props tokens and the vite.config.ts alias layer: vinyl hex colors and display/font-size literals moved to named tokens (--vinyl-, --font-size-micro/tiny/lede/overline/article-title/display-), hardcoded font-family replaced with var(--font-mono), dead .btn-primary/.btn-secondary/.btn-text CSS deleted (zero usage sites), the last raw pre in architecture.tsx migrated to open-code-block (gains Prism highlighting + Copy). Adds tools/check-www-theme-tokens.ts (+tests) enforcing hex/font-family/font-size literals stay out of www/app, wired as www:check-theme-tokens into deno.json and AutoFlow GATES (dev/push/ci/release, triggered on www/app, vite.config, token source). Verification: gate green, full suite 946/946, autoflow+gate tests 60/60, deno task build green incl. artifact truth, home page pixel-identical, architecture panel renders through the real component.

…s, dead button CSS removed, raw pre to open-code-block, www theme-token gate wired into AutoFlow
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying openelement with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1056bbc
Status: ✅  Deploy successful!
Preview URL: https://577af32e.lessjs.pages.dev
Branch Preview URL: https://dev.lessjs.pages.dev

View logs

@github-actions

Copy link
Copy Markdown
Contributor

APIError: Insufficient Balance

opencode session  |  github run

@SisyphusZheng
SisyphusZheng merged commit 8ad5218 into main Jul 26, 2026
8 of 10 checks passed
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.

1 participant