Generated utility examples
text-brand-80 bg-brand-10 border-neutral-30 text-success-80 bg-surface text-text-muted
Generate palette scales and semantic colour roles from a single config source.
Use palette colours for full ramps and semantic colours for role utilities. This keeps component code expressive and avoids hardcoded hex values in page templates.
{
"colours": {
"brand": "#DB2777",
"accent": "#F59E0B",
"neutral": "#57534E",
"success": "#16A34A",
"warning": "#D97706",
"error": "#DC2626"
},
"semanticColours": {
"surface": "#12100E",
"surface-2": "#1C1917",
"text": "#F8F5F0",
"text-muted": "#A8A29E"
}
}text-brand-80 bg-brand-10 border-neutral-30 text-success-80 bg-surface text-text-muted
Next step
Continue to Spacing to keep rhythm and layout scale consistent.