Skip to main content

Design Tokens

Exported color and typography tokens for use outside React Native (web, marketing, documentation, design tools).

CSS Custom Properties

:root {
--color-primary: #00B4D8;
--color-primary-dark: #0096B7;
--color-accent: #FF6B6B;
--color-background: #0A1628;
--color-surface: #132240;
--color-surface-light: #1A2D50;
--color-surface-highlight: #223A60;
--color-text: #F0F4F8;
--color-text-secondary: #8BA4C4;
--color-text-muted: #5A7399;
--color-border: #1E3355;
--color-success: #4ADE80;
--color-warning: #FBBF24;
--color-error: #F87171;

--font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--font-weight-regular: 400;
--font-weight-medium: 500;
--font-weight-semibold: 600;
--font-weight-bold: 700;
}

Typography

Font Family

Inter (Google Fonts) — a highly legible sans-serif optimized for screen readability. Loaded via:

@expo-google-fonts/inter

Loaded weights: 400 (Regular), 500 (Medium), 600 (SemiBold), 700 (Bold).

Size Scale

Three user-configurable text size presets:

TokenSmallMedium (default)Large
xs121416
sm131517
caption141618
body2151719
body161820
bodyLarge171820
subtitle181921
subtitle2192022
heading3202224
heading2222426
heading283032
display323436
timer565656

All values in points. On web, values are scaled by 0.85x via the following constant:

WEB_SCALE_FACTOR

Source Files

  • Typography definitions:
lib/typography.ts
  • Color definitions:
constants/colors.ts