Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

1.3 KB
Raw Blame
/* ─────────────────────────────────────────────────────────────
   ELEVATION & FOCUS
   Dark theme leans on a subtle inset top-highlight + soft drop
   shadow (glass-on-dark). Light theme uses conventional soft grey
   shadows. Two levels only:
   --elev-card  resting cards / proposal cards
   --elev-pop   floating popovers, inspector, transport, menus
   Plus the focus ring (emerald, matches --accent-ring).
   ───────────────────────────────────────────────────────────── */
:root,
[data-theme="dark"] {
  --elev-card: inset 0 1px 0 rgba(255,255,255,0.04), 0 2px 10px -4px rgba(0,0,0,0.55);
  --elev-pop: 0 20px 50px -16px rgba(0,0,0,0.75), inset 0 1px 0 rgba(255,255,255,0.05);
  --focus-ring: 0 0 0 3px rgba(16,185,129,0.32);

  /* accent-tinted button glow, used under primary buttons */
  --glow-accent: 0 2px 10px -3px var(--accent-soft);
}

[data-theme="light"] {
  --elev-card: 0 1px 2px rgba(15,23,42,0.05), 0 2px 10px -3px rgba(15,23,42,0.08);
  --elev-pop: 0 20px 48px -16px rgba(15,23,42,0.22), 0 4px 12px rgba(15,23,42,0.08);
  --focus-ring: 0 0 0 3px rgba(16,185,129,0.2);
}