对照 STYLE_GUIDE.md v2.0 的检查结论执行修复。
P0(已完成,CC):app/app.css @theme 补 11 个官方 token(--text-2xs/3xs/4xs、--font-weight-medium-plus、--color-brand-deep、--color-ink-caption、--spacing-page-x/button-x/gap-icon/gap-sm/gap-md)。
P1(Codex):
约束:不改 components/ui/*(drawer.tsx duration-300 除外且需用户确认);不改 visual 结构;P2/P3 任意值不在本任务范围。
验收:pnpm typecheck 通过;pnpm build 通过;grep 复扫 §2.7 色值/button-spinner 归零。
Task: or50alp4lzikun92shvpddpi
tao.chen commented:
STYLE_GUIDE P0+P1 迁移完成(Claude 直接受命执行,Codex 因 429 弃用)
--text-2xs/3xs/4xs
--font-weight-medium-plus: 650
--color-brand-deep
--color-ink-caption
--spacing-page-x/-button-x/-gap-icon/-gap-sm/-gap-md
components/common/buttonClasses.ts
.primary-button
@keyframes spin
.button-spinner
Loader2Icon
.secondary-button
.icon-button
components/ui/sidebar.tsx:487
drawer.tsx:154
ScheduleList.tsx:58
shadow-[inset_3px_0_#247fdc]
border-border
:root --sidebar-primary: #1479e8
No dependencies set.
The note is not visible to the blocked user.
对照 STYLE_GUIDE.md v2.0 的检查结论执行修复。
P0(已完成,CC):app/app.css @theme 补 11 个官方 token(--text-2xs/3xs/4xs、--font-weight-medium-plus、--color-brand-deep、--color-ink-caption、--spacing-page-x/button-x/gap-icon/gap-sm/gap-md)。
P1(Codex):
约束:不改 components/ui/*(drawer.tsx duration-300 除外且需用户确认);不改 visual 结构;P2/P3 任意值不在本任务范围。
验收:pnpm typecheck 通过;pnpm build 通过;grep 复扫 §2.7 色值/button-spinner 归零。
Task: or50alp4lzikun92shvpddpi
tao.chen commented:
P0 — token 落地(app.css @theme)
--text-2xs/3xs/4xs(10/9/8px)、字重--font-weight-medium-plus: 650--color-brand-deep、--color-ink-caption--spacing-page-x/-button-x/-gap-icon/-gap-sm/-gap-mdP1 — 违规项清理
components/common/buttonClasses.ts(primaryGradientButtonClass / dangerSolidButtonClass,token 化);5 处重复定义(modalUi.primaryButtonClass、AppFormDialog.dialogPrimaryButtonClass、admin ×3 PRIMARY_BUTTON_CLASS)全部改为引用,导出名不变(import 路径兼容);ConfirmDialog 危险按钮迁移;ProjectMembersDrawer 的 legacy.primary-buttonCSS 类同步迁移@keyframes spin与.button-spinnerCSS,7 处 span 全部换Loader2Icon(animate-spin),lucide import 按字母序补齐 8 个文件.primary-button/.secondary-button块删除(0 引用),.icon-button边框 token 化验证
遗留(按"触碰即迁移"边界外,待决策)
components/ui/sidebar.tsx:487阴影、drawer.tsx:154duration-300(禁改 ui/*)ScheduleList.tsx:58shadow-[inset_3px_0_#247fdc]结构性左指示条,无等价 elevation tierborder-border等为死类 — 需单独决策:root --sidebar-primary: #1479e8(废弃表色值,被 ui/sidebar 依赖)