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
bg-blue-100bg-blue-200bg-blue-300bg-blue-400bg-bluebg-blue-600bg-blue-700bg-blue-800bg-blue-900Purple
bg-purple-100bg-purple-200bg-purple-300bg-purple-400bg-purplebg-purple-600bg-purple-700bg-purple-800bg-purple-900Indigo — Brand & Action Accents
bg-indigo-50bg-indigo-100bg-indigo-200bg-indigo-300bg-indigo-400bg-indigobg-indigo-600bg-indigo-700bg-indigo-800bg-indigo-900The Indigo scale starts at weight 50 — an extra step for the lightest background tones. This family represents the brand's primary action accents.
Teal
bg-teal-100bg-teal-200bg-teal-300bg-teal-400bg-tealbg-teal-600bg-teal-700bg-teal-800bg-teal-900Green
bg-green-100bg-green-200bg-green-300bg-green-400bg-greenbg-green-600bg-green-700bg-green-800bg-green-900Yellow
bg-yellow-100bg-yellow-200bg-yellow-300bg-yellow-400bg-yellowbg-yellow-600bg-yellow-700bg-yellow-800bg-yellow-900Orange
bg-orange-100bg-orange-200bg-orange-300bg-orange-400bg-orangebg-orange-600bg-orange-700bg-orange-800bg-orange-900Red
bg-red-100bg-red-200bg-red-300bg-red-400bg-redbg-red-600bg-red-700bg-red-800bg-red-900Pink
bg-pink-100bg-pink-200bg-pink-300bg-pink-400bg-pinkbg-pink-600bg-pink-700bg-pink-800bg-pink-900Slate / Gray
bg-slate-100bg-slate-200bg-slate-300bg-slate-400bg-slatebg-slate-600bg-slate-700bg-slate-800bg-slate-900Semantic Tokens
Semantic tokens reference function, not a specific hex value. Instead of
writing bg-blue-600 directly in component code, use bg-primary — this
allows theme changes across the whole palette without rewriting components.
blue-600red-500green-500yellow-500teal-600Neutral & Base Tokens
These tokens sit outside the hue scales but form the foundation of the system's background and text values.
bg-whitebg-lightbg-mutedbg-dark