Skip to content

Edge-Drop is a clipboard shelf on the edge of your screen. Hover to open it. Drag files and images into any app, click to copy text and links. Free and open-source for Windows.

2.3 KB
Raw Blame
/**
 * Design tokens — the deep-black, macOS-inspired palette.
 *
 * The blade reads as a piece of glass extending out of the screen edge:
 * layered near-black gradients, a 1px inner light edge, soft shadow, and an
 * accent glow. Colors are exposed as CSS custom properties so the theme layer
 * can swap the accent at runtime.
 */
:root {
  /* Base blacks — stacked for depth, never a flat #000. */
  --bg-0: #000000; /* deepest core */
  --bg-1: #000000; /* blade body */
  --bg-2: #141414; /* raised surface / card */
  --bg-3: #1c1c1c; /* hover */
  --bg-glass: rgba(12, 12, 16, 0.72); /* frosted backdrop */
  --bg-card: #141414;
  --bg-card-hover: #1c1c1c;
  --bg-chip: #141414;

  /* Hairlines — used only where a divider is needed, not as box outlines */
  --edge-light: rgba(255, 255, 255, 0.06);
  --edge-strong: rgba(255, 255, 255, 0.12);
  --divider: rgba(255, 255, 255, 0.08);

  /* Text — High Contrast & Ultra-Legible */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.78);
  --text-tertiary: rgba(255, 255, 255, 0.48);

  /* Accent (overridden at runtime by theme.ts) */
  --accent: #8b5cf6;
  --accent-glow: rgba(139, 92, 246, 0.55);

  /* Shape & depth — large radii, no hairline boxes */
  --radius-blade: 24px;
  --radius-card: 18px;
  --radius-pill: 999px;
  --shadow-blade: none;
  --shadow-card: none;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;

  /* Typography — bundled OFL faces, not system fallbacks. */
  --font-ui: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Mono', ui-monospace, monospace;

  /* Typography scale */
  --font-scale: 1;

  /* Layout */
  --panel-width: 270px;
  --gap: 12px;
  --pad: 14px;

  /* Action pills (hover / quick actions on cards, tiles, rows, flyout).
     One look everywhere; the horizontal dock only shrinks the size. */
  --act-size: 26px;
  --act-icon: 14px;
  --act-pad: 2px;
  --act-surface: #262626;
  --act-surface-hover: #333333;
  --act-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  --act-ink: rgba(255, 255, 255, 0.78);
  --act-hover: rgba(255, 255, 255, 0.12);
  --act-on: #ffffff;
  --act-on-ink: #000000;
  --act-danger: #ff6b6b;
  --act-danger-bg: rgba(255, 107, 107, 0.16);
}