I started incorporating `@layer {}` and wow, this is very useful for theme creators, and they should start using it. Combine that with `:where()` for resets and normalise stylesheets, it gives a theme's styles as low specificity as possible.
This way, users who prefer to use a third-party theme can easily override as needed, instead of using:
* `!important`
* `.class.class.class.class`
* `:not(.\9.\9)`
Another added benefit of using `@layer` is when you inspect it (F12), you can easily see where the CSS declaration came from, as it displays the `@layer`.
According to #CanIUse baseline:
> Since March 2022, this feature works across the latest devices and major browser versions
https://caniuse.com/css-cascade-layers
It should be fine to start using it, especially by theme authors and by reset/normalise projects.
What do you think?