Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
/* Multica design tokens — shared across Web + Desktop */
@theme inline {
--font-heading: var(--font-sans);
--font-sans: var(--font-sans);
--font-serif: var(--font-serif);
--font-mono: var(--font-mono);
--color-app-shell: var(--app-shell);
--color-page-canvas: var(--page-canvas);
--color-surface: var(--surface);
--color-surface-foreground: var(--surface-foreground);
--color-surface-raised: var(--surface-raised);
--color-surface-hover: var(--surface-hover);
--color-surface-selected: var(--surface-selected);
--color-surface-selected-foreground: var(--surface-selected-foreground);
--color-surface-border: var(--surface-border);
--color-sidebar-ring: var(--sidebar-ring);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-accent: var(--sidebar-accent);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar: var(--sidebar);
--color-chart-5: var(--chart-5);
--color-chart-4: var(--chart-4);
--color-chart-3: var(--chart-3);
--color-chart-2: var(--chart-2);
--color-chart-1: var(--chart-1);
--color-ring: var(--ring);
--color-input: var(--input);
--color-border: var(--border);
--color-destructive: var(--destructive);
--color-success: var(--success);
--color-warning: var(--warning);
--color-info: var(--info);
--color-priority-high: var(--priority-high);
--color-brand: var(--brand);
--color-brand-foreground: var(--brand-foreground);
--color-multica-ink: var(--multica-ink);
--color-multica-paper: var(--multica-paper);
--color-accent-foreground: var(--accent-foreground);
--color-accent: var(--accent);
--color-faint-foreground: var(--faint-foreground);
--color-muted-foreground: var(--muted-foreground);
--color-muted: var(--muted);
--color-secondary-foreground: var(--secondary-foreground);
--color-secondary: var(--secondary);
--color-primary-foreground: var(--primary-foreground);
--color-primary: var(--primary);
--color-popover-foreground: var(--popover-foreground);
--color-popover: var(--popover);
--color-card-foreground: var(--card-foreground);
--color-card: var(--card);
--color-foreground: var(--foreground);
--color-background: var(--background);
/* Compact product radius ladder. Keep the roles stable even when the base
value changes: xs=micro controls, sm=nested surfaces, md=rows/menus,
lg=controls/compact surfaces, xl=cards/dialogs. */
--radius-xs: calc(var(--radius) * 0.375);
--radius-sm: calc(var(--radius) * 0.5);
--radius-md: calc(var(--radius) * 0.75);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) * 1.5);
--radius-2xl: calc(var(--radius) * 2);
--radius-3xl: calc(var(--radius) * 2.5);
--radius-4xl: calc(var(--radius) * 3);
}
/* Type scale — the only font sizes product UI may use.
*
* There was no `--text-*` token here before, so sizes grew ad hoc: 51 distinct
* font sizes across web + desktop, 370 of them written as arbitrary values,
* including half-pixel steps (10.5 / 11.5 / 12.5 / 13.5 / 14.5 / 15.5px) that
* nobody chose deliberately — they appeared because there was no step to reach
* for. Hierarchy does not come from having more sizes; past a handful, every
* extra size makes the hierarchy blurrier, because two values a pixel apart
* read as "the same, but wrong" rather than as two levels.
*
* The steps are named for the role the text plays, not for a t-shirt size.
* That is what keeps the scale from drifting again: "what is this text for"
* has an answer a reader can check, "is this sm or base" does not.
*
* Six of the ten steps replace Tailwind's default scale and deliberately keep
* that scale's exact size/line-height pairs, so `text-sm` -> `text-body` moves
* nothing on screen. Only the steps that fill the old gaps — micro (11), label
* (13), body-lg (15) — are new sizes; those are the gaps the arbitrary values
* were papering over. Every step carries its own line-height so leading cannot
* fragment the way size did; a `leading-*` utility still wins where a specific
* block needs to override it.
*
* Landing-page display type (rem/clamp, 2.2-6.4rem) is marketing typography on
* a separate ramp and stays out of this scale on purpose.
*
* --font-scale is the Appearance font size (unset = 1). It multiplies sizes and
* line-heights only, so a larger size never changes spacing or layout. */
@theme {
/* counters, badges, timestamps, overline labels */
--text-micro: calc(11px * var(--font-scale, 1));
--text-micro--line-height: calc(15px * var(--font-scale, 1));
/* chips, shortcut hints, tooltips, helper text under a field, issue
identifiers — was text-xs. Not for text people read in place:
that is label. */
--text-caption: calc(12px * var(--font-scale, 1));
--text-caption--line-height: calc(16px * var(--font-scale, 1));
/* text read in place beside body copy: activity entries, comment
timestamps, property panel rows, table headers, metadata rows */
--text-label: calc(13px * var(--font-scale, 1));
--text-label--line-height: calc(18px * var(--font-scale, 1));
/* UI body, the workhorse — was text-sm */
--text-body: calc(14px * var(--font-scale, 1));
--text-body--line-height: calc(20px * var(--font-scale, 1));
/* roomier body: dialog copy, onboarding prose */
--text-body-lg: calc(15px * var(--font-scale, 1));
--text-body-lg--line-height: calc(22px * var(--font-scale, 1));
/* small headings — was text-base */
--text-title-sm: calc(16px * var(--font-scale, 1));
--text-title-sm--line-height: calc(24px * var(--font-scale, 1));
/* section headings — was text-lg */
--text-title: calc(18px * var(--font-scale, 1));
--text-title--line-height: calc(28px * var(--font-scale, 1));
/* card and dialog titles — was text-xl */
--text-title-lg: calc(20px * var(--font-scale, 1));
--text-title-lg--line-height: calc(28px * var(--font-scale, 1));
/* page titles — was text-2xl */
--text-display-sm: calc(24px * var(--font-scale, 1));
--text-display-sm--line-height: calc(32px * var(--font-scale, 1));
/* hero numbers and empty-state headlines — was text-3xl (30px) */
--text-display: calc(36px * var(--font-scale, 1));
--text-display--line-height: calc(40px * var(--font-scale, 1));
}
:root {
/* Dialog motion, shared by popup and backdrop. */
--dialog-enter-duration: 100ms;
--dialog-exit-duration: 100ms;
--dialog-enter-easing: cubic-bezier(0.23, 1, 0.32, 1);
--dialog-exit-easing: ease;
/* Nav panel collapse, shared by the space panel and list columns. The
first frame also pays for the toggle's render and the page relayout, so
the curve starts soft instead of jumping. */
--nav-panel-duration: 220ms;
--nav-panel-easing: ease;
color-scheme: light;
/* Button geometry. Text and icon-only buttons share the height ladder.
Keep the defaults aligned with the existing compact product controls. */
--button-height-xs: 1.5rem;
--button-height-sm: 1.75rem;
--button-height-default: 2rem;
--button-height-lg: 2.25rem;
--button-padding-xs: 0.5rem;
--button-padding-sm: 0.625rem;
--button-padding-default: 0.625rem;
--button-padding-lg: 0.625rem;
--button-gap-xs: 0.25rem;
--button-gap-sm: 0.25rem;
--button-gap-default: 0.375rem;
--button-gap-lg: 0.375rem;
/* Surface system: the app shell is the quiet outer frame; the page canvas
is where lists, boards, and conversations live; surfaces are reserved
for bounded content groups; raised surfaces are ephemeral overlays. */
--app-shell: oklch(0.964435 0.001327 286.375);
--page-canvas: oklch(0.988087 0 0);
--surface: oklch(1 0 0);
--surface-foreground: oklch(0.141 0.005 285.823);
--surface-raised: oklch(1 0 0);
--surface-hover: oklch(0.967 0.001 286.375);
--surface-selected: oklch(0.95 0.002 286.375);
--surface-selected-foreground: oklch(0.141 0.005 285.823);
--surface-border: oklch(0.92 0.004 286.32);
--surface-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 1px 1px rgb(15 23 42 / 0.03);
--floating-shadow: 0 16px 40px rgb(15 23 42 / 0.14), 0 3px 10px rgb(15 23 42 / 0.08);
/* Below `md` the chat launcher is an overlay pinned to the dashboard's
bottom-right corner on every workspace page, so that corner is not
available to page content. Its geometry lives here rather than in the button so that the
clearance is derived from it: anything reaching that corner — a footer's
action buttons, a floating toolbar — reserves --chat-launcher-clearance
and stays correct if the launcher ever moves or changes size. */
--chat-launcher-size: 2.5rem;
--chat-launcher-inset: 0.5rem;
--chat-launcher-clearance: calc(
var(--chat-launcher-size) + var(--chat-launcher-inset) * 2
);
/* Menus (dropdown/context/select/popover) hover just above their trigger,
so they carry a lighter shadow than window-level overlays (dialogs,
sheets), which keep --floating-shadow. */
--menu-shadow: 0 8px 24px rgb(15 23 42 / 0.08), 0 2px 6px rgb(15 23 42 / 0.05);
/* Tooltips are a dark surface in both themes, so a passive label never
reads as one of the interactive panels above. Near-black here; in dark
mode it sits one step above every surface and carries a ring instead of
a drop shadow. */
--tooltip: oklch(0.21 0.006 285.885);
--tooltip-shadow: 0 4px 12px rgb(15 23 42 / 0.16), 0 1px 3px rgb(15 23 42 / 0.12);
--background: var(--page-canvas);
--foreground: oklch(0.141 0.005 285.823);
--card: var(--surface);
--card-foreground: oklch(0.141 0.005 285.823);
--popover: var(--surface-raised);
--popover-foreground: oklch(0.141 0.005 285.823);
--primary: oklch(0.21 0.006 285.885);
--primary-foreground: oklch(0.985 0 0);
--secondary: oklch(0.967 0.001 286.375);
--secondary-foreground: oklch(0.21 0.006 285.885);
--muted: oklch(0.967 0.001 286.375);
/* Lightness is pinned by WCAG AA, not by taste: muted text sits on every
light surface we have, and the darkest of them — --sidebar-accent, the
nav hover state — is the binding constraint. At the old 0.552 that pair
was 3.98:1; 0.505 clears 4.5:1 on all of app-shell / page-canvas /
sidebar / sidebar-accent / muted / surface-selected / surface, with the
worst case at 4.88:1. Raise it and the nav labels fail again. Hue and
chroma are unchanged so the neutral ramp keeps its cast. */
--muted-foreground: oklch(0.505 0.016 285.938);
/* The quiet step below muted, for marks that are not text: disclosure
chevrons, separator glyphs, the em dash standing in for an empty cell,
the large icon in an empty state. It exists because the alternative
people reached for was alpha — 152 call sites of
text-muted-foreground/30..80 — and alpha on light surfaces lands
between 1.5:1 and 3.8:1, which fails even the 3:1 floor for non-text.
0.606 is the lightest step that still clears 3:1 (WCAG 1.4.11) on every
surface, worst case --sidebar-accent at 3.19:1. Deliberately NOT valid
for text: text has one floor, --muted-foreground, and there is no room
for a third readable step (AA caps a lighter text tone at L 0.523 here,
0.018 away from muted — a difference no one can see). */
--faint-foreground: oklch(0.606 0.016 285.938);
--accent: oklch(0.967 0.001 286.375);
--accent-foreground: oklch(0.21 0.006 285.885);
--destructive: oklch(0.577 0.245 27.325);
--border: oklch(0.945 0.003 286.32);
--input: oklch(0.92 0.004 286.32);
--ring: oklch(0.705 0.015 286.067);
/* Brand-derived blue gradient (h=255 = brand hue). chart-1 equals brand
so the most important series visually anchors to the product colour;
chart-2..5 step lighter + less saturated so a stacked bar reads
"primary → secondary → tertiary" at a glance instead of fighting
for attention as five equally-weighted greys. */
--chart-1: oklch(0.55 0.16 255);
--chart-2: oklch(0.66 0.13 255);
--chart-3: oklch(0.76 0.10 255);
--chart-4: oklch(0.85 0.06 255);
--chart-5: oklch(0.92 0.03 255);
--radius: 0.5rem;
--issue-row-height: 36px;
--sidebar: oklch(0.964435 0.001327 286.375);
--sidebar-foreground: oklch(0.141 0.005 285.823);
--sidebar-primary: oklch(0.21 0.006 285.885);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.935 0.003 286.375);
--sidebar-accent-foreground: oklch(0.21 0.006 285.885);
--sidebar-border: oklch(0.92 0.004 286.32);
--sidebar-ring: oklch(0.705 0.015 286.067);
--brand: oklch(0.56079497 0.19449888 256.41258418);
--brand-foreground: oklch(0.985 0 0);
/* The logo's only two colours (brand guidelines v3.1). Pure black and
white in both themes: the logo never takes a grey, a tint, or the UI
accent, so there is no dark-mode override for these. */
--multica-ink: #0b0b0c;
--multica-paper: #ffffff;
--success: oklch(0.55 0.16 145);
--warning: oklch(0.75 0.16 85);
--info: oklch(0.55 0.18 250);
/* High priority sits between --destructive (urgent) and --warning (medium). */
--priority-high: oklch(0.68 0.18 50);
--scrollbar-thumb: oklch(0 0 0 / 10%);
--scrollbar-thumb-hover: oklch(0 0 0 / 18%);
--scrollbar-track: transparent;
/* In-page find (Cmd/Ctrl+F) match tints, painted via the CSS Custom
Highlight API. Bright fill + dark text so matches stay legible in
both themes; the active match steps to orange. */
--find-match: oklch(0.92 0.15 100);
--find-match-active: oklch(0.82 0.17 62);
--find-match-foreground: oklch(0.22 0.03 92);
}
/* From `md` up quick chat lives in the bottom bar, outside the page card, and
the corner is free again. */
@media (min-width: 48rem) {
:root {
--chat-launcher-clearance: 0px;
}
}
.dark {
color-scheme: dark;
--app-shell: oklch(0.155 0.005 285.823);
--page-canvas: oklch(0.18 0.005 285.823);
--surface: oklch(0.21 0.006 285.885);
--surface-foreground: oklch(0.985 0 0);
--surface-raised: oklch(0.235 0.007 285.885);
--surface-hover: oklch(0.274 0.006 286.033);
--surface-selected: oklch(0.3 0.006 286.033);
--surface-selected-foreground: oklch(0.985 0 0);
--surface-border: oklch(1 0 0 / 10%);
--surface-shadow: 0 1px 2px rgb(0 0 0 / 0.2), 0 1px 1px rgb(0 0 0 / 0.16);
--floating-shadow: 0 20px 48px rgb(0 0 0 / 0.46), 0 4px 12px rgb(0 0 0 / 0.28);
--menu-shadow: 0 10px 28px rgb(0 0 0 / 0.3), 0 2px 8px rgb(0 0 0 / 0.18);
--tooltip: oklch(0.3 0.006 286.033);
--tooltip-shadow: 0 0 0 1px oklch(1 0 0 / 10%), 0 8px 24px rgb(0 0 0 / 0.4);
--background: var(--page-canvas);
--foreground: oklch(0.985 0 0);
--card: var(--surface);
--card-foreground: oklch(0.985 0 0);
--popover: var(--surface-raised);
--popover-foreground: oklch(0.985 0 0);
--primary: oklch(0.92 0.004 286.32);
--primary-foreground: oklch(0.21 0.006 285.885);
--secondary: oklch(0.274 0.006 286.033);
--secondary-foreground: oklch(0.985 0 0);
--muted: oklch(0.274 0.006 286.033);
--muted-foreground: oklch(0.705 0.015 286.067);
/* Same role as light mode, mirrored: fainter means darker here. 0.60 is
the darkest step still clearing 3:1 on every dark surface, worst case
--surface-selected at 3.45:1. The step away from muted (0.105 L) matches
light mode's, so a chevron reads equally quiet in both themes. */
--faint-foreground: oklch(0.60 0.015 286.067);
--accent: oklch(0.274 0.006 286.033);
--accent-foreground: oklch(0.985 0 0);
--destructive: oklch(0.704 0.191 22.216);
--border: oklch(1 0 0 / 6%);
--input: oklch(1 0 0 / 15%);
--ring: oklch(0.552 0.016 285.938);
/* Dark mode mirrors light mode's "primary → secondary" gradient on the
brand hue, but flips the lightness curve: the most important series
is the brightest (so it pops on the dark background) and trailing
series get progressively darker / less saturated. */
--chart-1: oklch(0.72 0.16 255);
--chart-2: oklch(0.62 0.13 255);
--chart-3: oklch(0.52 0.10 255);
--chart-4: oklch(0.42 0.06 255);
--chart-5: oklch(0.32 0.03 255);
--sidebar: oklch(0.21 0.006 285.885);
--sidebar-foreground: oklch(0.985 0 0);
--sidebar-primary: oklch(0.488 0.243 264.376);
--sidebar-primary-foreground: oklch(0.985 0 0);
--sidebar-accent: oklch(0.274 0.006 286.033);
--sidebar-accent-foreground: oklch(0.985 0 0);
--sidebar-border: oklch(1 0 0 / 10%);
--sidebar-ring: oklch(0.552 0.016 285.938);
/* Brand also paints body-text links; keep it readable on dark surfaces. */
--brand: oklch(0.65 0.16 255);
--brand-foreground: oklch(0.985 0 0);
--success: oklch(0.65 0.15 145);
--warning: oklch(0.70 0.16 85);
--info: oklch(0.65 0.18 250);
--priority-high: oklch(0.72 0.17 50);
--scrollbar-thumb: oklch(1 0 0 / 8%);
--scrollbar-thumb-hover: oklch(1 0 0 / 18%);
--scrollbar-track: transparent;
--find-match: oklch(0.82 0.16 100);
--find-match-active: oklch(0.76 0.18 60);
--find-match-foreground: oklch(0.18 0.02 92);
}