- From: Scott Rouse via GitHub <sysbot+gh@w3.org>
- Date: Mon, 09 Jan 2023 15:12:28 +0000
- To: public-design-tokens-log@w3.org
I found this useful for stepped tokens where the middle value represents what people think of as the color:
`
{
“color”: {
“primary”: {
…
“04”: { "$value": “#aa0000” },
“05”: { "$value": “#bb0000” },
"": { "$value": “#bb0000” },
“06”: { "$value": “#cc0000” },
…
}
}
}
`
Which can be transformed into:
`
…
color-primary-04: #aa0000;
color-primary-05: #bb0000;
color-primary: #bb0000;
color-primary-06: #cc0000;
…
`
--
GitHub Notification of comment by srouse
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/195#issuecomment-1375770508 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 9 January 2023 15:12:30 UTC