Undefined classes and CSS variables that do nothing #1740

Closed
opened 2026-11-02 04:13:32 +00:00 by sam · 2 comments
Owner

These references resolve to nothing, so the intended style silently drops:

  • text-success is not a token (--ok is). Success marks lose their colour: ui/src/workflows/BindEvent.vue:327, 339, ui/src/chat/ChatToolCall.vue:90, 107.
  • var(--radius) is not defined: ui/src/components/ui/input-group/index.ts:14, 41, 44, ui/src/components/ui/sonner/Sonner.vue:27.
  • hsl(var(--popover) / 0.9) wraps a hex value: Sonner.vue:28.
  • cn-font-heading has no definition: CardTitle, DialogTitle, SheetTitle, PopoverTitle, AlertTitle, AlertDialogTitle, QuestionnaireTitle, EmptyTitle.

Done when: each uses an existing token (text-ok, --radius-*, a defined surface) or is deleted.

These references resolve to nothing, so the intended style silently drops: - `text-success` is not a token (`--ok` is). Success marks lose their colour: `ui/src/workflows/BindEvent.vue:327, 339`, `ui/src/chat/ChatToolCall.vue:90, 107`. - `var(--radius)` is not defined: `ui/src/components/ui/input-group/index.ts:14, 41, 44`, `ui/src/components/ui/sonner/Sonner.vue:27`. - `hsl(var(--popover) / 0.9)` wraps a hex value: `Sonner.vue:28`. - `cn-font-heading` has no definition: CardTitle, DialogTitle, SheetTitle, PopoverTitle, AlertTitle, AlertDialogTitle, QuestionnaireTitle, EmptyTitle. Done when: each uses an existing token (`text-ok`, `--radius-*`, a defined surface) or is deleted.
sam added the mediumbug labels 2026-11-02 04:13:32 +00:00
sam self-assigned this 2026-11-02 04:13:32 +00:00
Author
Owner

Fixed in 48e605a5 and pushed. text-success → text-ok (ChatToolCall, BindEvent); var(--radius) → var(--radius-lg) (input-group, Sonner border-radius); Sonner's hsl(var(--popover)/0.9) over a hex → plain #2b2d33; cn-font-heading deleted from all nine title components (CardTitle, DialogTitle, SheetTitle, PopoverTitle, AlertTitle, AlertDialogTitle, QuestionnaireTitle, EmptyTitle, ItemTitle). Verified: task check passed on the committed tree; no remaining references to any of the four dead tokens.

Fixed in 48e605a5 and pushed. text-success → text-ok (ChatToolCall, BindEvent); var(--radius) → var(--radius-lg) (input-group, Sonner border-radius); Sonner's hsl(var(--popover)/0.9) over a hex → plain #2b2d33; cn-font-heading deleted from all nine title components (CardTitle, DialogTitle, SheetTitle, PopoverTitle, AlertTitle, AlertDialogTitle, QuestionnaireTitle, EmptyTitle, ItemTitle). Verified: task check passed on the committed tree; no remaining references to any of the four dead tokens.
Author
Owner

Fixed in 48e605a5 and pushed to main. Gate: task check exited 0 on the committed tree.

Fixed in 48e605a5 and pushed to main. Gate: task check exited 0 on the committed tree.
sam closed this issue 2026-11-07 06:09:27 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1740