Design Tokens
Complete reference of Lenzora design system tokens
Color Tokens
--color-sapphire-50Lightest sapphire shade
#f0f8ffExample:
--color-sapphire-100Very light sapphire
#e0f0feExample:
--color-sapphire-200Light sapphire
#bae1fdExample:
--color-sapphire-300Medium light sapphire
#7cc8fcExample:
--color-sapphire-400Medium sapphire
#36a9faExample:
--color-sapphire-500Primary sapphire (brand color)
#0066CCExample:
--color-sapphire-600Dark sapphire
#0056b3Example:
--color-sapphire-700Darker sapphire
#004499Example:
--color-sapphire-800Very dark sapphire
#003380Example:
--color-sapphire-900Darkest sapphire
#002266Example:
Spacing Tokens
--space-xsExtra small spacing
0.25rem (4px)Example:
--space-smSmall spacing
0.5rem (8px)Example:
--space-mdMedium spacing
1rem (16px)Example:
--space-lgLarge spacing
1.5rem (24px)Example:
--space-xlExtra large spacing
2rem (32px)Example:
--space-2xl2X large spacing
3rem (48px)Example:
--space-3xl3X large spacing
4rem (64px)Example:
--space-4xl4X large spacing
6rem (96px)Example:
Typography Tokens
--font-space-groteskDisplay font family
Space Grotesk, system-ui, sans-serifExample:
The quick brown fox jumps over the lazy dog
--font-interBody font family
Inter, system-ui, sans-serifExample:
The quick brown fox jumps over the lazy dog
--font-geist-monoCode font family
Geist Mono, monospaceExample:
The quick brown fox jumps over the lazy dog
--text-xsExtra small text
0.75rem (12px)Example:
The quick brown fox jumps over the lazy dog
--text-smSmall text
0.875rem (14px)Example:
The quick brown fox jumps over the lazy dog
--text-baseBase text size
1rem (16px)Example:
The quick brown fox jumps over the lazy dog
--text-lgLarge text
1.125rem (18px)Example:
The quick brown fox jumps over the lazy dog
--text-xlExtra large text
1.25rem (20px)Example:
The quick brown fox jumps over the lazy dog
--text-2xl2X large text
1.5rem (24px)Example:
The quick brown fox jumps over the lazy dog
--text-3xl3X large text
1.875rem (30px)Example:
The quick brown fox jumps over the lazy dog
--text-4xl4X large text
2.25rem (36px)Example:
The quick brown fox jumps over the lazy dog
Icon Tokens
--icon-size-xsExtra small icons
0.75rem (12px)Example:
--icon-size-smSmall icons
1rem (16px)Example:
--icon-size-mdMedium icons
1.25rem (20px)Example:
--icon-size-lgLarge icons
1.5rem (24px)Example:
--icon-size-xlExtra large icons
2rem (32px)Example:
--icon-size-2xl2X large icons
2.5rem (40px)Example:
Animation Tokens
--duration-fastFast animation duration
150msExample:
--duration-baseBase animation duration
300msExample:
--duration-slowSlow animation duration
500msExample:
--easing-inEase-in timing function
cubic-bezier(0.4, 0, 1, 1)Example:
--easing-outEase-out timing function
cubic-bezier(0, 0, 0.2, 1)Example:
--easing-in-outEase-in-out timing function
cubic-bezier(0.4, 0, 0.2, 1)Example:
Usage Examples
CSS Usage
.my-component {
color: var(--color-sapphire-500);
padding: var(--space-md);
font-family: var(--font-inter);
transition: all var(--duration-base) var(--easing-out);
}
.my-icon {
width: var(--icon-size-lg);
height: var(--icon-size-lg);
}Tailwind CSS Classes
<div className="text-sapphire-500 p-md font-inter transition-all duration-base ease-out">
<Icon size="lg" className="w-lg h-lg">
<LensBasic />
</Icon>
</div>