design_system_generator 5.1.0 copy "design_system_generator: ^5.1.0" to clipboard
design_system_generator: ^5.1.0 copied to clipboard

A generator for design system tokens, build from a json configuration for dart/flutter. Generates colors, spatials, breakpoints, and other useful elements from a configuration.

5.1.0 (2025-02-25) #

Features #

5.0.0 (2025-02-10) #

  • ci: use service account for publishing to pubDev (#13) (7a76173)
  • chore!: bump to v5.0.0 (#12) (dc25b9e)
  • ci: update cycjimmy/semantic-release-action from v3 to v4 (#11) (7aef10d)
  • chore(deps)!: update dart_style from v2 to v3 (#10) (9c9d3e2)

BREAKING CHANGES #

  • Use caret syntax for dependencies
  • Use latestLanguageVersion in DartFormatter. This is required for compatibility with dart_style v3.

4.1.0 (2023-12-12) #

Features #

  • add icon size and border width generators (#9) (c64df60)

4.0.0 (2023-08-29) #

Features #

BREAKING CHANGES #

  • This removes the binary executable from the package and re-introduces the build_runner system. It allows multiple design systems to be configured and is more aligned to the "standard" dart build behaviour. To migrate: Move the design-system.json file into the lib/ folder and give it another name, such as app.design-system.json. Then remove your ref to the binary dart run design_system_generator generate and just run dart run build_runner build instead.

3.2.0 (2023-06-30) #

Features #

  • add typography text style generator (#5) (700a1c9)

3.1.1 (2023-06-27) #

Bug Fixes #

  • colors: correctly attach prefixes and create camelCase names. (2f854e8)

3.1.0 (2023-06-22) #

Features #

  • allow "false" as constant to disable specific branch of generation (#4) (273205d)

3.0.0 (2023-06-12) #

Features #

  • upgrade to new flutter app and improve code generation. (#3) (44d4e1e)

BREAKING CHANGES #

  • Flutter 2.x is not supported anymore. This upgrades the generator to SDK

= 3.x && < 4.x. Projects that use the generator need to update their Flutter project to use SDK = 3.x.

2.0.0 (2023-03-23) #

Features #

BREAKING CHANGES #

  • since the dart build system is not as dynamic as it should be for this usecase, using a builder is not sufficient. Now a CLI executable is used to find and parse the design system configuration and then generate the specific design token files according to the configuration.

1.0.0 (2023-03-17) #

Bug Fixes #

  • json schema must require at least one prop per topic (2a80893)

Features #

  • add border radii builder for rounded corners (ed4a727)
  • add color builder to generate app color class and enum (a890298)
  • add screenbuilder that creates app breakpoints and a responsive value helper (5410155)
  • add spatial builder to create a general way for spacings in the app (686483b)
  • color generator: add default values if none provided (8c6ccae)
3
likes
160
points
453
downloads

Publisher

verified publishersmartive.ch

Weekly Downloads

A generator for design system tokens, build from a json configuration for dart/flutter. Generates colors, spatials, breakpoints, and other useful elements from a configuration.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

build, code_builder, dart_style

More

Packages that depend on design_system_generator