Skip to content

feat: theme.config SSOT + local verify:ui for AI-native UI quality - #1180

Draft
zuiidea wants to merge 6 commits into
masterfrom
cursor/ai-native-ui-quality-3e39
Draft

zuiidea wants to merge 6 commits into
masterfrom
cursor/ai-native-ui-quality-3e39

Conversation

@zuiidea

@zuiidea zuiidea commented Oct 17, 2026 •

Copy link
Copy Markdown
Owner

Summary

Phase-1 AI-native UI quality (leaned) per docs/specs/2026-10-17-ai-native-ui-quality-design.md:

  • Extract src/theme/theme.config.ts (optional colorPrimary) in apps/basic and apps/with-lingui; tokenBuilders consumes it (lingui keeps VITE_BRAND_PRIMARY).
  • Add local/Agent pnpm verify:ui — not wired into CI/vp check.
  • Harden frontend.instructions.md + AGENTS.md only (golden paths, YAGNI, bounded self-fix).

Lean trim (follow-up)

Removed as unnecessary:

  • .cursor/rules/ai-native-ui-quality.mdc (alwaysApply overlap)
  • docs/specs/...-plan.md
  • Edge churn on api / refactor / instructions README

Out of scope

  • No packages/ui / eslint-plugin / packages/create changes
  • No CI job for verify:ui

Test plan

  • pnpm verify:ui in both apps
  • pnpm check in both apps
  • pnpm test:unit in both apps
Open in Web Open in Cursor 

cursoragent and others added 5 commits October 17, 2026 13:56
Document theme.config SSOT, local verify:ui, golden paths, and phase-1 non-goals.

Co-authored-by: zuiidea <zuiiidea@gmail.com>
Move brand seeds into src/theme/theme.config.ts with optional colorPrimary.

Co-authored-by: zuiidea <zuiiidea@gmail.com>
Preserve VITE_BRAND_PRIMARY override while reading shared seeds from theme.config.

Co-authored-by: zuiidea <zuiiidea@gmail.com>
Local/Agent gate for literal colors, parallel UI libs, and CSS allowlist.

Co-authored-by: zuiidea <zuiiidea@gmail.com>
Register golden paths, YAGNI, and verify:ui in app instructions and Cursor rules.

Co-authored-by: zuiidea <zuiiidea@gmail.com>
@vercel

vercel Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
antd-admin Ready Ready Preview Oct 18, 2026 3:39am UTC
antd-admin-doc Ready Ready Preview Oct 18, 2026 3:39am UTC

Drop alwaysApply Cursor rule and in-tree plan doc; revert non-core
api/refactor/README instruction churn. Keep theme.config, verify:ui,
frontend instructions, and AGENTS validation.

Co-authored-by: zuiidea <zuiiidea@gmail.com>

This branch was successfully deployed

2 active deployments
Preview – antd-admin — 8cd29bd3 Deployed Oct 18, 2026 by vercel[bot]
Preview – antd-admin-doc — 8cd29bd3 Deployed Oct 18, 2026 by vercel[bot]
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