How to extend transformGroup? #1110
-
I'd like to have my colors in hsl format, but when I add I don't see a way to import the css transform group from style-dictionary in order to spread it into my I think my best bet is to just avoid |
Beta Was this translation helpful? Give feedback.
Answered by
TrevorRice
Jul 29, 2024
Replies: 1 comment 2 replies
-
You should be able to append your custom transform like so: StyleDictionary.registerTransformGroup({
name: 'custom/css',
transforms: StyleDictionary.transformGroup.css.concat([
"color/hsl"
])
}); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jorenbroekema
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should be able to append your custom transform like so: