You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ui): add semantic design token system for theming
Implements a comprehensive theming system using semantic design tokens that makes Plutonium components easy to customize while maintaining design consistency.
Key changes:
- Replace numeric spacing (p-1, p-2, p-4) with semantic tokens (p-xs, p-sm, p-md, p-lg) across all 50+ UI components
- Add semantic color tokens (surface, page, elevated, interactive) for consistent light/dark mode theming
- Update all CSS integrations (SlimSelect, EasyMDE, Flatpickr, IntlTelInput) to use semantic tokens
- Reduce border radius values for more minimal, modern aesthetic
- Add comprehensive theming documentation with setup guide and customization examples
- Standardize gray palette for dark mode (avoiding brown/warm tones)
Benefits:
- Cross-property consistency: same size name (md) works across all utilities (p-md = gap-md = my-md)
- Automatic dark mode: semantic colors adapt without manual dark: variants
- Easy customization: override tokens in Tailwind config to theme entire application
- Backward compatible: Plutonium remains self-contained by default, asset integration optional
0 commit comments