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

Transforming category name in Swift #932

Open ssayfulin69 opened 1 year ago

ssayfulin69 commented 1 year ago

We have our tokens source in toml and it looks like this:

[category.my-type-1]
attribute1.value = 1
attribute2.value = 2

[category.my-type-2]
attribute1.value = 1
attribute2.value = 2

Is there an out of the box option to

  1. Inside single file create entries for my-type-1 and my-type-2.
  2. Convert my-type-1 and my-type-2 from kebab to camel case?