Idea: Use CSS @layer rule to eliminate specificity conflicts

As the title says, I was wondering what you thought about wrapping all CodeMirror styles in an @layer rule to allow users to override styles without having to worry about specificity of CodeMirror default styles?

That’s an interesting idea. But the library still supports browsers that don’t have support for @layer, and also, this would be a breaking change at this point, so it is not going to happen in the 6.x versions.