- From: putchom via GitHub <sysbot+gh@w3.org>
- Date: Wed, 04 Jan 2023 02:45:15 +0000
- To: public-design-tokens-log@w3.org
I think `$value` needs an angle property because Figma, CSS, etc. allow angles to be specified for gradients.
like this:
```json
{
"blue-to-red": {
"$type": "gradient",
"$value": {
"angle": 45,
"color": [
{
"color": "#0000ff",
"position": 0
},
{
"color": "#ff0000",
"position": 1
}
]
}
}
}
```
--
GitHub Notification of comment by putchom
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/101#issuecomment-1370428601 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 4 January 2023 02:45:17 UTC