Skip to content

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

Go
3.5 KB
Raw Blame
/* =============================================================================
 * Multica Web — Custom styles (non-shadcn, web-only)
 * Shared styles (shiki, brand motion, sidebar, sonner, scrollbar) are in
 * @multica/ui/styles/base.css
 * ============================================================================= */

/* The landing route tree is intentionally always-light (hero/cli/cloud
 * sections use hardcoded dark/light palettes). Shared components rendered
 * inside (e.g. CloudWaitlistExpand on /download) use semantic tokens that
 * otherwise flip to dark values under the `.dark` class set by next-themes,
 * producing a palette mismatch against the hardcoded section. Re-declare
 * tokens to their light values so nested token-driven components stay in
 * lockstep with the surrounding design. */
.landing-light,
.landing-light * {
    color-scheme: light;
}
.landing-light {
    /* Landing has an editorial radius language independent from product UI.
       Components consume these by role, so a redesign does not require
       rediscovering scattered one-off pixel values. */
    --landing-radius-checkbox: 4px;
    --landing-radius-menu-item: 6px;
    --landing-radius-nav-item: 9px;
    --landing-radius-control: 10px;
    --landing-radius-button: 11px;
    --landing-radius-action: 12px;
    --landing-radius-menu: 14px;
    --landing-radius-card: 16px;
    --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);
    --menu-shadow: 0 8px 24px rgb(15 23 42 / 0.08), 0 2px 6px rgb(15 23 42 / 0.05);
    --background: oklch(1 0 0);
    --foreground: oklch(0.141 0.005 285.823);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.141 0.005 285.823);
    --popover: oklch(1 0 0);
    --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);
    /* Kept in lockstep with the light value in tokens.css — see the AA
       reasoning there before changing this number. */
    --muted-foreground: oklch(0.505 0.016 285.938);
    /* Same lockstep rule. Without this line the landing chevrons would inherit
       the .dark value of --faint-foreground while sitting on a white surface. */
    --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.92 0.004 286.32);
    --input: oklch(0.92 0.004 286.32);
    --ring: oklch(0.705 0.015 286.067);
    --brand: oklch(0.55 0.16 255);
    --brand-foreground: oklch(0.985 0 0);
    --success: oklch(0.55 0.16 145);
    --warning: oklch(0.75 0.16 85);
    --info: oklch(0.55 0.18 250);
    --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;
}