Deprecated selector in nebula-syntax/index.less
#3
Description
In nebula-syntax/index.less
:
Starting from Atom v1.13.0, the contents of atom-text-editor
elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host
and ::shadow
pseudo-selectors, and prepend all your syntax selectors with syntax--
. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:
-
atom-text-editor.editor .linter-highlight.error .region, .linter-highlight.error .region
=>atom-text-editor.editor .linter-highlight.syntax--error .region, .linter-highlight.syntax--error .region
-
atom-text-editor.editor .linter-highlight.warning .region, .linter-highlight.warning .region
=>atom-text-editor.editor .linter-highlight.syntax--warning .region, .linter-highlight.syntax--warning .region
-
atom-text-editor.editor .linter-highlight.trace .region, .linter-highlight.trace .region, atom-text-editor.editor .linter-highlight.info .region, .linter-highlight.info .region
=>atom-text-editor.editor .linter-highlight.syntax--trace .region, .linter-highlight.syntax--trace .region, atom-text-editor.editor .linter-highlight.syntax--info .region, .linter-highlight.syntax--info .region
Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.