- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Fri, 27 Oct 2023 10:35:44 +0000
- To: public-css-archive@w3.org
> I think being able to reference variables from the outside in mixins is essential.
@LeaVerou Do you just mean something like this, or do you have something more advanced in mind?
```
@mixin foo {
color: var(--color);
}
#is-green {
--color: green;
@apply foo;
}
#is-blue {
--color: blue;
@apply foo;
}
```
--
GitHub Notification of comment by andruud
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9350#issuecomment-1782686949 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 27 October 2023 10:35:45 UTC