design_system_generator 2.0.0
design_system_generator: ^2.0.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.
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)