tokens.css

GitHub
@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600&display=swap");

[data-system="lime"], .lime {
  --page: #ffffff;
  --surface: #f6f5f2;
  --surface-2: #efeeea;
  --surface-3: #e6e4df;
  --raised: #ffffff;
  --field: #f6f5f2;
  --scrim: rgb(15 15 13 / 0.5);
  --fg: #0f0f0d;
  --fg-2: #4a4943;
  --fg-3: #6b6a63;
  --fg-disabled: #a6a49b;
  --fg-inverse: #ffffff;
  --on-accent: #0f0f0d;
  --glow-accent-fg: #0f0f0d;
  --line: #e6e4df;
  --line-strong: #cfcdc6;
  --control: #85827a;
  --ink: #0f0f0d;
  --ink-hover: #2a2a26;
  --ink-active: #3f3f3a;
  --accent: #e4f222;
  --accent-hover: #d6e41a;
  --accent-active: #c4d211;
  --accent-wash: #f5f9c4;
  --accent-line: #7c8700;
  --ring: var(--accent-line);
  --success: #1e8e4a;
  --success-tint: #e5f5ea;
  --success-text: #17703a;
  --warn: #c27a00;
  --warn-tint: #fff3d6;
  --warn-text: #8a5200;
  --danger: #d93636;
  --danger-hover: #c02c2c;
  --danger-tint: #fdebeb;
  --on-danger: #ffffff;
  --danger-text: #b42323;
  --shadow-ink: 40 36 20;
  --shadow-card: 0 1px 2px rgb(var(--shadow-ink) / 0.06), 0 1px 1px rgb(var(--shadow-ink) / 0.04);
  --shadow-menu: 0 8px 24px -6px rgb(var(--shadow-ink) / 0.16), 0 2px 6px rgb(var(--shadow-ink) / 0.06);
  --shadow-overlay: 0 24px 48px -12px rgb(var(--shadow-ink) / 0.24), 0 4px 12px rgb(var(--shadow-ink) / 0.08);
  --thumb: #ffffff;
  --switch-on: var(--accent);
  --switch-on-thumb: var(--thumb);
  --shadow-thumb: 0 2px 5px rgb(var(--shadow-ink) / 0.1), 0 1px 1px rgb(var(--shadow-ink) / 0.07), 0 0 0 0.5px rgb(var(--shadow-ink) / 0.1);
  --glow-accent-from: #dbec1c;
  --glow-accent-to: #f6ff7c;
  --glow-accent-edge: rgb(255 255 255 / 0.7);
  --glow-accent-bloom: rgb(255 255 255 / 0.28);
  --glow-accent-cast: 112 120 20;
  --glow-accent-light: 1;
  --glow-accent-from-lit: #e4f42c;
  --glow-accent-to-lit: #faff9c;
  --glow-accent-edge-lit: rgb(255 255 255 / 0.9);
  --glow-accent-bloom-lit: rgb(255 255 255 / 0.4);
  --glow-accent-from-press: #c8d915;
  --glow-accent-to-press: #e6f24a;
  --glow-danger-from: #a31f1f;
  --glow-danger-to: #c42b2b;
  --glow-danger-edge: rgb(255 255 255 / 0.4);
  --glow-danger-bloom: rgb(255 255 255 / 0.16);
  --glow-danger-cast: 130 30 30;
  --glow-danger-light: 0.4;
  --glow-danger-from-lit: #b02424;
  --glow-danger-to-lit: #d03333;
  --glow-danger-edge-lit: rgb(255 255 255 / 0.6);
  --glow-danger-bloom-lit: rgb(255 255 255 / 0.24);
  --glow-danger-from-press: #8a1818;
  --glow-danger-to-press: #a82121;
  --glow-success-from: #136b35;
  --glow-success-to: #1a8445;
  --glow-success-edge: rgb(255 255 255 / 0.4);
  --glow-success-bloom: rgb(255 255 255 / 0.16);
  --glow-success-cast: 20 100 55;
  --glow-success-light: 0.4;
  --glow-success-fg: #ffffff;
  --glow-success-from-lit: #126f39;
  --glow-success-to-lit: #1a8445;
  --glow-success-edge-lit: rgb(255 255 255 / 0.6);
  --glow-success-bloom-lit: rgb(255 255 255 / 0.24);
  --glow-success-from-press: #0f5a2b;
  --glow-success-to-press: #157038;
  --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-3xl: 36px;
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --tracking-tight: -0.01em;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --control-sm: 32px;
  --control-md: 40px;
  --control-lg: 48px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-field: 12px;
  --radius-panel: 16px;
  --radius-sheet: 24px;
  --radius-control: 999px;
  --dur-instant: 80ms;
  --dur-fast: 140ms;
  --dur-base: 200ms;
  --dur-slow: 280ms;
  --dur-spin: 900ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --scale-enter: 0.97;
  --scale-press: 0.98;
  --z-dialog: 40;
  --z-popover: 50;
  --z-toast: 60;
  --overlay-sm: 384px;
  --overlay: 480px;
  --overlay-lg: 640px;
  --popover: 320px;
  --sheet: 400px;
  --popup-max: 320px;
  --focus-offset: 2px;
  --line-focus: 2px;
  --scrollbar-thumb: var(--line-strong);
}
[data-system="lime"][data-theme="dark"], .lime[data-theme="dark"], [data-theme="dark"] [data-system="lime"], [data-theme="dark"] .lime {
  --page: #0e0e0c;
  --surface: #1a1a17;
  --surface-2: #262622;
  --surface-3: #32322d;
  --raised: #1f1f1c;
  --field: #1a1a17;
  --scrim: rgb(0 0 0 / 0.64);

  --fg: #f4f3ee;
  --fg-2: #c9c7be;
  --fg-3: #9a9890;
  --fg-disabled: #5e5d57;
  --fg-inverse: #0f0f0d;
  --on-accent: #0f0f0d;

  --line: #2e2e29;
  --line-strong: #3f3f39;
  --control: #8a8880;

  --ink: #f4f3ee;
  --ink-hover: #e1dfd7;
  --ink-active: #cfcdc4;

  --accent: #cad649;
  --accent-hover: #d6e262;
  --accent-active: #bac534;
  --accent-wash: #2b2e0c;
  --accent-line: #cad649;
  --shadow-thumb: 0 2px 5px rgb(0 0 0 / 0.22), 0 1px 1px rgb(0 0 0 / 0.16), 0 0 0 0.5px rgb(0 0 0 / 0.2);

  --success: #4ade80;
  --success-tint: #12281a;
  --success-text: #6ee79b;
  --warn: #ffb224;
  --warn-tint: #2e2209;
  --warn-text: #ffc85c;
  --danger: #e5484d;
  --danger-hover: #d33a3f;
  --danger-tint: #2d1415;
  --on-danger: #0f0f0d;
  --danger-text: #ff8a8a;

  --shadow-ink: 0 0 0;
  --shadow-card: 0 1px 2px rgb(var(--shadow-ink) / 0.4);
  --shadow-menu: 0 8px 24px -6px rgb(var(--shadow-ink) / 0.6), 0 0 0 1px var(--line);
  --shadow-overlay: 0 24px 48px -12px rgb(var(--shadow-ink) / 0.7), 0 0 0 1px var(--line);

  --glow-accent-cast: 0 0 0;
  --glow-accent-fg: #0f0f0d;
  --glow-accent-from: #c2cd3f;
  --glow-accent-to: #d1e376;
  --glow-accent-from-lit: #c8d447;
  --glow-accent-to-lit: #d8e983;
  --glow-accent-from-press: #b7c230;
  --glow-accent-to-press: #c6d65f;
  --glow-accent-light: 0.25;
  --glow-accent-edge: rgb(255 255 255 / 0.3);
  --glow-accent-bloom: rgb(255 255 255 / 0.12);
  --glow-accent-edge-lit: rgb(255 255 255 / 0.45);
  --glow-accent-bloom-lit: rgb(255 255 255 / 0.18);
  --glow-danger-from: #da474c;
  --glow-danger-to: #f36a6f;
  --glow-danger-edge: rgb(255 255 255 / 0.5);
  --glow-danger-bloom: rgb(255 255 255 / 0.2);
  --glow-danger-cast: 0 0 0;
  --glow-danger-light: 1;
  --glow-danger-from-lit: #e45a5f;
  --glow-danger-to-lit: #f98285;
  --glow-danger-edge-lit: rgb(255 255 255 / 0.75);
  --glow-danger-bloom-lit: rgb(255 255 255 / 0.3);
  --glow-danger-from-press: #d24449;
  --glow-danger-to-press: #ec6368;
  --glow-success-from: #27a75d;
  --glow-success-to: #55d88a;
  --glow-success-edge: rgb(255 255 255 / 0.5);
  --glow-success-bloom: rgb(255 255 255 / 0.2);
  --glow-success-cast: 0 0 0;
  --glow-success-light: 1;
  --glow-success-fg: #0f0f0d;
  --glow-success-from-lit: #32b96b;
  --glow-success-to-lit: #68e49b;
  --glow-success-edge-lit: rgb(255 255 255 / 0.75);
  --glow-success-bloom-lit: rgb(255 255 255 / 0.3);
  --glow-success-from-press: #1f8f4d;
  --glow-success-to-press: #43bf74;
}
@media (prefers-reduced-motion: reduce) {
  [data-system="lime"], .lime { --dur-instant: 0ms; --dur-fast: 0ms; --dur-base: 0ms; --dur-slow: 0ms; --scale-enter: 1; --scale-press: 1; }
}