flutter_tweakcn_generator 0.1.0 copy "flutter_tweakcn_generator: ^0.1.0" to clipboard
flutter_tweakcn_generator: ^0.1.0 copied to clipboard

Converts tweakcn CSS themes into Flutter ThemeData with ColorScheme, ThemeExtension, Google Fonts, and light/dark mode support.

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-sans CSS variable to GoogleFonts.xxxTextTheme() generation
  • Code generation: ColorScheme, ThemeExtension (Colors, Radius, Shadows), ThemeData
  • CLI: dart run flutter_tweakcn_generator
  • build_runner: *.tweakcn.css*.tweakcn.dart
1
likes
0
points
78
downloads

Publisher

unverified uploader

Weekly Downloads

Converts tweakcn CSS themes into Flutter ThemeData with ColorScheme, ThemeExtension, Google Fonts, and light/dark mode support.

Repository (GitHub)
View/report issues

Topics

#theme #code-generation #css #design-system #shadcn

License

unknown (license)

Dependencies

build, path, source_gen, yaml

More

Packages that depend on flutter_tweakcn_generator