- From: Kevin Muldoon via GitHub <sysbot+gh@w3.org>
- Date: Fri, 19 May 2023 09:16:25 +0000
- To: public-design-tokens-log@w3.org
@phun-ky It's 'nice' to know what the value represents before we can transform it into the unit we need for the platform accurately, but you make an excellent **_point_** (all puns intended). I'm perfectly happy with the unitless value of `fontSize: 17` as exported by Tokens Studio and Design Tokens. I've never had a problem. But let's imagine if a Figma plugin did provide the option between different units on export. What functional benefit have we provided? Now, the Style Dictionary programmer must check for the existence of the unit flag and respond appropriately if it is set to rem, but no other unit (because only two units are proposed). And, to transform correctly, the programmer needs to reference a global font-size, which I suspect the specs do not provide? -- GitHub Notification of comment by caoimghgin Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/218#issuecomment-1554282430 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 19 May 2023 09:16:27 UTC