Skip to content

Self-improving AI Employees for everyone

1.8 KB
Raw Blame
/* ============================================================================
 * OpenCompany — typography tokens
 * App font: Geist (loaded via @fontsource-variable/geist in the real app;
 * here served from Google Fonts — see tokens/fonts.css).
 * Mono: JetBrains Mono (code) falling back to system mono.
 * Base UI size is 14px — OpenCompany is a dense desktop tool.
 * ========================================================================== */

:root {
  --font-sans: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, monospace;

  /* Type scale (desktop app density — 14px base) */
  --type-scale-base: 14px;
  --text-2xs: 11px;   /* status bar, fine print */
  --text-xs: 12px;    /* metadata, badges, section labels */
  --text-sm: 13px;    /* toolbar buttons, secondary UI */
  --text-base: 14px;  /* body, inputs, list items */
  --text-md: 16px;    /* panel headings */
  --text-lg: 18px;    /* modal titles */
  --text-xl: 24px;    /* page / empty-state headings */
  --text-2xl: 32px;   /* marketing headlines */
  --text-3xl: 44px;   /* hero headlines */

  /* Weights — Geist variable: 400 body, 500 medium UI, 600 semibold headings/buttons */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Tracking + case — light/dark themes use none; kept as tokens because
   * the product's themed skins flip these (uppercase + wide tracking). */
  --type-uppercase: none;
  --type-tracking-display: 0;
  --tracking-label: 0.04em;  /* uppercase micro-labels, status bar */

  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;
}