variables.css to maintain a consistent design system across all components.
Color Variables
Primary Colors
These are the foundational colors used throughout the application:global.css:56:
Zinc Scale
The zinc color scale provides various shades of gray for secondary UI elements:global.css:481:
Error Colors
For validation and error states:Spacing Variables
The spacing system uses a consistent 4px-based scale:global.css:27:
Layout Constraints
Max Width
Defines the maximum content width for the entire site:global.css:28:
Outline Width
Responsive outline width for the.outlined text effect:
global.css:9-17:
Best Practices
- Always use variables instead of hardcoded values for consistency
- Use spacing variables to maintain rhythm in your layouts
- Leverage calc() with spacing variables for custom spacing needs
- Stick to the color palette defined in the variables for brand consistency