A comprehensive guide to the colors, typography, spacing, and components that make up our design language.
Our color system uses OKLCH format for consistent and accessible colors across light and dark themes.
Main background color
--backgroundMain text color
--foregroundPrimary brand color
--primaryText on primary
--primary-foregroundSecondary background
--secondaryText on secondary
--secondary-foregroundAccent background
--accentText on accent
--accent-foregroundMuted background
--mutedMuted text
--muted-foregroundError/danger color
--destructiveCard background
--cardCard text
--card-foregroundPopover background
--popoverPopover text
--popover-foregroundBorder color
--borderInput border
--inputFocus ring color
--ringChart color 1
--chart-1Chart color 2
--chart-2Chart color 3
--chart-3Chart color 4
--chart-4Chart color 5
--chart-5Our typography system uses Inter for body text and Geist Mono for code, with a modular scale for consistent sizing.
The quick brown fox jumps over the lazy dog.
font-family: var(--font-inter)const hello = "world";
font-family: var(--font-geist-mono)text-xs12pxtext-sm14pxtext-base16pxtext-lg18pxtext-xl20pxtext-2xl24pxtext-3xl30pxtext-4xl36pxtext-5xl48pxfont-thin100font-light300font-normal400font-medium500font-semibold600font-bold700Consistent spacing using a modular scale based on multiples of 4px.
xs4pxsm8pxmd12pxlg16pxxl24px2xl32px3xl40px4xl48pxBorder radius scale based on the --radius custom property (10px base).
smcalc(var(--radius) - 4px)
mdcalc(var(--radius) - 2px)
lgvar(--radius)
xlcalc(var(--radius) + 4px)
Live examples of our UI components in action.
Cards are flexible containers for grouping related content and actions.
Use design tokens consistently across all components and pages.
All colors meet WCAG contrast requirements, and components support keyboard navigation.
The system is built to scale with your application as it grows.
Components can be composed and customized while maintaining consistency.