# Rustyle 0.2.0 Release Notes
## 🎉 Transformative Release
Rustyle 0.2.0 is a major release that transforms Rustyle into a comprehensive, type-safe, modern CSS-in-Rust solution with exceptional developer experience.
## 🚀 Key Highlights
### Design System & Tokens
- **Comprehensive design token system** - Centralized colors, spacing, typography, shadows, borders, and animations
- **Type-safe color scales** - 50-950 color scales with semantic colors
- **Component system** - Pre-built Button, Card, and Input components with variants and states
### Modern CSS Features (2025)
- **View Transitions API** - Smooth page transitions
- **Advanced selectors** - `:has()`, `:is()`, `:where()` support
- **@scope and @starting-style** - Modern CSS scoping and entry animations
- **CSS Grid Subgrid** - Full grid system with subgrid support
### Enhanced Theming
- **Multi-theme support** - Light/dark themes with smooth transitions
- **System theme detection** - Automatic dark/light mode support
- **Design token integration** - Themes built on design tokens
### Performance & Developer Experience
- **Critical CSS extraction** - Above-the-fold CSS optimization
- **Hot Module Replacement** - Fast refresh for style changes (dev mode)
- **Enhanced error messages** - Context-aware errors with suggestions
- **CSS linting** - Accessibility, performance, and best practice checks
### Accessibility
- **Focus management** - Automatic focus-visible styles
- **Reduced motion support** - Respects user preferences
- **Color contrast checking** - WCAG AA/AAA validation
## 📦 Installation
```toml
[dependencies]
rustyle = "0.2.0"
leptos = "0.8.14"
```
## 📚 Documentation
- [README.md](README.md) - Comprehensive documentation
- [MIGRATION.md](MIGRATION.md) - Migration guide from 0.1.0
- [CHANGELOG.md](CHANGELOG.md) - Full changelog
## 🔄 Migration
Rustyle 0.2.0 maintains backward compatibility with 0.1.0 for basic usage. See [MIGRATION.md](MIGRATION.md) for detailed migration instructions.
## 🙏 Thanks
Thank you to all contributors and users of Rustyle!