Skip to content

How to extend transformGroup? #1110

Answered by TrevorRice
IanVS asked this question in Q&A
Feb 28, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

You should be able to append your custom transform like so:

StyleDictionary.registerTransformGroup({
  name: 'custom/css',
  transforms: StyleDictionary.transformGroup.css.concat([
    "color/hsl"
  ])
});

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jorenbroekema
Comment options

@IanVS
Comment options

Answer selected by jorenbroekema
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants