Loading...
Loading...
Review UI changes against Swiss International Style design system. Checks colors, typography, borders, shadows, spacing, and anti-patterns. Use before committing any frontend UI changes.
npx skill4agent add srbhr/resume-matcher ui-reviewUse to verify frontend changes comply with Swiss International Style before committing.
# Check for forbidden rounded corners
rg 'rounded-(sm|md|lg|xl|2xl|3xl|full)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n
# Check for gradient usage (forbidden)
rg '(bg-gradient|from-|via-|to-)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n
# Check for soft shadows (should be hard only)
rg 'shadow-(sm|md|lg|xl|2xl|inner)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n
# Check for blur effects (forbidden)
rg '(blur-|backdrop-blur)' apps/frontend/ --glob '*.{tsx,jsx,css}' --no-heading -n
# Check for off-palette colors
rg 'bg-(red|green|blue|yellow|purple|pink|indigo|teal|cyan|emerald|violet|fuchsia|rose|sky|lime|amber|stone|zinc|neutral|slate)-[0-9]' apps/frontend/ --glob '*.tsx' --no-heading -n
# Verify hard shadows are used
rg 'shadow-\[' apps/frontend/ --glob '*.tsx' --no-heading -n#F0F0E8#000000#1D4ED8#15803D#DC2626#F97316font-seriffont-sansfont-mono text-sm uppercase tracking-widerrounded-noneborder-2 border-blackbordershadow-[Xpx_Xpx_0px_0px_#000000]rounded-nonew-3 h-3| Name | Hex | Tailwind |
|---|---|---|
| Canvas | | |
| Ink | | |
| White | | |
| Hyper Blue | | |
| Signal Green | | |
| Alert Orange | | |
| Alert Red | | |
| Steel Grey | | |
// Correct button
<button className="rounded-none border-2 border-black px-4 py-2 shadow-[2px_2px_0px_0px_#000000] hover:translate-y-[1px] hover:translate-x-[1px] hover:shadow-none transition-all">
// Correct card
<div className="bg-white border-2 border-black shadow-[4px_4px_0px_0px_#000000] p-6">
// Correct label
<label className="font-mono text-sm uppercase tracking-wider">
// Correct status indicator
<div className="w-3 h-3 bg-green-700" />| Anti-Pattern | Why |
|---|---|
| Swiss style: sharp corners only |
| No gradients allowed |
| Must use hard |
| No blur effects |
| Flat, opaque elements only |
| Pastel colors | Swiss palette is bold |
| Minimal animation only |
<span className="font-mono text-xs uppercase">[ STATUS: READY ]</span>docs/agent/design/style-guide.mddocs/agent/design/design-system.md