- From: jimmyfrasche via GitHub <sysbot+gh@w3.org>
- Date: Sun, 27 Dec 2020 20:58:20 +0000
- To: public-houdini-archive@w3.org
Could regular custom property declaration/semantics be extended to take parameters? Something like
```
:root {
--fn(--arg1, --arg2): calc(var(--arg1) + var(--arg2));
--stroke(--c): 1px 1px var(--c), -1px 1px var(--c), 1px -1px var(--c), -1px -1px var(--c);
}
span.shadow {
text-shadow: var(--stroke(black)); /*or call(--stroke, black) */
}
```
--
GitHub Notification of comment by jimmyfrasche
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1007#issuecomment-751515259 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 27 December 2020 20:58:21 UTC