flutter_tweakcn_generator 0.1.4
flutter_tweakcn_generator: ^0.1.4 copied to clipboard
Converts tweakcn CSS themes into Flutter ThemeData with ColorScheme, ThemeExtension, Google Fonts, and light/dark mode support.
0.1.4 #
- Add
fontFamilyFallbacksupport: multiple Google Fonts in--font-sansare now used as primary + fallback fonts (e.g.Architects Daughter, Noto Sans KR, sans-serif)
0.1.3 #
- Widen
builddependency to>=2.0.0 <5.0.0for broader compatibility - Widen
build_testdependency to>=2.0.0 <4.0.0 - Widen
build_runnerdependency to>=2.0.0 <3.0.0
0.1.2 #
- Widen
builddependency to>=3.0.0 <5.0.0for broader compatibility - Widen
build_testdependency to>=2.0.0 <4.0.0
0.1.1 #
- Update
builddependency to^4.0.0 - Remove unused
source_gendependency - Require Dart SDK
>=3.7.0
0.1.0 #
- Initial release
- CSS parser:
:root(light) /.dark(dark) block parsing - Color formats: hex, rgb, hsl, oklch
- Shadow parsing: CSS box-shadow to
List<BoxShadow> - Google Fonts support:
--font-sansCSS variable toGoogleFonts.xxxTextTheme()generation - Code generation:
ColorScheme,ThemeExtension(Colors, Radius, Shadows),ThemeData - CLI:
dart run flutter_tweakcn_generator - build_runner:
*.tweakcn.css→*.tweakcn.dart