You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
controlStyles.test.tsx and SettingsContent.styles.test.ts encode the design
system from DESIGN.md / frontend/CLAUDE.md. master violates them in three
ways.
1. Fifteen hard-coded radii
The rule allows only var(--radius), a pill (a length ≥ 900), or a circle
(50%) — derived values like calc(var(--radius) - 4px) are violations too:
Note rounded-[14px] is exactly equivalent to rounded-lg, since every
Tailwind radius step maps to var(--radius) in tailwind.legacy.config.js —
it just bypasses the token.
2. Two native selects missing the raised material
AgentModelProviderManager.tsx — the Grok API backend select and the custom
provider protocol select both omit raised-control, so they render as bare
platform selects next to correctly-styled controls.
3. Plugin catalog page has no bottom inset
.settings-page .product-plugins-page uses padding: 0, while .settings-page .settings-content uses padding: 0 0 1.5rem. The catalog
content therefore sits flush against the bottom edge, unlike every other
settings page.
(The .product-plugin-list background is a separate matter — two tests
disagree about it, see #26.)
Reproduce
cd frontend && pnpm exec vitest run src/components/ui/controlStyles.test.tsx src/pages/settings/SettingsContent.styles.test.ts
Activity