carpenter_mordant 0.4.1 copy "carpenter_mordant: ^0.4.1" to clipboard
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.yaml files.

0.4.0 #

Added #

  • Mordant now parses and generates typed Degrees, Radians, and Turns tokens from deg, rad, and turn values provided by carpenter_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 #

Added #

  • ms and s token values backed by carpenter_units duration objects.

Changed #

  • Unit parsing and value representation now use carpenter_units 0.2.x.
  • Generated Dart preserves each concrete unit type.

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, and rem token values.
  • Token references using ${...} syntax.
  • Indexed token groups such as palette.brand[500].
  • Recursive $include support for splitting token definitions across files.
  • Duplicate token and circular include validation.
  • $generate compile-time generators.
  • HCT-based palette generation from a seed color.
  • Automatic formatting of generated Dart code.
  • Integration with build_runner.