- From: Matthias Dunker via GitHub <sysbot+gh@w3.org>
- Date: Mon, 06 Jun 2022 14:19:57 +0000
- To: public-design-tokens-log@w3.org
Another (creative) example could be responsive values, if this makes sense.
A token could have multiple values distinguished by variant names.
Type could be `responsiveDimension`.
```json
{
"responsiveDimension": {
"$type": "typeDefinition",
"$value": {
"sm": "dimension",
"md": "dimension",
"lg": "dimension",
"xl": "dimension",
}
}
}
```
Usage would be:
```json
{
"grid": {
"gutter": {
"$type": "responsiveDimension",
"$value": {
"sm": "24px",
"md": "32px",
"lg": "32px",
"xl": "40px"
}
}
}
}
```
--
GitHub Notification of comment by MatthiasDunker
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/134#issuecomment-1147501647 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 6 June 2022 14:19:58 UTC