Loading...
Explore the Apex design system with interactive color palettes, spacing scales, typography specimens, and live theme customization. All design tokens use CSS custom properties for easy customization.
Semantic and palette colors
--color-primary50+ color tokensFrom 0 to 24rem
--spacing-434 spacing valuesFrom xs (12px) to 9xl (128px)
--font-size-base13 font sizesFrom none to 2xl
--shadow-md8 shadow levelsA color system with semantic colors and full palettes. Click any color to copy its CSS variable.
--color-primary--color-secondary--color-success--color-danger--color-warning--color-info--color-light--color-darkSample Text
The quick brown fox jumps over the lazy dog.
A complete typography system with font sizes, weights, line heights, and letter spacing. Preview changes live and copy CSS variables.
text-xs0.75rem(12px)Extra small text, captionstext-sm0.875rem(14px)Small text, secondary contenttext-base1rem(16px)Body text defaulttext-lg1.125rem(18px)Large body texttext-xl1.25rem(20px)Small headingstext-2xl1.5rem(24px)H6 equivalenttext-3xl1.875rem(30px)H5 equivalenttext-4xl2.25rem(36px)H4 equivalenttext-5xl3rem(48px)H3 equivalenttext-6xl3.75rem(60px)H2 equivalenttext-7xl4.5rem(72px)H1 equivalenttext-8xl6rem(96px)Display texttext-9xl8rem(128px)Hero textThe quick brown fox
--font-family-sansThe quick brown fox
--font-family-serifconst hello = world
--font-family-mono34 spacing values from 0 to 24rem. Use for margins, padding, gaps, and more. View in list, stack, or comparison modes.
| Token | Value | Pixels | Preview | Action |
|---|---|---|---|---|
0 | 0 | 0px | ||
px | 1px | 1px | ||
0.5 | 0.125rem | 2px | ||
1 | 0.25rem | 4px | ||
1.5 | 0.375rem | 6px | ||
2 | 0.5rem | 8px | ||
2.5 | 0.625rem | 10px | ||
3 | 0.75rem | 12px | ||
3.5 | 0.875rem | 14px | ||
4 | 1rem | 16px | ||
5 | 1.25rem | 20px | ||
6 | 1.5rem | 24px | ||
7 | 1.75rem | 28px | ||
8 | 2rem | 32px | ||
9 | 2.25rem | 36px | ||
10 | 2.5rem | 40px | ||
11 | 2.75rem | 44px | ||
12 | 3rem | 48px | ||
14 | 3.5rem | 56px | ||
16 | 4rem | 64px | ||
20 | 5rem | 80px | ||
24 | 6rem | 96px | ||
28 | 7rem | 112px | ||
32 | 8rem | 128px | ||
36 | 9rem | 144px | ||
40 | 10rem | 160px | ||
44 | 11rem | 176px | ||
48 | 12rem | 192px | ||
52 | 13rem | 208px | ||
56 | 14rem | 224px | ||
60 | 15rem | 240px | ||
64 | 16rem | 256px | ||
72 | 18rem | 288px | ||
80 | 20rem | 320px | ||
96 | 24rem | 384px |
m-4margin: 1rem
p-2padding: 0.5rem
gap-6gap: 1.5rem
Border radius and shadow scales for consistent elevation and rounding. Includes individual corner utilities.
rounded-noneNo radius
rounded-smSmall radius
rounded-baseBase radius
rounded-mdMedium radius
rounded-lgLarge radius
rounded-xlExtra large
rounded-2xl2X large
rounded-3xl3X large
rounded-fullPill/Full
rounded-t-lgTop corners
rounded-b-lgBottom corners
rounded-l-lgLeft corners
rounded-r-lgRight corners
rounded-tl-lgTop left
rounded-tr-lgTop right
rounded-bl-lgBottom left
rounded-br-lgBottom right
8 levels of box shadows from none to 2xl. Use shadows to create depth and elevation in your designs.
No shadow
Small shadow
Default shadow
Medium shadow
Large shadow
Extra large
Customize colors, border radius, and shadows in real-time. Copy the generated CSS to use in your project.
This card demonstrates the shadow and border radius settings.
:root {
/* Colors */
--color-primary: #3b82f6;
--color-secondary: #64748b;
--color-success: #22c55e;
--color-danger: #ef4444;
--color-warning: #f59e0b;
--color-info: #0ea5e9;
/* Border Radius */
--border-radius-sm: 0.125rem;
--border-radius-base: 0.25rem;
--border-radius-md: 0.375rem;
--border-radius-lg: 0.5rem;
--border-radius-xl: 0.75rem;
/* Shadows */
--shadow-color: 0 0 0;
--shadow-sm: 0 1px 2px 0 rgba(var(--shadow-color), 0.05);
--shadow-base: 0 1px 3px 0 rgba(var(--shadow-color), 0.1), 0 1px 2px 0 rgba(var(--shadow-color), 0.06);
--shadow-md: 0 4px 6px -1px rgba(var(--shadow-color), 0.1), 0 2px 4px -1px rgba(var(--shadow-color), 0.06);
}All Apex design tokens are available as CSS custom properties. Override them to customize your theme.
/* Colors */
--color-primary: #3b82f6;
--color-secondary: #64748b;
--color-success: #22c55e;
--color-danger: #ef4444;
--color-warning: #f59e0b;
--color-info: #0ea5e9;
/* Spacing */
--spacing-1: 0.25rem;
--spacing-2: 0.5rem;
--spacing-4: 1rem;
--spacing-8: 2rem;
/* Typography */
--font-size-base: 1rem;
--font-weight-normal: 400;
--line-height-normal: 1.5;
/* Border Radius */
--border-radius-sm: 0.125rem;
--border-radius-md: 0.375rem;
--border-radius-lg: 0.5rem;
/* Shadows */
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);| Category | Prefix | Example | CSS Property |
|---|---|---|---|
| Colors | text- / bg- / border- | text-primary | color: var(--color-primary) |
| Spacing | m- / p- / gap- | p-4 | padding: 1rem |
| Typography | text- / font- / leading- | text-lg | font-size: 1.125rem |
| Borders | border / rounded- | rounded-lg | border-radius: 0.5rem |
| Shadows | shadow- | shadow-md | box-shadow: ... |
| Sizing | w- / h- / max-w- | w-full | width: 100% |
| Display | block / flex / grid | flex | display: flex |