trails/packages/ui
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
..
src feat(planner): restyle Export + SaveToJournal buttons on tokens 2026-07-16 00:42:37 +02:00
package.json feat(ui): shared primitives (Button, Badge, Card, Input) on the tokens 2026-07-15 23:32:28 +02:00
tsconfig.json feat(ui): shared primitives (Button, Badge, Card, Input) on the tokens 2026-07-15 23:32:28 +02:00
vitest.config.ts feat(ui): shared primitives (Button, Badge, Card, Input) on the tokens 2026-07-15 23:32:28 +02:00