Color System
This document describes our framework's color token system. All colors are
drawn from a single shared palette and applied via bg-* className values.
Each color scale spans 9 weights from 100 to 900, and semantic tokens
(primary, danger, success, etc.) represent the product's behavior-driven
colors on top of that palette.
Usage
There are two naming conventions in play:
- Weight 500 — referenced directly by color name:
bg-red,bg-blue,bg-purple - Every other weight — color name + weight:
bg-blue-100,bg-teal-700 - Semantic tokens — named by function:
bg-primary,bg-danger,bg-success
Core Palette
Each color family forms a full 9-step scale. 100 is the lightest, 900 is the darkest. Weight 500 represents the base (brand) tone and gets the shorthand className.
Blue
blue-100blue-200blue-300blue-400blue-500blue-600blue-700blue-800blue-900Purple
purple-100purple-200purple-300purple-400purple-500purple-600purple-700purple-800purple-900Indigo — Brand & Action Accents
indigo-100indigo-200indigo-300indigo-400indigo-500indigo-600indigo-700indigo-800indigo-900background tones. This family represents the brand's primary action accents.
Teal
teal-100teal-200teal-300teal-400teal-500teal-600teal-700teal-800teal-900Green
green-100green-200green-300green-400green-500green-600green-700green-800green-900Yellow
yellow-100yellow-200yellow-300yellow-400yellow-500yellow-600yellow-700yellow-800yellow-900Orange
orange-100orange-200orange-300orange-400orange-500orange-600orange-700orange-800orange-900Red
red-100red-200red-300red-400red-500red-600red-700red-800red-900Pink
pink-100pink-200pink-300pink-400pink-500pink-600pink-700pink-800pink-900Slate / Gray
slate-100slate-200slate-300slate-400slate-500slate-600slate-700slate-800slate-900Semantic tokens
Semantic tokens refer to a function, not a specific hex value. In component code, use bg-primary instead of writing bg-blue-600 directly — this allows for theme changes across the entire palette without having to rewrite components. Below are the --primary --danger --success --info --warning default values