amzn / style-dictionary

A build system for creating cross-platform styles.
https://styledictionary.com
Apache License 2.0
3.87k stars 543 forks source link

feat: move transforms global prop to hooks.transforms, align api #1183

Closed jorenbroekema closed 4 months ago

jorenbroekema commented 4 months ago

Issue #, if available: https://github.com/amzn/style-dictionary/issues/1049

Description of changes: Similar to preprocessors, move it under the hooks prop, its transformer function has been renamed to transform

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.