design_system_generator 5.1.0
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.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.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 thelib/
folder and give it another name, such asapp.design-system.json
. Then remove your ref to the binarydart run design_system_generator generate
and just rundart run build_runner build
instead.
3.1.1 - 2023-06-27 #
3.1.0 - 2023-06-22 #
3.0.0 - 2023-06-12 #
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)