citizen-app-design / tree / tokens/tokens.css ยท raw (this view has old GitHub links rewritten for the mirror; raw is byte-exact)
/* Generated from tokens.json by scripts/tokens_css.py. Light by default; dark under prefers-color-scheme: dark and [data-theme="dark"]. */
:root {
  color-scheme: light dark;
  --color-bg: #fbf6ee;
  --color-surface: #ffffff;
  --color-surface-2: #f3eadd;
  --color-text: #2a2420;
  --color-text-muted: #5e534a;
  --color-primary: #a3432a;
  --color-on-primary: #ffffff;
  --color-border: #e2d5c4;
  --color-danger: #a8251c;
  --color-success: #2f6b3a;
  --color-focus: #1f5fbf;
  --font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", "Noto Sans", sans-serif;
  --font-family-arabic: "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-md: 16px;
  --font-size-lg: 20px;
  --font-size-xl: 24px;
  --font-size-xxl: 32px;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-bg: #1b1917;
    --color-surface: #262321;
    --color-surface-2: #302c29;
    --color-text: #f5eee5;
    --color-text-muted: #c2b6aa;
    --color-primary: #e8906e;
    --color-on-primary: #1b1917;
    --color-border: #3d3732;
    --color-danger: #ff8f85;
    --color-success: #8fd19e;
    --color-focus: #8ab4ff;
  }
}
[data-theme="dark"] {
  --color-bg: #1b1917;
  --color-surface: #262321;
  --color-surface-2: #302c29;
  --color-text: #f5eee5;
  --color-text-muted: #c2b6aa;
  --color-primary: #e8906e;
  --color-on-primary: #1b1917;
  --color-border: #3d3732;
  --color-danger: #ff8f85;
  --color-success: #8fd19e;
  --color-focus: #8ab4ff;
}
[data-theme="light"] {
  --color-bg: #fbf6ee;
  --color-surface: #ffffff;
  --color-surface-2: #f3eadd;
  --color-text: #2a2420;
  --color-text-muted: #5e534a;
  --color-primary: #a3432a;
  --color-on-primary: #ffffff;
  --color-border: #e2d5c4;
  --color-danger: #a8251c;
  --color-success: #2f6b3a;
  --color-focus: #1f5fbf;
}

agentgate-source: code mirror on Cloudflare Pages. All repos