Tokens
The design tokens in the pack’s tokens/ folder. Components use them through Tailwind utilities (bg-brand, text-body), never raw values, so start with the color roles and the utility next to each.
Colors
The color roles components use. Each one works as bg-, text- and border- (and the other color utilities), and switches value between light and dark on its own.
Surfaces
--color-bg--gb-neutral-0oklch(100% 0 0)--gb-neutral-950oklch(10% 0.003 0)--color-surface--gb-neutral-50oklch(98% 0.001 0)--gb-neutral-900oklch(16% 0.003 0)--color-surface-raised--gb-neutral-0oklch(100% 0 0)--gb-neutral-800oklch(24% 0.003 0)--color-surface-sunken--gb-neutral-100oklch(96% 0.001 0)--gb-neutral-950oklch(10% 0.003 0)
Text
--color-text--gb-neutral-900oklch(16% 0.003 0)--gb-neutral-50oklch(98% 0.001 0)--color-text-secondary--gb-neutral-600oklch(43% 0.003 0)--gb-neutral-400oklch(65% 0.003 0)--color-text-disabled--gb-neutral-400oklch(65% 0.003 0)--gb-neutral-600oklch(43% 0.003 0)--color-on-brand--gb-neutral-0oklch(100% 0 0)--gb-neutral-950oklch(10% 0.003 0)
Borders
--color-border--gb-neutral-200oklch(91% 0.002 0)--gb-neutral-700oklch(34% 0.003 0)--color-border-strongcontrol boundaries: ≥3:1 on the page (WCAG 1.4.11)
--gb-neutral-400oklch(65% 0.003 0)--gb-dark-border-strongoklch(56% 0.003 0)
Brand
Primary actions / primary emphasis
--color-brand--gb-brand-600oklch(50% 0.17 255)--gb-brand-400oklch(68% 0.14 255)--color-brand-hover--gb-brand-700oklch(42% 0.15 255)--gb-brand-300oklch(77% 0.11 255)--color-brand-active--gb-brand-800oklch(34% 0.12 255)--gb-brand-200oklch(86% 0.08 255)--color-brand-subtle--gb-brand-50oklch(97% 0.02 255)--gb-brand-900oklch(27% 0.09 255)
Interactive
Secondary / neutral interactive surfaces — distinct from brand: buttons/controls that are not the primary action
--color-interactive--gb-neutral-100oklch(96% 0.001 0)--gb-neutral-700oklch(34% 0.003 0)--color-interactive-hover--gb-neutral-200oklch(91% 0.002 0)--gb-neutral-600oklch(43% 0.003 0)--color-interactive-active--gb-neutral-300oklch(83% 0.002 0)--gb-neutral-500oklch(52% 0.003 0)
Focus
--color-focus-ring--gb-brand-500oklch(58% 0.17 255)--gb-brand-300oklch(77% 0.11 255)
Status
--color-success-bg--gb-success-subtleoklch(95% 0.05 149)--gb-dark-success-bgcolor-mix(in oklch, var(--gb-success-strong) 30%, var(--gb-neutral-900))--color-success-text--gb-success-strongoklch(32% 0.1 149)--gb-dark-success-textoklch(85% 0.1 149)--color-success-border--gb-success-baseoklch(55% 0.15 149)--gb-success-baseoklch(55% 0.15 149)--color-warning-bg--gb-warning-subtleoklch(96% 0.07 89)--gb-dark-warning-bgcolor-mix(in oklch, var(--gb-warning-strong) 30%, var(--gb-neutral-900))--color-warning-text--gb-warning-strongoklch(38% 0.11 55)--gb-dark-warning-textoklch(88% 0.1 80)--color-warning-border--gb-warning-baseoklch(62% 0.17 70)--gb-warning-baseoklch(62% 0.17 70)--color-danger-bg--gb-danger-subtleoklch(95% 0.04 25)--gb-dark-danger-bgcolor-mix(in oklch, var(--gb-danger-strong) 30%, var(--gb-neutral-900))--color-danger-text--gb-danger-strongoklch(33% 0.14 25)--gb-dark-danger-textoklch(85% 0.1 25)--color-danger-border--gb-danger-baseoklch(55% 0.21 25)--gb-danger-baseoklch(55% 0.21 25)--color-danger-solid--gb-danger-baseoklch(55% 0.21 25)--gb-dark-danger-solidoklch(62% 0.21 25)--color-danger-solid-hover--gb-danger-strongoklch(33% 0.14 25)--gb-dark-danger-solid-hoveroklch(68% 0.2 25)--color-info-bg--gb-info-subtleoklch(95% 0.03 230)--gb-dark-info-bgcolor-mix(in oklch, var(--gb-info-strong) 30%, var(--gb-neutral-900))--color-info-text--gb-info-strongoklch(33% 0.1 230)--gb-dark-info-textoklch(85% 0.08 230)--color-info-border--gb-info-baseoklch(55% 0.14 230)--gb-info-baseoklch(55% 0.14 230)
Scrim
The dimmed page behind a dialog, sheet or drawer. Never under text.
--color-scrimneutral-950 at 50%; a literal: color-mix would get an opaque build fallback
oklch(10% 0.003 0 / 0.5)--gb-dark-scrimoklch(10% 0.003 0 / 0.65)
Chart series
Non-text: at least 3:1 on surface and surface-raised (WCAG 1.4.11). A chart never relies on color alone: the legend and tooltip name each series.
--color-chart-1--gb-brand-600oklch(50% 0.17 255)--gb-brand-500oklch(58% 0.17 255)--color-chart-2--gb-success-baseoklch(55% 0.15 149)--gb-success-baseoklch(55% 0.15 149)--color-chart-3--gb-warning-baseoklch(62% 0.17 70)--gb-warning-baseoklch(62% 0.17 70)--color-chart-4--gb-info-baseoklch(55% 0.14 230)--gb-info-baseoklch(55% 0.14 230)--color-chart-5--gb-danger-baseoklch(55% 0.21 25)--gb-danger-baseoklch(55% 0.21 25)
Code syntax
Text: at least 4.5:1 on surface-sunken, comments included. Plain code uses --color-text.
--color-syntax-keywordoklch(45% 0.19 300)--gb-dark-syntax-keywordoklch(78% 0.12 300)--color-syntax-stringoklch(45% 0.13 149)--gb-dark-syntax-stringoklch(80% 0.13 149)--color-syntax-numberoklch(45% 0.12 230)--gb-dark-syntax-numberoklch(78% 0.11 230)--color-syntax-functionoklch(45% 0.17 255)--gb-dark-syntax-functionoklch(76% 0.12 255)--color-syntax-constantoklch(47% 0.13 55)--gb-dark-syntax-constantoklch(80% 0.12 65)--color-syntax-commentoklch(48% 0.003 0)--gb-dark-syntax-commentoklch(68% 0.003 0)--color-syntax-punctuationoklch(40% 0.003 0)--gb-dark-syntax-punctuationoklch(75% 0.003 0)
Typography
Named type roles. Each utility sets the size and line height, and the heading and label roles also set the weight. Values are the mobile base.
--type-displayShip the brief, not the guesswork
--type-h1Ship the brief, not the guesswork
--type-h2Ship the brief, not the guesswork
--type-h3Ship the brief, not the guesswork
--type-h4Ship the brief, not the guesswork
--type-bodyShip the brief, not the guesswork
--type-body-smShip the brief, not the guesswork
--type-labelShip the brief, not the guesswork
--type-metadataShip the brief, not the guesswork
--type-dataShip the brief, not the guesswork
Families
--font-sansShip the brief, not the guesswork
--font-monoShip the brief, not the guesswork
Spacing
One 4px scale for padding, margin and gap. It's Tailwind's own default scale, so the step number is the utility: --space-4 is p-4, gap-4, m-4.
--space-0--space-1--space-2--space-3--space-4--space-5--space-6--space-8--space-10--space-12--space-16--space-20--space-24--space-32
Control and icon sizes
--size-control-sm--size-control-md--size-control-lg--size-icon-sm--size-icon-md--size-icon-lg--size-touch-target-min
Radii, borders and shadows
Kept restrained: most surfaces have no shadow, and the shadow steps are for popovers and dialogs. Shadows follow the viewer's theme (they're darker in dark mode), so these previews show the current one.
Corner radius
--radius-none--radius-sm--radius-md--radius-lg--radius-xl--radius-full
Border width and focus ring
--border-width-thin--border-width-thick--focus-ring-width--focus-ring-offset
Shadows
--shadow-none--shadow-sm--shadow-md--shadow-lg
Motion
Durations and easings. With prefers-reduced-motion on, every duration collapses to near zero in the token file, so anything using them stops travelling.
Runs once per press. With reduced motion on, the dots jump instead of travelling.
Durations
--duration-fast--duration-base--duration-slow
Easings (over the slow duration)
--ease-standard--ease-in--ease-out--ease-spring
Primitives
The raw scales the color roles are built from. They're private to colors.css: components never use them directly, so reach for a color role instead.
neutral
050100200300400500600700800900950
brand
50100200300400500600700800900
success
subtlebasestrong
warning
subtlebasestrong
danger
subtlebasestrong
info
subtlebasestrong
Reference
Every custom property in the pack's tokens/ folder, by file, including the dark-value aliases, the Tailwind wiring and the shadcn bridge.
Show all 329 custom properties
colors.css
| Token | Light | Dark |
|---|---|---|
| --gb-neutral-0 | oklch(100% 0 0) | — |
| --gb-neutral-50 | oklch(98% 0.001 0) | — |
| --gb-neutral-100 | oklch(96% 0.001 0) | — |
| --gb-neutral-200 | oklch(91% 0.002 0) | — |
| --gb-neutral-300 | oklch(83% 0.002 0) | — |
| --gb-neutral-400 | oklch(65% 0.003 0) | — |
| --gb-neutral-500 | oklch(52% 0.003 0) | — |
| --gb-neutral-600 | oklch(43% 0.003 0) | — |
| --gb-neutral-700 | oklch(34% 0.003 0) | — |
| --gb-neutral-800 | oklch(24% 0.003 0) | — |
| --gb-neutral-900 | oklch(16% 0.003 0) | — |
| --gb-neutral-950 | oklch(10% 0.003 0) | — |
| --gb-brand-50 | oklch(97% 0.02 255) | — |
| --gb-brand-100 | oklch(93% 0.045 255) | — |
| --gb-brand-200 | oklch(86% 0.08 255) | — |
| --gb-brand-300 | oklch(77% 0.11 255) | — |
| --gb-brand-400 | oklch(68% 0.14 255) | — |
| --gb-brand-500 | oklch(58% 0.17 255) | — |
| --gb-brand-600 | oklch(50% 0.17 255) | — |
| --gb-brand-700 | oklch(42% 0.15 255) | — |
| --gb-brand-800 | oklch(34% 0.12 255) | — |
| --gb-brand-900 | oklch(27% 0.09 255) | — |
| --gb-success-subtle | oklch(95% 0.05 149) | — |
| --gb-success-base | oklch(55% 0.15 149) | — |
| --gb-success-strong | oklch(32% 0.1 149) | — |
| --gb-warning-subtle | oklch(96% 0.07 89) | — |
| --gb-warning-base | oklch(62% 0.17 70) | — |
| --gb-warning-strong | oklch(38% 0.11 55) | — |
| --gb-danger-subtle | oklch(95% 0.04 25) | — |
| --gb-danger-base | oklch(55% 0.21 25) | — |
| --gb-danger-strong | oklch(33% 0.14 25) | — |
| --gb-info-subtle | oklch(95% 0.03 230) | — |
| --gb-info-base | oklch(55% 0.14 230) | — |
| --gb-info-strong | oklch(33% 0.1 230) | — |
| --gb-dark-bg | var(--gb-neutral-950) | — |
| --gb-dark-surface | var(--gb-neutral-900) | — |
| --gb-dark-surface-raised | var(--gb-neutral-800) | — |
| --gb-dark-surface-sunken | var(--gb-neutral-950) | — |
| --gb-dark-text | var(--gb-neutral-50) | — |
| --gb-dark-text-secondary | var(--gb-neutral-400) | — |
| --gb-dark-text-disabled | var(--gb-neutral-600) | — |
| --gb-dark-on-brand | var(--gb-neutral-950) | — |
| --gb-dark-border | var(--gb-neutral-700) | — |
| --gb-dark-border-strong | oklch(56% 0.003 0) | — |
| --gb-dark-brand | var(--gb-brand-400) | — |
| --gb-dark-brand-hover | var(--gb-brand-300) | — |
| --gb-dark-brand-active | var(--gb-brand-200) | — |
| --gb-dark-brand-subtle | var(--gb-brand-900) | — |
| --gb-dark-interactive | var(--gb-neutral-700) | — |
| --gb-dark-interactive-hover | var(--gb-neutral-600) | — |
| --gb-dark-interactive-active | var(--gb-neutral-500) | — |
| --gb-dark-focus-ring | var(--gb-brand-300) | — |
| --gb-dark-success-bg | color-mix(in oklch, var(--gb-success-strong) 30%, var(--gb-neutral-900)) | — |
| --gb-dark-success-text | oklch(85% 0.1 149) | — |
| --gb-dark-success-border | var(--gb-success-base) | — |
| --gb-dark-warning-bg | color-mix(in oklch, var(--gb-warning-strong) 30%, var(--gb-neutral-900)) | — |
| --gb-dark-warning-text | oklch(88% 0.1 80) | — |
| --gb-dark-warning-border | var(--gb-warning-base) | — |
| --gb-dark-danger-bg | color-mix(in oklch, var(--gb-danger-strong) 30%, var(--gb-neutral-900)) | — |
| --gb-dark-danger-text | oklch(85% 0.1 25) | — |
| --gb-dark-danger-border | var(--gb-danger-base) | — |
| --gb-dark-danger-solid | oklch(62% 0.21 25) | — |
| --gb-dark-danger-solid-hover | oklch(68% 0.2 25) | — |
| --gb-dark-info-bg | color-mix(in oklch, var(--gb-info-strong) 30%, var(--gb-neutral-900)) | — |
| --gb-dark-info-text | oklch(85% 0.08 230) | — |
| --gb-dark-info-border | var(--gb-info-base) | — |
| --gb-dark-scrim | oklch(10% 0.003 0 / 0.65) | — |
| --gb-dark-chart-1 | var(--gb-brand-500) | — |
| --gb-dark-syntax-keyword | oklch(78% 0.12 300) | — |
| --gb-dark-syntax-string | oklch(80% 0.13 149) | — |
| --gb-dark-syntax-number | oklch(78% 0.11 230) | — |
| --gb-dark-syntax-function | oklch(76% 0.12 255) | — |
| --gb-dark-syntax-constant | oklch(80% 0.12 65) | — |
| --gb-dark-syntax-comment | oklch(68% 0.003 0) | — |
| --gb-dark-syntax-punctuation | oklch(75% 0.003 0) | — |
| --color-bg | var(--gb-neutral-0) | var(--gb-dark-bg) |
| --color-surface | var(--gb-neutral-50) | var(--gb-dark-surface) |
| --color-surface-raised | var(--gb-neutral-0) | var(--gb-dark-surface-raised) |
| --color-surface-sunken | var(--gb-neutral-100) | var(--gb-dark-surface-sunken) |
| --color-text | var(--gb-neutral-900) | var(--gb-dark-text) |
| --color-text-secondary | var(--gb-neutral-600) | var(--gb-dark-text-secondary) |
| --color-text-disabled | var(--gb-neutral-400) | var(--gb-dark-text-disabled) |
| --color-on-brand | var(--gb-neutral-0) | var(--gb-dark-on-brand) |
| --color-border | var(--gb-neutral-200) | var(--gb-dark-border) |
| --color-border-strong | var(--gb-neutral-400) | var(--gb-dark-border-strong) |
| --color-brand | var(--gb-brand-600) | var(--gb-dark-brand) |
| --color-brand-hover | var(--gb-brand-700) | var(--gb-dark-brand-hover) |
| --color-brand-active | var(--gb-brand-800) | var(--gb-dark-brand-active) |
| --color-brand-subtle | var(--gb-brand-50) | var(--gb-dark-brand-subtle) |
| --color-interactive | var(--gb-neutral-100) | var(--gb-dark-interactive) |
| --color-interactive-hover | var(--gb-neutral-200) | var(--gb-dark-interactive-hover) |
| --color-interactive-active | var(--gb-neutral-300) | var(--gb-dark-interactive-active) |
| --color-focus-ring | var(--gb-brand-500) | var(--gb-dark-focus-ring) |
| --color-success-bg | var(--gb-success-subtle) | var(--gb-dark-success-bg) |
| --color-success-text | var(--gb-success-strong) | var(--gb-dark-success-text) |
| --color-success-border | var(--gb-success-base) | var(--gb-dark-success-border) |
| --color-warning-bg | var(--gb-warning-subtle) | var(--gb-dark-warning-bg) |
| --color-warning-text | var(--gb-warning-strong) | var(--gb-dark-warning-text) |
| --color-warning-border | var(--gb-warning-base) | var(--gb-dark-warning-border) |
| --color-danger-bg | var(--gb-danger-subtle) | var(--gb-dark-danger-bg) |
| --color-danger-text | var(--gb-danger-strong) | var(--gb-dark-danger-text) |
| --color-danger-border | var(--gb-danger-base) | var(--gb-dark-danger-border) |
| --color-danger-solid | var(--gb-danger-base) | var(--gb-dark-danger-solid) |
| --color-danger-solid-hover | var(--gb-danger-strong) | var(--gb-dark-danger-solid-hover) |
| --color-info-bg | var(--gb-info-subtle) | var(--gb-dark-info-bg) |
| --color-info-text | var(--gb-info-strong) | var(--gb-dark-info-text) |
| --color-info-border | var(--gb-info-base) | var(--gb-dark-info-border) |
| --color-scrim | oklch(10% 0.003 0 / 0.5) | var(--gb-dark-scrim) |
| --color-chart-1 | var(--gb-brand-600) | var(--gb-dark-chart-1) |
| --color-chart-2 | var(--gb-success-base) | — |
| --color-chart-3 | var(--gb-warning-base) | — |
| --color-chart-4 | var(--gb-info-base) | — |
| --color-chart-5 | var(--gb-danger-base) | — |
| --color-syntax-keyword | oklch(45% 0.19 300) | var(--gb-dark-syntax-keyword) |
| --color-syntax-string | oklch(45% 0.13 149) | var(--gb-dark-syntax-string) |
| --color-syntax-number | oklch(45% 0.12 230) | var(--gb-dark-syntax-number) |
| --color-syntax-function | oklch(45% 0.17 255) | var(--gb-dark-syntax-function) |
| --color-syntax-constant | oklch(47% 0.13 55) | var(--gb-dark-syntax-constant) |
| --color-syntax-comment | oklch(48% 0.003 0) | var(--gb-dark-syntax-comment) |
| --color-syntax-punctuation | oklch(40% 0.003 0) | var(--gb-dark-syntax-punctuation) |
motion.css
| Token | Value |
|---|---|
| --duration-fast | 100ms |
| --duration-base | 200ms |
| --duration-slow | 350ms |
| --ease-standard | cubic-bezier(0.2, 0, 0, 1) |
| --ease-in | cubic-bezier(0.3, 0, 1, 1) |
| --ease-out | cubic-bezier(0, 0, 0, 1) |
| --ease-spring | cubic-bezier(0.34, 1.56, 0.64, 1) |
radii-shadows.css
| Token | Light | Dark |
|---|---|---|
| --radius-none | 0px | — |
| --radius-sm | 0.25rem | — |
| --radius-md | 0.5rem | — |
| --radius-lg | 0.75rem | — |
| --radius-xl | 1rem | — |
| --radius-full | 9999px | — |
| --border-width-thin | 1px | — |
| --border-width-thick | 2px | — |
| --shadow-none | none | — |
| --shadow-sm | 0 1px 2px 0 oklch(0% 0 0 / 0.05) | 0 1px 2px 0 oklch(0% 0 0 / 0.3) |
| --shadow-md | 0 2px 8px 0 oklch(0% 0 0 / 0.08), 0 1px 2px 0 oklch(0% 0 0 / 0.04) | 0 2px 8px 0 oklch(0% 0 0 / 0.4), 0 1px 2px 0 oklch(0% 0 0 / 0.3) |
| --shadow-lg | 0 8px 24px 0 oklch(0% 0 0 / 0.12), 0 2px 4px 0 oklch(0% 0 0 / 0.04) | 0 8px 24px 0 oklch(0% 0 0 / 0.5), 0 2px 4px 0 oklch(0% 0 0 / 0.3) |
| --focus-ring-width | 2px | — |
| --focus-ring-offset | 2px | — |
shadcn-theme.css
| Token | Light | Dark |
|---|---|---|
| --background | oklch(100% 0 0) | oklch(10% 0.003 0) |
| --foreground | oklch(16% 0.003 0) | oklch(98% 0.001 0) |
| --card | oklch(100% 0 0) | oklch(24% 0.003 0) |
| --card-foreground | oklch(16% 0.003 0) | oklch(98% 0.001 0) |
| --popover | oklch(100% 0 0) | oklch(24% 0.003 0) |
| --popover-foreground | oklch(16% 0.003 0) | oklch(98% 0.001 0) |
| --primary | oklch(50% 0.17 255) | oklch(68% 0.14 255) |
| --primary-foreground | oklch(100% 0 0) | oklch(10% 0.003 0) |
| --secondary | oklch(96% 0.001 0) | oklch(34% 0.003 0) |
| --secondary-foreground | oklch(16% 0.003 0) | oklch(98% 0.001 0) |
| --muted | oklch(96% 0.001 0) | oklch(16% 0.003 0) |
| --muted-foreground | oklch(43% 0.003 0) | oklch(65% 0.003 0) |
| --accent | oklch(91% 0.002 0) | oklch(43% 0.003 0) |
| --accent-foreground | oklch(16% 0.003 0) | oklch(98% 0.001 0) |
| --destructive | oklch(33% 0.14 25) | oklch(85% 0.1 25) |
| --border | oklch(91% 0.002 0) | oklch(34% 0.003 0) |
| --input | oklch(65% 0.003 0) | oklch(56% 0.003 0) |
| --ring | oklch(58% 0.17 255) | oklch(77% 0.11 255) |
| --chart-1 | oklch(50% 0.17 255) | oklch(58% 0.17 255) |
| --chart-2 | oklch(55% 0.15 149) | oklch(55% 0.15 149) |
| --chart-3 | oklch(62% 0.17 70) | oklch(62% 0.17 70) |
| --chart-4 | oklch(55% 0.14 230) | oklch(55% 0.14 230) |
| --chart-5 | oklch(55% 0.21 25) | oklch(55% 0.21 25) |
| --sidebar | oklch(98% 0.001 0) | oklch(16% 0.003 0) |
| --sidebar-foreground | oklch(16% 0.003 0) | oklch(98% 0.001 0) |
| --sidebar-primary | oklch(50% 0.17 255) | oklch(68% 0.14 255) |
| --sidebar-primary-foreground | oklch(100% 0 0) | oklch(10% 0.003 0) |
| --sidebar-accent | oklch(91% 0.002 0) | oklch(43% 0.003 0) |
| --sidebar-accent-foreground | oklch(16% 0.003 0) | oklch(98% 0.001 0) |
| --sidebar-border | oklch(91% 0.002 0) | oklch(34% 0.003 0) |
| --sidebar-ring | oklch(58% 0.17 255) | oklch(77% 0.11 255) |
| --radius | 0.5rem | — |
spacing.css
| Token | Value |
|---|---|
| --space-0 | 0rem |
| --space-1 | 0.25rem |
| --space-2 | 0.5rem |
| --space-3 | 0.75rem |
| --space-4 | 1rem |
| --space-5 | 1.25rem |
| --space-6 | 1.5rem |
| --space-8 | 2rem |
| --space-10 | 2.5rem |
| --space-12 | 3rem |
| --space-16 | 4rem |
| --space-20 | 5rem |
| --space-24 | 6rem |
| --space-32 | 8rem |
| --size-control-sm | 2rem |
| --size-control-md | 2.75rem |
| --size-control-lg | 3rem |
| --size-icon-sm | 1rem |
| --size-icon-md | 1.25rem |
| --size-icon-lg | 1.5rem |
| --size-touch-target-min | 2.75rem |
tailwind-theme.css
| Token | Value |
|---|---|
| --color-bg | var(--color-bg) |
| --color-surface | var(--color-surface) |
| --color-surface-raised | var(--color-surface-raised) |
| --color-surface-sunken | var(--color-surface-sunken) |
| --color-text | var(--color-text) |
| --color-text-secondary | var(--color-text-secondary) |
| --color-text-disabled | var(--color-text-disabled) |
| --color-on-brand | var(--color-on-brand) |
| --color-border | var(--color-border) |
| --color-border-strong | var(--color-border-strong) |
| --color-brand | var(--color-brand) |
| --color-brand-hover | var(--color-brand-hover) |
| --color-brand-active | var(--color-brand-active) |
| --color-brand-subtle | var(--color-brand-subtle) |
| --color-interactive | var(--color-interactive) |
| --color-interactive-hover | var(--color-interactive-hover) |
| --color-interactive-active | var(--color-interactive-active) |
| --color-focus-ring | var(--color-focus-ring) |
| --color-success-bg | var(--color-success-bg) |
| --color-success-text | var(--color-success-text) |
| --color-success-border | var(--color-success-border) |
| --color-warning-bg | var(--color-warning-bg) |
| --color-warning-text | var(--color-warning-text) |
| --color-warning-border | var(--color-warning-border) |
| --color-danger-bg | var(--color-danger-bg) |
| --color-danger-text | var(--color-danger-text) |
| --color-danger-border | var(--color-danger-border) |
| --color-danger-solid | var(--color-danger-solid) |
| --color-danger-solid-hover | var(--color-danger-solid-hover) |
| --color-info-bg | var(--color-info-bg) |
| --color-info-text | var(--color-info-text) |
| --color-info-border | var(--color-info-border) |
| --color-scrim | var(--color-scrim) |
| --color-chart-1 | var(--color-chart-1) |
| --color-chart-2 | var(--color-chart-2) |
| --color-chart-3 | var(--color-chart-3) |
| --color-chart-4 | var(--color-chart-4) |
| --color-chart-5 | var(--color-chart-5) |
| --color-syntax-keyword | var(--color-syntax-keyword) |
| --color-syntax-string | var(--color-syntax-string) |
| --color-syntax-number | var(--color-syntax-number) |
| --color-syntax-function | var(--color-syntax-function) |
| --color-syntax-constant | var(--color-syntax-constant) |
| --color-syntax-comment | var(--color-syntax-comment) |
| --color-syntax-punctuation | var(--color-syntax-punctuation) |
| --font-sans | var(--font-sans) |
| --font-mono | var(--font-mono) |
| --text-display | var(--type-display-size) |
| --text-display--line-height | var(--type-display-leading) |
| --text-display--font-weight | var(--type-display-weight) |
| --text-h1 | var(--type-h1-size) |
| --text-h1--line-height | var(--type-h1-leading) |
| --text-h1--font-weight | var(--type-h1-weight) |
| --text-h2 | var(--type-h2-size) |
| --text-h2--line-height | var(--type-h2-leading) |
| --text-h2--font-weight | var(--type-h2-weight) |
| --text-h3 | var(--type-h3-size) |
| --text-h3--line-height | var(--type-h3-leading) |
| --text-h3--font-weight | var(--type-h3-weight) |
| --text-h4 | var(--type-h4-size) |
| --text-h4--line-height | var(--type-h4-leading) |
| --text-h4--font-weight | var(--type-h4-weight) |
| --text-body | var(--type-body-size) |
| --text-body--line-height | var(--type-body-leading) |
| --text-body-sm | var(--type-body-sm-size) |
| --text-body-sm--line-height | var(--type-body-sm-leading) |
| --text-label | var(--type-label-size) |
| --text-label--line-height | var(--type-label-leading) |
| --text-label--font-weight | var(--type-label-weight) |
| --text-metadata | var(--type-metadata-size) |
| --text-metadata--line-height | var(--type-metadata-leading) |
| --text-data | var(--type-data-size) |
| --text-data--line-height | var(--type-data-leading) |
| --radius-sm | var(--radius-sm) |
| --radius-md | var(--radius-md) |
| --radius-lg | var(--radius-lg) |
| --radius-xl | var(--radius-xl) |
| --shadow-sm | var(--shadow-sm) |
| --shadow-md | var(--shadow-md) |
| --shadow-lg | var(--shadow-lg) |
| --transition-duration-fast | var(--duration-fast) |
| --transition-duration-base | var(--duration-base) |
| --transition-duration-slow | var(--duration-slow) |
| --ease-standard | var(--ease-standard) |
| --ease-spring | var(--ease-spring) |
typography.css
| Token | Value |
|---|---|
| --font-sans | ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji" |
| --font-mono | ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace |
| --font-weight-regular | 400 |
| --font-weight-medium | 500 |
| --font-weight-semibold | 600 |
| --font-weight-bold | 700 |
| --text-xs-size | 0.75rem |
| --text-xs-leading | 1rem |
| --text-sm-size | 0.875rem |
| --text-sm-leading | 1.25rem |
| --text-base-size | 1rem |
| --text-base-leading | 1.5rem |
| --text-lg-size | 1.125rem |
| --text-lg-leading | 1.75rem |
| --text-xl-size | 1.25rem |
| --text-xl-leading | 1.75rem |
| --text-2xl-size | 1.5rem |
| --text-2xl-leading | 2rem |
| --text-3xl-size | 1.875rem |
| --text-3xl-leading | 2.25rem |
| --type-display-size | var(--text-3xl-size) |
| --type-display-leading | var(--text-3xl-leading) |
| --type-display-weight | var(--font-weight-bold) |
| --type-h1-size | var(--text-2xl-size) |
| --type-h1-leading | var(--text-2xl-leading) |
| --type-h1-weight | var(--font-weight-bold) |
| --type-h2-size | var(--text-xl-size) |
| --type-h2-leading | var(--text-xl-leading) |
| --type-h2-weight | var(--font-weight-semibold) |
| --type-h3-size | var(--text-lg-size) |
| --type-h3-leading | var(--text-lg-leading) |
| --type-h3-weight | var(--font-weight-semibold) |
| --type-h4-size | var(--text-base-size) |
| --type-h4-leading | var(--text-base-leading) |
| --type-h4-weight | var(--font-weight-semibold) |
| --type-body-size | var(--text-base-size) |
| --type-body-leading | var(--text-base-leading) |
| --type-body-weight | var(--font-weight-regular) |
| --type-body-sm-size | var(--text-sm-size) |
| --type-body-sm-leading | var(--text-sm-leading) |
| --type-body-sm-weight | var(--font-weight-regular) |
| --type-label-size | var(--text-sm-size) |
| --type-label-leading | var(--text-sm-leading) |
| --type-label-weight | var(--font-weight-medium) |
| --type-metadata-size | var(--text-xs-size) |
| --type-metadata-leading | var(--text-xs-leading) |
| --type-metadata-weight | var(--font-weight-regular) |
| --type-data-size | var(--text-sm-size) |
| --type-data-leading | var(--text-sm-leading) |
| --type-data-weight | var(--font-weight-regular) |