Re: [csswg-drafts] [css-variables?] Higher level custom properties that control multiple declarations (#5624)

If we want to use it as a normal variable after that, you can easily write something like

```css
@property --accent-color { syntax: '<color>'; inherits: true; }
svg[data-attr(accent-color)] { --accent-color: data-attr(accent-color); }
```

which might be useful for crossing shadow boundaries or things like that.

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5624#issuecomment-772751688 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 3 February 2021 19:14:18 UTC