Adding tokens.attributes.type === 'box-shadow' in StyleDictionary.registerTransform() adds an extra px onto the default box-shadow color tokens (but not dark?)
Adding that transform is necessary to properly generate box shadow tokens, but maybe there's another way to accomplish that without adding the 'px' to the wrong tokens.
Adding
tokens.attributes.type === 'box-shadow'
in StyleDictionary.registerTransform() adds an extrapx
onto the default box-shadow color tokens (but not dark?)_Originally posted by @srambach in https://github.com/patternfly/design-tokens/pull/20#discussion_r1495209630_
Adding that transform is necessary to properly generate box shadow tokens, but maybe there's another way to accomplish that without adding the 'px' to the wrong tokens.