- From: François REMY via GitHub <sysbot+gh@w3.org>
- Date: Mon, 15 Nov 2021 16:33:47 +0000
- To: public-css-archive@w3.org
Ok, lower boundary protection was actually what I *thought* I needed, but reading the examples, I can imagine it sometimes makes sense to have some form of scope-root proximity influence, for example the following example: ```css @scope (.light-scheme) { a { color: darkmagenta; } } @scope (.dark-scheme) { a { color: plum; } } ``` > <details> > <summary>Even though, I think there are probably better ways to achieve that...</summary> > > For example: > ```css > @scope (.light-theme) to (.dark-theme) { ... } > @scope (.dark-theme) to (.light-theme) { ... } > > ``` > > Or maybe even: > ```css > .light-scheme { --link-color: darkmagenta; } > .dark-scheme { --link-color: plum; } > a { color: var(--link-color); } > ``` > > </details> Given I agree with Tab that weak scoping proximity would be better than strong scoping proximity, I guess everything is good! -- GitHub Notification of comment by FremyCompany Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6790#issuecomment-969089015 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 15 November 2021 16:33:49 UTC