- From: Dave House via GitHub <sysbot+gh@w3.org>
- Date: Tue, 13 Oct 2020 09:03:49 +0000
- To: public-design-tokens-log@w3.org
I might be an odd one out designer myself but I do not believe the actual / real world token definition should exist within design software, it feels like there is not enough visibility of the impact that a token change will have in production. As tokens don't usually change very often it feels like the design software should be a proving ground for the change but not be the actual trigger for change. Therefore I would prefer design software to be more accepting of coded token packages. For example we can provide colour tokens to Figma from the same source of truth as development through a custom plugin, however tokens like "space" seem very hard to translate as the software has a different concept of space. As well as coded tokens mapping to relevant styles in Figma it would be interesting if you were able to apply tokens to properties of objects. For example I would like to apply `space-xl` to the height attribute of a rectangle to visually represent the space token. The only other token specific typography issue I've struggled with is definition of line-height. As we would want to use relative, unitless line-heights in production, the font-size and line-height only work as a pair. e.g. `line-height: 1.5` is only 24px when paired with 16px text, so a token with the output 1.5 should be a named pair with the font-size. For example `font-size-m` and `line-height-m` go together. With this in mind I would also like design software to be more accepting of line-height in this format so we don't have to create tokens for both Figma and production separately. Currently Figma will accept `px` and `%` for line-height but 1.5 is recognised as 1.5px not 150%. -- GitHub Notification of comment by dashouse Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/43#issuecomment-707602127 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 13 October 2020 09:03:50 UTC