prefix: `$color-primary: #1a73e8`. For a scale, use a map: `$primary: (50: #eff6ff, 100: #dbeafe, ..., 950: #172554)`. Access with `map.get($primary, 500)`. SCSS maps let you loop over shades programmatically to generate utility classes."}},{"@type":"Question","name":"How do I add palette colors to Tailwind config?","acceptedAnswer":{"@type":"Answer","text":"Add an object under `theme.extend.colors` in `tailwind.config.js`. The key is your color name, the value is either a single hex string (flat color) or an object with numeric shade keys. After saving, Tailwind generates all utility classes (`bg-brand-*`, `text-brand-*`, etc.) automatically for the next build."}},{"@type":"Question","name":"What is a JSON color token format?","acceptedAnswer":{"@type":"Answer","text":"A common JSON color token format is the W3C Design Tokens Community Group spec: `{ 'color-primary': { '$value': '#1a73e8', '$type': 'color' } }`. Tools like Style Dictionary parse this JSON and output it to any target format — CSS variables, SCSS, JavaScript, iOS, Android. This makes JSON the single source of truth for a cross-platform design system."}}]}