flutter_tweakcn_generator 0.2.3
flutter_tweakcn_generator: ^0.2.3 copied to clipboard
Converts tweakcn CSS themes into Flutter ThemeData with ColorScheme, ThemeExtension, Google Fonts, and light/dark mode support.
0.2.3 #
- Add
font_diroption to customize local font download directory (default:fonts)
0.2.2 #
- Fix
font_exclusivenot cleaning up fonts when switching to system font stack - Add missing
font_exclusiveandbuild.yamloptions to README
0.2.1 #
- Add
font_exclusive: trueoption forfont_mode: local: automatically removes font files andpubspec.yamlfont declarations not defined in--font-sans - Auto-clean
fonts/directory: deletes.ttffiles that don't belong to any defined font family - Auto-clean
pubspec.yaml: removes unusedflutter > fontsfamily blocks
0.2.0 #
- Add
font_mode: localoption: downloads.ttffiles from Google Fonts and generatesfontFamily/fontFamilyFallbackcode withoutgoogle_fontsruntime dependency - Auto-download font files into
fonts/directory - Auto-add
flutter > fontsdeclarations topubspec.yaml - Support both
google_fonts(default) andlocalfont modes viapubspec.yamlconfiguration
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