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
Design tokens are a methodology for expressing design decisions in a platform-agnostic way so that they can be shared across different disciplines, tools, and technologies.
Why then are composite tokens limited to a specific set (Stroke, Border, Transition, Shadow, Gradient, Typography — which seem to be related to CSS shorthands)? And is this really platform agnostic?
For example, if I have a platform that has a use case that relies on color pairs (background, foreground), can I define a token following the current draft?
Can I define my own composite type?
The text was updated successfully, but these errors were encountered:
MatthiasDunker
changed the title
Limiting of composite token types to a given set is not platform agnostic
Limiting composite token types to a given set is not platform agnostic
May 26, 2022
The Introduction of the current Draft Report says:
Why then are composite tokens limited to a specific set (Stroke, Border, Transition, Shadow, Gradient, Typography — which seem to be related to CSS shorthands)? And is this really platform agnostic?
For example, if I have a platform that has a use case that relies on color pairs (background, foreground), can I define a token following the current draft?
Can I define my own composite type?
Type
colorPair
could be defined asUsage would be:
What do you think?
The text was updated successfully, but these errors were encountered: