- From: nate via GitHub <sysbot+gh@w3.org>
- Date: Fri, 12 May 2023 16:44:59 +0000
- To: public-design-tokens-log@w3.org
nateclicks has just created a new issue for https://github.com/design-tokens/community-group: == Error in Font Weight example in spec? == I'm happy to create a Pull Request to fix this, just wanna confirm it is an error before doing so. In the [font weight section](https://tr.designtokens.org/format/#font-weight) there is an example that is intending to demonstrate invalid tokens. [Example 19](https://tr.designtokens.org/format/#example-19). While the first token (using a value of 350) seems invalid, the second token matches an alias (extra-bold). To demonstrate an invalid aliased token, it should be updated to "Extra-Bold" or something like that. Please let me know if I am misinterpreting or misunderstanding something in that example. If it does need update, I'm happy to make that edit. Just let me know. Thanks. ```json { "font-weight-default": { "$value": 350, "$type": "fontWeight" }, "font-weight-thick": { "$value": "extra-bold", <---- I think this is a valid string "$type": "fontWeight" } } ``` ## Screenshot of current Font weight section ![screenshot of current Font weight section in draft spec](https://github.com/design-tokens/community-group/assets/5717928/d03f550e-3720-4b7e-bc75-63582c92ccb7) Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/219 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 12 May 2023 16:45:01 UTC