- Add helpers to convert CompositionToken to InputDecoration.
- Make Composition widget an AnimatedContainer so theme changes are animated. (Can be disabled by passing in a Duration.zero)
- [BREAKING] Added theme support (see example for details).
- Remove dependency on TinyColor2 and Flutter framework.
- Fix bug in resolving reverences when a reference is a reference to a reference.
- Add support for color modifiers. (in srgb space)
- lighten
- darken
- mix
- alpha
- Add support for math operations. This includes:
- add
- subtract
- multiply
- divide
- Add support for linear gradients.
- Added support for shadows (separate and within Composition tokens).
- Added support for typography in Composition tokens.
- Fixed bug in Color transformer when encountering a hex color with alpha.
- Added support for Color Modifier alpha.
- Working on Composition tokens and added a Composition widget to use them in your app.
- Added a json + dart example to the example folder that shows how to use the Composition widget.
- Add support for MaterialColors when multiple colors are defined with int keys (100, 200, 300, 400).
- Added support for border radius.
- Added more documentation.
- Added tests for extension methods.
- Added output when running the command.
- Basic json parsing for tokens.
- Add ability to detect sets and token overrides.
- Add ability to detect references to other tokens.
- Add group type that will be used in the group when the children don't have a type defined.
- Added Color transformer to generate Flutter colors.
- Added Spacing transformer to generate Flutter EdgeInsets.
- Added Typography transformer to generate Flutter TextStyle.