Re: [WICG/webcomponents] Scoping CSS custom properties inheritance (#945)

> I may not fully understand your use case, but could you achieve this currently via something like: https://webcomponents.dev/edit/zQIwcnEAtvBTC2gVM7d6/src/index.stories.js

if you mean

```css
:host {
  --layout-gap: 4px;
}
```
then yes, assigning an initial value will protect variable from being set by a same name delegating variable.
doesn't it feel like patching things up?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/945#issuecomment-938002595

Received on Thursday, 7 October 2021 17:27:46 UTC