carpenter_mordant 0.4.1
carpenter_mordant: ^0.4.1 copied to clipboard
Typed design tokens and YAML code generation for Flutter.
0.4.1 #
Documentation #
- Documented how to organize large token sources with root manifests and
logically owned
.mordant.part.yamlfiles.
0.4.0 #
Added #
- Mordant now parses and generates typed
Degrees,Radians, andTurnstokens fromdeg,rad, andturnvalues provided bycarpenter_units.
0.3.0 #
Changed #
- Palette generation now uses OKLCH with chroma-reduction sRGB gamut mapping.
- Palette seeds accept DTCG-style OKLCH components and retain hex-seed compatibility.
0.2.0 #
0.1.0 #
Initial release.
Added #
- YAML-based typed design tokens for Flutter.
- Generated strongly typed Dart token APIs.
- Color, number, string, boolean,
px,em, andremtoken values. - Token references using
${...}syntax. - Indexed token groups such as
palette.brand[500]. - Recursive
$includesupport for splitting token definitions across files. - Duplicate token and circular include validation.
$generatecompile-time generators.- HCT-based palette generation from a seed color.
- Automatic formatting of generated Dart code.
- Integration with
build_runner.