Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go
890 B
Raw Blame
/**
 * Shared trigger styling for inspector pickers (Runtime / Model / Visibility /
 * Concurrency).
 *
 * The defining choices:
 * - `rounded-md` — the shared row/menu radius, soft enough to feel like a
 *   button rather than a tab.
 * - `hover:bg-accent` — single hover layer carries the entire "this is a
 *   button" signal. We tried adding a hover-border on top, but layered hover
 *   states (border + bg) made the chip outline busier without adding info.
 * - `min-w-0` so children that `truncate` don't overflow the inspector's
 *   320px column.
 *
 * No default border on purpose: at rest the chip should sit quietly inside
 * the row; the moment the cursor enters, the bg flips and the affordance is
 * obvious.
 */
export const CHIP_CLASS =
  "group flex min-w-0 cursor-pointer items-center gap-1.5 rounded-md px-1.5 py-0.5 text-caption transition-colors hover:bg-accent";