Commit 1e58337
Refactor CSS into modular architecture with design system
Major architectural improvement reorganizing monolithic CSS into maintainable
modular structure with comprehensive design tokens and build-time optimization.
Key Changes:
• Modular CSS Structure: Split into 9 organized files across base/, animations/, and components/
• CSS Design System: 120+ custom properties for consistent theming and spacing
• Build Integration: PostCSS import resolution for seamless development workflow
• Enhanced Documentation: Comprehensive README and architecture updates
• Performance Optimization: Single optimized CSS output with GPU-accelerated animations
• Accessibility: Reduced motion support and high DPI screen enhancements
Technical Improvements:
• Fixed demo runtime error by resolving CSS @import statements during build
• Added postcss-import plugin for proper CSS module processing
• Created comprehensive design token system with color, spacing, and animation variables
• Implemented mobile-first responsive design with logical breakpoint organization
• Enhanced build pipeline with CSS minification and source map generation
Benefits:
• Maintainability: Clear separation of concerns with logical file organization
• Customization: CSS variables enable easy theming and component variants
• Performance: Optimized animations and efficient selector specificity
• Developer Experience: Well-documented modular structure improves development workflow
• Backward Compatibility: No breaking changes to existing component APIs
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 996f3d3 commit 1e58337
16 files changed
Lines changed: 1455 additions & 654 deletions
File tree
- docs/wiki
- src/styles
- animations
- base
- components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
340 | 416 | | |
341 | 417 | | |
342 | | - | |
| 418 | + | |
343 | 419 | | |
344 | 420 | | |
345 | 421 | | |
| |||
354 | 430 | | |
355 | 431 | | |
356 | 432 | | |
357 | | - | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
358 | 438 | | |
359 | 439 | | |
360 | 440 | | |
| |||
375 | 455 | | |
376 | 456 | | |
377 | 457 | | |
378 | | - | |
| 458 | + | |
379 | 459 | | |
380 | 460 | | |
381 | 461 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
0 commit comments