/*
  Keycode tokens. Change these to restyle the component.
  The same names are used in react/src/keycode/tokens.css and in the Figma file.
*/
:root {
  --kc-bg: #f4f4f5;
  --kc-surface: #ffffff;
  --kc-ink: #18181b;
  --kc-muted: #6b6b72;
  --kc-line: #e4e4e7;
  --kc-accent: #ff4d00;
  --kc-accent-text: #c43c00;
  --kc-on-accent: #18181b;
  --kc-focus: #ff4d00;
  --kc-ring: #ffe6da;
  --kc-icon-bg: #fff1ea;
  --kc-trail: #d4d4d8;
  --kc-trail-near: #a1a1aa;
  --kc-error: #c2261d;
  --kc-success: #157f3b;
  --kc-shadow: 0 30px 80px rgb(24 24 27 / 0.1);

  --kc-radius: 24px;
  --kc-box-radius: 12px;
  --kc-button-radius: 12px;
  --kc-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --kc-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* Motion: see motion.md */
  --kc-drop: 280ms;
  --kc-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --kc-stagger: 40ms;
  --kc-shake: 360ms;
  --kc-fade: 160ms;
}

[data-theme="dark"] {
  --kc-bg: #0f0f11;
  --kc-surface: #1c1c1f;
  --kc-ink: #f4f4f5;
  --kc-muted: #a1a1aa;
  --kc-line: #2e2e33;
  --kc-accent: #ff6a2b;
  --kc-accent-text: #ff8a5c;
  --kc-on-accent: #18181b;
  --kc-focus: #ff8a5c;
  --kc-ring: #4a2414;
  --kc-icon-bg: #3a1d10;
  --kc-trail: #3f3f46;
  --kc-trail-near: #71717a;
  --kc-error: #ff7a70;
  --kc-success: #4ade80;
  --kc-shadow: 0 30px 80px rgb(0 0 0 / 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kc-bg: #0f0f11;
    --kc-surface: #1c1c1f;
    --kc-ink: #f4f4f5;
    --kc-muted: #a1a1aa;
    --kc-line: #2e2e33;
    --kc-accent: #ff6a2b;
    --kc-accent-text: #ff8a5c;
    --kc-on-accent: #18181b;
    --kc-focus: #ff8a5c;
    --kc-ring: #4a2414;
    --kc-icon-bg: #3a1d10;
    --kc-trail: #3f3f46;
    --kc-trail-near: #71717a;
    --kc-error: #ff7a70;
    --kc-success: #4ade80;
    --kc-shadow: 0 30px 80px rgb(0 0 0 / 0.45);
  }
}
