Loading...
Loading...
Use when setting up a design system — color, typography, and spacing scales as CSS variables, the shadcn/ui theme, and dark mode. Covers semantic tokens, Tailwind wiring, and consistent theming across components.
npx skill4agent add param087/saas-ui-skills design-tokens-theming--primary--muted--destructive--blue-500/* globals.css */
:root {
--background: 0 0% 100%;
--foreground: 240 10% 3.9%;
--primary: 240 5.9% 10%;
--primary-foreground: 0 0% 98%;
--muted: 240 4.8% 95.9%;
--muted-foreground: 240 3.8% 46.1%;
--destructive: 0 84.2% 60.2%;
--border: 240 5.9% 90%;
--radius: 0.5rem;
}
.dark {
--background: 240 10% 3.9%;
--foreground: 0 0% 98%;
--primary: 0 0% 98%;
--primary-foreground: 240 5.9% 10%;
--muted: 240 3.7% 15.9%;
--muted-foreground: 240 5% 64.9%;
--border: 240 3.7% 15.9%;
}hsl(...)hsl(var(--primary) / 0.5)// tailwind.config.ts
export default {
darkMode: "class",
theme: {
extend: {
colors: {
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
primary: { DEFAULT: "hsl(var(--primary))", foreground: "hsl(var(--primary-foreground))" },
muted: { DEFAULT: "hsl(var(--muted))", foreground: "hsl(var(--muted-foreground))" },
border: "hsl(var(--border))",
},
borderRadius: { lg: "var(--radius)", md: "calc(var(--radius) - 2px)" },
},
},
};bg-primary text-primary-foregroundnext-themesdarkMode: "class"dark:bg-backgroundbg-white dark:bg-zinc-950p-2gap-4space-y-6p-[13px]text-smtext-3xltext-muted-foreground--radiusdark:--blue--primaryhsl()responsive-layoutaccessible-components