Re: [csswg-drafts] [css-mixins-1] How is name lookup done? (#12670)

Not sure what's best here. Initially I thought that we should not do any mixin lookups until the relevant `@apply` call actually takes place (i.e. `#bar`'s color is `violet`). As you pointed out elsewhere @sesse, this makes us more flexible in the future if we want to allow something like:

```
@mixin --one(--mixin-name) {
  @apply env(--mixin-name);
}
```

On the other hand, I suppose a result of `blue` is aligned with the lexical and order dependent "themes" of this feature...

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


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

Received on Thursday, 28 August 2025 14:40:51 UTC