You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to have my colors in hsl format, but when I add transforms: ['color/hsl'] to my config, it seems to override "transformGroup": "css",.
I don't see a way to import the css transform group from style-dictionary in order to spread it into my transforms array.
I think my best bet is to just avoid transformGroup and reconstruct it manually. Just curious if there's a more elegant approach, or if that's the recommended way.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'd like to have my colors in hsl format, but when I add
transforms: ['color/hsl']
to my config, it seems to override"transformGroup": "css",
.I don't see a way to import the css transform group from style-dictionary in order to spread it into my
transforms
array.I think my best bet is to just avoid
transformGroup
and reconstruct it manually. Just curious if there's a more elegant approach, or if that's the recommended way.Beta Was this translation helpful? Give feedback.
All reactions