- From: Phuoc via GitHub <sysbot+gh@w3.org>
- Date: Sun, 27 Apr 2025 05:35:47 +0000
- To: public-design-tokens-log@w3.org
universse has just created a new issue for https://github.com/design-tokens/community-group:
== Color property for shadow token is inconsistent with the rest. ==
Color property is defined as a token while the rest are not.
```json
{
"shadow-token": {
"$type": "shadow",
"$value": {
"color": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0, 0, 0],
"alpha": 0.5,
"hex": "#000000"
}
},
"offsetX": { "value": 0.5, "unit": "rem" },
"offsetY": { "value": 0.5, "unit": "rem" },
"blur": { "value": 1.5, "unit": "rem" },
"spread": { "value": 0, "unit": "rem" }
}
}
}
```
Should it be
```json
{
"shadow-token": {
"$type": "shadow",
"$value": {
"color": {
"colorSpace": "srgb",
"components": [0, 0, 0],
"alpha": 0.5,
"hex": "#000000"
},
"offsetX": { "value": 0.5, "unit": "rem" },
"offsetY": { "value": 0.5, "unit": "rem" },
"blur": { "value": 1.5, "unit": "rem" },
"spread": { "value": 0, "unit": "rem" }
}
}
}
```
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/270 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 27 April 2025 05:35:48 UTC