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
As a follow-up to #1992 (#1947), we would like to migrate to using composite tokens similar to what's proposed in the W3C spec for the following tokens types:
Shadow
Transition
Typography
Border
By using composite tokens, each component of a style property is explicitly defined as its own attribute as opposed to assuming the value to be a platform-specific implementation (e.g., CSS).
style-dictionary does support composite tokens but its default transforms/filters do no handle them already, so we may need to write custom transformers. There is a collection of useful transformers we might be able to use as a starting point. Examples:
As a follow-up to #1992 (#1947), we would like to migrate to using composite tokens similar to what's proposed in the W3C spec for the following tokens types:
By using composite tokens, each component of a style property is explicitly defined as its own attribute as opposed to assuming the value to be a platform-specific implementation (e.g., CSS).
style-dictionary
does support composite tokens but its default transforms/filters do no handle them already, so we may need to write custom transformers. There is a collection of useful transformers we might be able to use as a starting point. Examples:Additional Resources
The text was updated successfully, but these errors were encountered: