respira/src/utils
Jan-Henrik Bruhn ab9b22b9b8 feature: Implement unified semantic color system with Tailwind v4
- Define semantic color theme in App.css using @theme directive
  - Primary (blue), Success (green), Warning (amber), Danger (red)
  - Info (cyan), Accent (purple), Secondary (orange), Tertiary (teal)
  - Semantic colors reference Tailwind color variables via var()
  - Media query-based dark mode for canvas colors
- Migrate all 16 components from direct Tailwind colors to semantic names
- Create cssVariables.ts utility for Konva canvas color access
- Update KonvaComponents to use CSS variables dynamically
- Replace @apply with CSS variables in index.css for v4 compatibility
- Remove unused designTokens.ts file
- Improve light mode contrast with gray-300 app background
- Adjust canvas and info box backgrounds to gray-200

Benefits:
- Easy theme customization by updating App.css @theme block
- Consistent semantic naming across all components
- Proper dark mode support via media queries
- No visual regressions, all colors maintained

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-17 21:43:36 +01:00
..
bluetoothSupport.ts feature: Add browser compatibility detection for Web Bluetooth 2025-12-16 23:54:55 +01:00
cssVariables.ts feature: Implement unified semantic color system with Tailwind v4 2025-12-17 21:43:36 +01:00
errorCodeHelpers.ts Add comprehensive error descriptions and solutions for all machine error codes 2025-12-06 20:38:02 +01:00
konvaRenderers.ts feature: Reorganize code into formats folder structure 2025-12-14 12:19:21 +01:00
machineStateHelpers.ts Fix PEN encoding and improve UI layout 2025-12-06 12:56:27 +01:00
timeCalculation.ts fix: Calculate time correctly per color block using Brother formula 2025-12-17 12:19:24 +01:00