mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-25 17:45:53 +01:00
Critical renders as an outline badge on the destructive tokens (border-destructive/60 text-destructive; AA vs --card: 4.76:1 light, 4.69:1 dark — no dark override needed). High becomes a neutral outline (border-border text-muted-foreground). Medium/Low stay badge-less. Deletes the unconsumed severityStyle/SEVERITY_STYLE map (filled red/orange/yellow/blue accents; zero component call sites) — severity keys a badge, never card color, and the tone-vs-severity invariant test is preserved. Badge tests updated in lockstep: old literal assertions replaced with token-shaped ones (outline = no bg- class, no palette red/ orange). Part of the Quiet Ledger series (commit 1 of 6). Co-Authored-By: Paperclip <noreply@paperclip.ing>
@paperclipai/ui
Published static assets for the Paperclip board UI.
What gets published
The npm package contains the production build under dist/. It does not ship the UI source tree or workspace-only dependencies.
Storybook
Storybook config, stories, and fixtures live under ui/storybook/.
pnpm --filter @paperclipai/ui storybook
pnpm --filter @paperclipai/ui build-storybook
Typical use
Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.