- Static brands: Five pre-built brands (Stride, Coral, Forest, Runswap, Acme) with complete token definitions
- Dynamic brands: Runtime white-label system for creating custom brands with automatic fallbacks
Architecture
The brand system is built on three layers:1. Core Tokens
Foundation color palettes that define the base colors for each brand:2. Semantic Tokens
Purpose-driven tokens mapped to core colors:3. Component Tokens
Component-specific customizations:Static vs Dynamic Brands
Static Brands
Pre-configured brands defined in CSS with complete token sets:Dynamic Brands
Runtime white-label brands with automatic fallbacks:Brand Initialization
Client-Side Setup
Use theBrandInitializer component to set up brands on mount:
- Restores saved brand from localStorage
- Restores all registered dynamic brands
- Applies the active brand’s CSS classes
Manual Initialization
React Hook
Manage brands reactively with theuseBrand hook:
Brand Comparison
Key Features
Automatic Dark Mode
All brands support dark mode automatically:LocalStorage Persistence
Brand selection persists across sessions:Smooth Transitions
Optional brand-switch transitions:Type Safety
Full TypeScript support:Next Steps
- Static Brands - Explore the 5 pre-built brands
- Dynamic Brands - Create custom white-label brands
- Design Tokens - Complete token reference