* fix(ui/topbar): replace Jump to with a command palette, drop filler chrome Jump to opens a shadcn-vue Command dialog that finds pages, tasks and workflows by name. The connection indicator shows only when the stream is lost, the dead documentation link is gone, and the profile menu label has no stray whitespace. * fix(ui): trim stray whitespace from template text and drop em dashes from copy Element text that started or ended with a line break rendered with leading and trailing spaces. Also removes the unused 'soon' nav state and the nav group components no route reaches. * fix(ui): drop the space a hidden spinner left before button text * fix(ui/status): one dense Status page, full-width settings, problems-only apply status Status drops its tabs and the duplicate health card; services list only what is wrong. Settings pages use the full width, the resizable sidebar handle is gone, and apply status shows only processes that have not applied a change. PageHeader puts the title and actions on one line. * refactor(ui): use shadcn ToggleGroup and Badge, drop SegmentedControl and StatusPill Status badges show only when a state needs attention: no Running, Enabled, Active, Listening or live pills next to healthy rows. Removes the unused pagination, radio-group and scroll-area components. * fix(ui/history): use the shadcn Table with fixed columns so nothing is clipped * fix(ui/workflows): apply ?workflow= only once the workflow is listed Selecting it before the definitions loaded opened an empty canvas. * refactor(ui/workflows): use shadcn Input, NativeSelect, Checkbox and Button in editors Replaces hand-rolled inputs, selects, the repository mode switch and icon buttons in the workflow editor, bind dialog, harness page, sources panel and review gate. Adds the upstream shadcn-vue NativeSelect. * style(ui): rounded-rectangle controls instead of pills Halves the radius scale so inputs, selects and buttons stop reading as pills, and badges and chips lose their full rounding. * fix(ui/alerts): centre the bell's failed state and stop it contradicting Needs you * fix(ui/tasks): one header line, aligned columns, no placeholder issue numbers Tasks puts its filters beside the title and drops the stat tiles the dashboard already shows. Sort headers align with their cells, chat tasks no longer show their synthetic issue number, and Logs and the task not-found page use the shared header. * fix(ui/dashboard): shared header and cards, empty cards stay silent Needs you uses the shadcn Card and drops its duplicate Open button; quality gates and token outlook render only when there is something to show; the throughput strip moves into the dashboard, its only user. * refactor(ui/stores): one Pinia store per feature Splits the site-wide control-plane store and the module-level refs into settings, workflows, tasks, events, org and session stores. Identity requests move into lib/api. Drops store fields nothing read: per-resource stream state, the states map and loadApplyStatus. * fix(ui/org): one header for the org area, sections drop their repeated titles The org name is the page title with the admin's org switcher and New org beside it; Members and Workspaces tables sit in cards like other pages. * fix(ui/events): shadcn Tabs for the capture, map and bind steps Replaces the numbered step strip with line tabs that carry each step's count; the Listening pill is gone and Capture off shows only when it is. * fix(ui/workflows): confirm a workflow delete in an AlertDialog, not window.confirm * style(ui/settings): denser setting rows
275 lines
9.2 KiB
CSS
275 lines
9.2 KiB
CSS
@import "@fontsource-variable/ibm-plex-sans";
|
|
@import "@fontsource/ibm-plex-mono/400.css";
|
|
@import "@fontsource/ibm-plex-mono/500.css";
|
|
|
|
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
@import "./shadcn.css";
|
|
|
|
/* ui/dist is committed, so nothing ignores it and Tailwind's automatic content
|
|
detection scans it. That makes every build an input to the next one: class
|
|
strings left in the committed bundle generate utilities for classes nothing
|
|
references any more, so rebuilding an unchanged tree produced a different
|
|
bundle and tools/uidist.sh's freshness check failed on the first build after
|
|
every change. The bundle is generated, never a source. */
|
|
@source not "../dist";
|
|
|
|
/* The theme is an attribute on <html>, not a class, so the inline script in
|
|
index.html can set it before the first paint and a reload does not flash the
|
|
wrong palette. */
|
|
@custom-variant dark (&:is([data-theme="dark"] *));
|
|
|
|
/* Compact mode tightens the shared Tailwind spacing scale without shrinking
|
|
text or hit targets independently. Components keep their relative rhythm;
|
|
the whole workspace simply carries less air. */
|
|
[data-density="compact"] {
|
|
--spacing: 0.225rem;
|
|
}
|
|
|
|
/*
|
|
* Design tokens. Dark is the default because archied is a daemon you check at
|
|
* odd hours; light is a toggle, not an afterthought, so both themes define the
|
|
* same variable set and nothing else in the app references a raw colour.
|
|
*
|
|
* Semantic names only. Never `--violet`; always `--primary` or `--ok`, so a
|
|
* palette change is one file rather than a grep.
|
|
*
|
|
* Names on the left are shadcn-vue's contract, so its components pick the
|
|
* palette up with no per-component overrides. Names on the right that shadcn
|
|
* does not define (status colours, the subtle foreground, the glass surfaces)
|
|
* are ours.
|
|
*
|
|
* The dark theme is Graphite (docs/design/ui-redesign/tokens/tokens.css):
|
|
* neutral warm greys and one low-chroma accent. Every foreground is
|
|
* checked against every surface it lands on, hover states included, at AA
|
|
* (4.5:1), and the ratios in the comments are the measured ones.
|
|
*/
|
|
@theme inline {
|
|
--font-sans: "IBM Plex Sans Variable", system-ui, sans-serif;
|
|
--font-heading: var(--font-sans);
|
|
--font-mono: "IBM Plex Mono", ui-monospace, monospace;
|
|
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--color-card: var(--card);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-primary-soft: var(--primary-soft);
|
|
--color-link: var(--link);
|
|
--color-secondary: var(--secondary);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-destructive: var(--destructive);
|
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
--color-destructive-soft: var(--destructive-soft);
|
|
--color-border: var(--border);
|
|
--color-border-strong: var(--border-strong);
|
|
--color-input: var(--input);
|
|
--color-ring: var(--ring);
|
|
--color-hairline: var(--hairline);
|
|
|
|
/* Foreground ramp. --muted-foreground is shadcn's; --fg-subtle is the
|
|
quieter third step the dashboard's secondary text uses. */
|
|
--color-fg-muted: var(--fg-muted);
|
|
--color-fg-subtle: var(--fg-subtle);
|
|
|
|
/* Status. Task state, gate results and trend direction all draw from here,
|
|
so the same colour always means the same thing wherever it appears. */
|
|
--color-ok: var(--ok);
|
|
--color-ok-soft: var(--ok-soft);
|
|
--color-warn: var(--warn);
|
|
--color-warn-soft: var(--warn-soft);
|
|
--color-danger: var(--danger);
|
|
--color-danger-soft: var(--danger-soft);
|
|
--color-info: var(--info);
|
|
--color-info-soft: var(--info-soft);
|
|
--color-idle: var(--idle);
|
|
--color-idle-soft: var(--idle-soft);
|
|
|
|
--radius-sm: 4px;
|
|
--radius-md: 6px;
|
|
--radius-lg: 8px;
|
|
--radius-xl: 12px;
|
|
}
|
|
|
|
/* ── Dark (default) ─────────────────────────────────────────────────────── */
|
|
:root,
|
|
[data-theme="dark"] {
|
|
color-scheme: dark;
|
|
|
|
/* Graphite: warm neutral greys with no hue cast. Hierarchy comes from
|
|
surface steps and borders, never from tinted backgrounds. */
|
|
--background: #121314;
|
|
--card: #16171a;
|
|
--card-foreground: #e8e6e1;
|
|
--popover: #17181a;
|
|
--popover-foreground: #e8e6e1;
|
|
--foreground: #e8e6e1;
|
|
|
|
/* The one accent. Everything that marks "active", "focused", "on" or the
|
|
primary action derives from --primary, so swapping this line (steel
|
|
#8aa4c2, sand #d4a373, muted violet #a397c9) retints the whole app.
|
|
Ink #101412 on sage is 8.1:1. */
|
|
--primary: #86b5a0;
|
|
--primary-foreground: #101412;
|
|
--primary-soft: rgba(134, 181, 160, 0.12);
|
|
--link: var(--primary);
|
|
|
|
/* shadcn's `accent` is the hover surface, not the brand colour. */
|
|
--secondary: #1e2023;
|
|
--secondary-foreground: #e8e6e1;
|
|
--muted: #1e2023;
|
|
--muted-foreground: #a6a39b;
|
|
--accent: #1e2023;
|
|
--accent-foreground: #e8e6e1;
|
|
|
|
--destructive: #d9776b;
|
|
--destructive-foreground: #121314;
|
|
--destructive-soft: rgba(217, 119, 107, 0.08);
|
|
|
|
--border: #2a2c30;
|
|
--border-strong: #34373c;
|
|
--input: #2e3034;
|
|
--ring: var(--primary);
|
|
|
|
--fg-muted: #a6a39b;
|
|
/* The dimmest text allowed: 5.3:1 on the card, 4.9:1 on hover surfaces; hints and captions only. */
|
|
--fg-subtle: #8f8c85;
|
|
|
|
--ok: var(--primary);
|
|
--ok-soft: var(--primary-soft);
|
|
--warn: #d9a45b;
|
|
--warn-soft: rgba(217, 164, 91, 0.08);
|
|
--danger: #d9776b;
|
|
--danger-soft: rgba(217, 119, 107, 0.08);
|
|
/* Info is the "working" agent-state swatch, the only hue besides the
|
|
accent, amber and red. */
|
|
--info: #8aa4c2;
|
|
--info-soft: rgba(138, 164, 194, 0.1);
|
|
--idle: #8f8c85;
|
|
--idle-soft: rgba(143, 140, 133, 0.1);
|
|
|
|
--bg-blur: rgba(18, 19, 20, 0.6);
|
|
--surface-glass: var(--card);
|
|
--surface-glass-strong: var(--popover);
|
|
--workspace: var(--background);
|
|
--hairline: #202225;
|
|
|
|
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
|
|
--shadow-md: 0 8px 28px rgba(0, 0, 0, 0.4);
|
|
--shadow-workspace: none;
|
|
|
|
--transition: 140ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
/* ── Light ──────────────────────────────────────────────────────────────── */
|
|
/* Not part of the Graphite handoff: the same neutral rules on paper, with a
|
|
darker sage so white labels and accent text clear AA. */
|
|
[data-theme="light"] {
|
|
color-scheme: light;
|
|
|
|
--background: #f5f4f1;
|
|
--card: #ffffff;
|
|
--card-foreground: #1f1f1d;
|
|
--popover: #ffffff;
|
|
--popover-foreground: #1f1f1d;
|
|
--foreground: #1f1f1d;
|
|
|
|
/* White on #3f6f5a is 5.8:1; as text on the canvas, 5.3:1. */
|
|
--primary: #3f6f5a;
|
|
--primary-foreground: #ffffff;
|
|
--primary-soft: rgba(63, 111, 90, 0.1);
|
|
--link: var(--primary);
|
|
|
|
--secondary: #ecebe7;
|
|
--secondary-foreground: #1f1f1d;
|
|
--muted: #ecebe7;
|
|
--muted-foreground: #5c5a55;
|
|
--accent: #ecebe7;
|
|
--accent-foreground: #1f1f1d;
|
|
|
|
--destructive: #b3413a;
|
|
--destructive-foreground: #ffffff;
|
|
--destructive-soft: rgba(179, 65, 58, 0.08);
|
|
|
|
--border: #dcdad4;
|
|
--border-strong: #c7c4bd;
|
|
--input: #d4d1ca;
|
|
--ring: var(--primary);
|
|
|
|
--fg-muted: #5c5a55;
|
|
--fg-subtle: #66635d;
|
|
|
|
--ok: var(--primary);
|
|
--ok-soft: var(--primary-soft);
|
|
--warn: #8a5a12;
|
|
--warn-soft: rgba(138, 90, 18, 0.1);
|
|
--danger: #b3413a;
|
|
--danger-soft: rgba(179, 65, 58, 0.08);
|
|
--info: #3d5f86;
|
|
--info-soft: rgba(61, 95, 134, 0.1);
|
|
--idle: #5f5d58;
|
|
--idle-soft: rgba(95, 93, 88, 0.1);
|
|
|
|
--bg-blur: rgba(245, 244, 241, 0.6);
|
|
--surface-glass: var(--card);
|
|
--surface-glass-strong: var(--popover);
|
|
--workspace: var(--background);
|
|
--hairline: #e6e4df;
|
|
|
|
--shadow-sm: 0 1px 2px rgba(31, 31, 29, 0.06);
|
|
--shadow-md: 0 8px 28px rgba(31, 31, 29, 0.1);
|
|
--shadow-workspace: none;
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
@apply font-sans;
|
|
background: var(--background);
|
|
padding: 1rem;
|
|
}
|
|
/* The focus floor. A component may style its own focus state; this
|
|
guarantees that nothing is ever focused and invisible for a keyboard
|
|
user. `:focus-visible` rather than `:focus` so a mouse click does not
|
|
draw a ring around what was clicked. */
|
|
:focus-visible {
|
|
outline: 2px solid var(--primary);
|
|
outline-offset: 2px;
|
|
}
|
|
/* The frame is a desktop affordance: below this width the workspace goes
|
|
edge to edge, because a rounded card inset on a phone wastes the only
|
|
axis that matters. */
|
|
@media (width < 64rem) {
|
|
body {
|
|
padding: 0;
|
|
}
|
|
}
|
|
/* An accessibility invariant, not a nicety: nothing animates for someone
|
|
who has asked it not to. */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|
|
|
|
[data-motion="reduced"] *,
|
|
[data-motion="reduced"] *::before,
|
|
[data-motion="reduced"] *::after {
|
|
animation-duration: 0.01ms !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|