Replies: 3 comments
|
We're going to close this RFC on June 13th unless there's a good reason to keep it open longer. |
0 replies
|
Can you update the naming from Adobe Clean VF to Adobe Clean Spectrum VF? Thank you! |
0 replies
✅ Closing - Composite Typography Tokens ImplementedDiscussion opened: May 22, 2025 The composite typography token proof of concept has been implemented and released. Completed
DeferredThe 15 CJK typography tokens ( Thanks everyone for the feedback! 🎉 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
As a continuation of the previous composite token RFC (drop shadows), we have created a snapshot release of @adobe/spectrum-tokens based on the latest release with the addition of composite typography tokens.
Example
Here is an example of a couple of composite typography tokens.
JSON Schema
I have added a new JSON Schema for the typography composite tokens. The naming and formatting are based on what is authored from Tokens Studio.
Currently, the only examples we have of typography composite tokens use token references (e.g.,
{font-size-50}) and no hardcoded values (e.g.,12px).Considerations
W3C Design Token group is moving away from recommending composite-types. Details can be found on their website here.
This is changing how Tokens Studio is considering the future of composite tokens. Details can be found on their website here.
This is a relatively new development, but the future support of composite tokens specifically for typography and drop shadows seems stable for the foreseeable future. We should take this into consideration with any other composite tokens.
Token Diff from
mainandcable/poc-typographybranchesAdded (35)
component-xs-regularcomponent-s-regularcomponent-m-regularcomponent-l-regularcomponent-xl-regularcomponent-xs-mediumcomponent-s-mediumcomponent-m-mediumcomponent-l-mediumcomponent-xl-mediumcomponent-xs-boldcomponent-s-boldcomponent-m-boldcomponent-l-boldcomponent-xl-boldcomponent-cjk-xs-regularcomponent-cjk-s-regularcomponent-cjk-m-regularcomponent-cjk-l-regularcomponent-cjk-xl-regularcomponent-cjk-xs-mediumcomponent-cjk-s-mediumcomponent-cjk-m-mediumcomponent-cjk-l-mediumcomponent-cjk-xl-mediumcomponent-cjk-xs-boldcomponent-cjk-s-boldcomponent-cjk-m-boldcomponent-cjk-l-boldcomponent-cjk-xl-boldcomponent-padding-vertical-50component-padding-vertical-75component-padding-vertical-100component-padding-vertical-200component-padding-vertical-300Updated Properties (1)
sans-serif-font-familyvalue:Adobe Clean->Adobe Clean VFAll reactions