trails/packages/ui/src
Ullrich Schäfer 1d3ba956cb
feat(planner): restyle Export + SaveToJournal buttons on tokens
Bring the two slotted topbar actions onto the design system so the bar
reads as one cohesive surface:

- SaveToJournalButton: primary Button primitive; "saved" uses the
  accent, error uses a new --color-danger token, and the return link
  gets secondary token styling.
- ExportButton: token split-button (secondary look, chevron icon,
  single divider) and a token dropdown menu (raised surface, soft
  shadow, muted descriptions).
- New --color-danger token (#a03c3c, the no-go hue at full strength)
  for error text.

Behavior and i18n unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 00:42:37 +02:00
..
Avatar.test.tsx feat(ui): topbar primitives — IconButton, SegmentedControl, Avatar 2026-07-15 23:43:14 +02:00
Avatar.tsx feat(ui): topbar primitives — IconButton, SegmentedControl, Avatar 2026-07-15 23:43:14 +02:00
Badge.test.tsx feat(ui): shared primitives (Button, Badge, Card, Input) on the tokens 2026-07-15 23:32:28 +02:00
Badge.tsx feat(ui): shared primitives (Button, Badge, Card, Input) on the tokens 2026-07-15 23:32:28 +02:00
Button.test.tsx feat(ui): shared primitives (Button, Badge, Card, Input) on the tokens 2026-07-15 23:32:28 +02:00
Button.tsx feat(ui): shared primitives (Button, Badge, Card, Input) on the tokens 2026-07-15 23:32:28 +02:00
Card.test.tsx feat(ui): shared primitives (Button, Badge, Card, Input) on the tokens 2026-07-15 23:32:28 +02:00
Card.tsx feat(ui): shared primitives (Button, Badge, Card, Input) on the tokens 2026-07-15 23:32:28 +02:00
cn.ts feat(ui): shared primitives (Button, Badge, Card, Input) on the tokens 2026-07-15 23:32:28 +02:00
IconButton.test.tsx feat(ui): topbar primitives — IconButton, SegmentedControl, Avatar 2026-07-15 23:43:14 +02:00
IconButton.tsx feat(ui): topbar primitives — IconButton, SegmentedControl, Avatar 2026-07-15 23:43:14 +02:00
index.ts feat(ui): Select primitive; restyle ProfileSelector on tokens 2026-07-16 00:12:23 +02:00
Input.test.tsx feat(ui): shared primitives (Button, Badge, Card, Input) on the tokens 2026-07-15 23:32:28 +02:00
Input.tsx feat(ui): shared primitives (Button, Badge, Card, Input) on the tokens 2026-07-15 23:32:28 +02:00
SegmentedControl.test.tsx feat(ui): topbar primitives — IconButton, SegmentedControl, Avatar 2026-07-15 23:43:14 +02:00
SegmentedControl.tsx feat(ui): topbar primitives — IconButton, SegmentedControl, Avatar 2026-07-15 23:43:14 +02:00
Select.test.tsx feat(ui): Select primitive; restyle ProfileSelector on tokens 2026-07-16 00:12:23 +02:00
Select.tsx feat(ui): Select primitive; restyle ProfileSelector on tokens 2026-07-16 00:12:23 +02:00
theme.css feat(planner): restyle Export + SaveToJournal buttons on tokens 2026-07-16 00:42:37 +02:00