Applies and reviews SurfSense's canonical light and dark color palette, semantic design tokens, typography, charts, borders, shadows, and theme mappings. Use when creating or changing frontend colors, themes, component styling, data visualizations, or design tokens.
68
83%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Use PALETTE.css as the canonical palette contract. Preserve its token names and values unless the user explicitly requests a palette change.
background, foreground, primary,
muted, accent, destructive, border, and their foreground pairs.
Do not use raw hex values in components.primary-foreground on primary, card-foreground on card,
and so on.chart-1 through chart-5 for data series. Do not repurpose chart
colors as component state colors.ring for focus indicators and border or input for boundaries.
Never remove a visible keyboard focus indicator.muted-foreground only for secondary text. Do not use it for small or
essential text unless its contrast passes WCAG.destructive only for destructive actions, errors, or dangerous
states. Do not use chart colors to communicate errors.:root and .dark; never add a light-only semantic token.components.json;
this repository contains more than one frontend.bg-background text-foreground, bg-card text-card-foreground, and border-border.@theme inline block as Tailwind v4 configuration.
Before applying it, verify the target app uses Tailwind v4 and preserve any
required non-color namespaces already present in its global stylesheet.The canonical dark muted-foreground (#7a706a) does not reach 4.5:1 for
normal text on dark background (4.11:1), card (3.90:1), or muted
(3.64:1). Preserve the palette, but do not use this token for essential or
small normal-weight dark-mode text. Report the conflict and request a palette
decision when no existing foreground token fits.
../shadcn/SKILL.md.../vercel-react-best-practices/SKILL.md.../make-interfaces-feel-better/SKILL.md after implementation.For implementation tasks, report:
For audits, cite each issue by token pair and usage location, then recommend a semantic-token correction before proposing a new color.
be4a191
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.