feat(cli): add theme customization flags to create command - #3
Conversation
…e command Scaffolded projects can now be themed at creation time. The CLI generates a complete app.css with OKLCH color variables, font imports, and marquee utilities based on the selected theme configuration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughIntroduces a complete theme customization system for the CLI, enabling users to customize application appearance via command-line flags (--theme, --base-color, --radius, --font). Adds 21 built-in color themes, theme utilities for CSS generation and color conversion, argument parsing with validation, and comprehensive test coverage for theme-related functionality. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
--theme,--base-color,--radius,--fontflags to thecreatecommand so scaffolded projects get the chosen theme applied toapp.csspackages/cli/src/theme/app.cssTest plan
bunx tsc --noEmit— no type errors in theme filesbun run build— builds successfully (64.82 kB bundle)bun test— 24/24 tests passingbunx create-start-kit-dev create my-app --theme blue --base-color zincproduces themedapp.cssbunx create-start-kit-dev create my-appproduces defaultapp.css(unchanged behavior)bunx create-start-kit-dev create --theme nonexistentwarns and uses default🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes
New Features
Documentation
Tests