Foundations
Core design principles and tokens that form the foundation of the Virtual Labs Design System.
Stable
Colors
Color palette, semantic colors, and usage guidelines
Stable
Typography
Font families, scales, and text styling principles
Stable
Spacing
Spacing scale and layout principles
Stable
Layout Grid
Grid systems and responsive breakpoints
Stable
Border Radius
Corner radius tokens and usage patterns
Beta
Elevation
Shadow system and depth principles
Design Tokens
What are Design Tokens?
Design tokens are the visual design atoms of the design system — specifically, they are named entities that store visual design attributes.
We use design tokens to maintain consistency across all Virtual Labs products and ensure that design decisions are centralized and easily maintainable.
// Example: Color tokens
--vl-color-primary: #2563eb;
--vl-color-secondary: #64748b;
--vl-color-success: #16a34a;
--vl-color-warning: #d97706;
--vl-color-error: #dc2626;