News for hackers. Stuff that matters.
Re:Atom 1.12 released by MatthewPhillips on Thursday November 10, 2016 @11:38AM (#12921891)
Shadow DOM fixes CSS scoping with the caveat that it fixes CSS scoping. If want to allow a 3rd party to style inside of a shadow root CSS variables is the only current way. While this works, it's pretty painful to pass variables for each property you need to style.

We desperately need CSS @apply [1] which gives CSS something similar to sass mixins. So to theme inside of shadow boundaries you would pass @apply rules.

[1] https://tabatkins.github.io/specs/css-apply-rule/

There are no comments on this comment yet.