Commit Graph

4 Commits

Author SHA1 Message Date
ea06e2e9d3 refactor: migrate to Tailwind CSS 4 native configuration
Convert from Tailwind CSS 3 style to Tailwind CSS 4 native approach:
- Install @tailwindcss/postcss plugin
- Create postcss.config.mjs with Tailwind PostCSS plugin
- Migrate all custom theme colors to globals.css using @theme directive
- Remove tailwind.config.ts (no longer needed in Tailwind CSS 4)
- Update globals.css from @import style to native CSS with custom properties

Custom theme includes:
- 23 category-specific colors as CSS custom properties
- --color-category-* naming convention for all unit types
- Follows Tailwind CSS 4 best practices with @theme block

Benefits:
- Native CSS features, no JS config needed
- Better performance with PostCSS plugin
- Cleaner separation of concerns
- Follows Tailwind CSS 4 migration guide

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 09:26:11 +01:00
48b75b9755 feat: initialize Next.js 16 project with TypeScript and Tailwind CSS 4
Set up complete Next.js 16 development environment:
- Next.js 16.0.1 with App Router and Turbopack
- React 19.2.0 with TypeScript 5.9
- Tailwind CSS 4.1.17 with custom category colors
- ESLint 9 with Next.js config
- Static site generation enabled (output: 'export')

Project structure:
- app/ directory with layout, page, and globals.css
- Tailwind config with 23 category-specific colors
- TypeScript config with strict mode and path aliases
- Complete .gitignore for Next.js projects

Dependencies installed:
- convert-units 2.3.4 for unit conversions
- All React 19 and Next.js 16 dependencies
- Development tooling (TypeScript, ESLint, Tailwind)

Ready for Phase 2: Core conversion engine implementation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 09:21:56 +01:00
5c0b8d668e docs: update implementation plan with all 23 unit categories
Update IMPLEMENTATION_PLAN.md to reflect accurate count from convert-units:
- Correct from estimated 13-27 categories to actual 23 categories
- Add complete list of all 23 measures with individual unit counts
- Total of 187 individual units across all categories
- Expand color palette from 8 to 23 distinct category colors
- Update visual comparison section with all 23 color assignments

New categories include:
- Angle, Apparent Power, Current, Illuminance, Pace
- Parts Per, Reactive Energy, Reactive Power, Voltage
- Volume Flow Rate (37 units - largest category)

Discovered through direct library inspection of convert-units package.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 09:16:13 +01:00
9e79e3da4e docs: add comprehensive implementation plan for unit conversion app
Add detailed implementation plan covering:
- Innovative UX features (real-time conversion, visual comparison, power user features)
- Technical architecture with Next.js 16, TypeScript, and Tailwind CSS 4
- Component structure and state management design
- 8-phase implementation roadmap
- Design system with category-based color palette
- Support for 13+ unit categories from convert-units library
- Performance targets and accessibility requirements
- Mobile-first responsive design strategy

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 09:09:16 +01:00