trails/pnpm-workspace.yaml
Ullrich Schäfer 34c3a31e73
feat(ui): design-system foundation — shared token layer + fonts
Establish the visual-redesign foundation (task group 1): a single
shared source of design tokens both apps consume, so Planner and
Journal read from one palette/typography layer instead of drifting
per-app.

- New @trails-cool/ui package exporting theme.css: Tailwind v4 @theme
  tokens (warm off-white surfaces, one sage accent, earthy overnight
  tones, elevation-gradient colors, shadows) extracted from the
  visual-redesign mockup.
- Self-hosted Outfit (body) + Geist Mono (stats) via @fontsource-variable
  — privacy-first, no Google Fonts CDN.
- Both apps import the theme and set the base canvas to the warm
  off-white token + Outfit as the default font.

Foundation only: tokens are now available as Tailwind utilities
(bg-bg-raised, text-accent, font-mono, …) and raw CSS vars. Wiring
them into specific surfaces (topbar, sidebar, markers, elevation
chart) is later task groups.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 23:00:28 +02:00

27 lines
624 B
YAML

packages:
- "apps/*"
- "packages/*"
- "scripts"
catalog:
"@fontsource-variable/geist-mono": ^5.2.6
"@fontsource-variable/outfit": ^5.2.7
"@react-router/dev": ^7.17.0
"@react-router/node": ^7.17.0
"@react-router/serve": ^7.17.0
"@sentry/node": ^10.65.0
"@sentry/react": ^10.65.0
"@tailwindcss/vite": ^4.3.2
"@types/node": ^22.20.1
"@types/react": ^19.2.17
"@types/react-dom": ^19.2.3
drizzle-kit: ^0.31.10
drizzle-orm: ^0.45.2
drizzle-postgis: ^1.1.1
postgres: ^3.4.9
react: ^19.2.5
react-dom: ^19.2.7
react-router: ^7.17.0
tailwindcss: ^4.3.2
typescript: ~6.0.3
vite: ^8.1.0