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:
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.
In
dart-tools/styles/dart-tools.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 withsyntax--
. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:atom-text-editor::shadow .source.dart .dartdoc.reference
=>atom-text-editor.editor .syntax--source.syntax--dart .syntax--dartdoc.syntax--reference
atom-text-editor::shadow .linter-highlight.info:not(.line-number), .linter-highlight.info:not(.line-number)
=>atom-text-editor.editor .linter-highlight.syntax--info:not(.line-number), .linter-highlight.info:not(.line-number)
atom-text-editor::shadow .linter-highlight.info:not(.line-number) .region, .linter-highlight.info:not(.line-number) .region
=>atom-text-editor.editor .linter-highlight.syntax--info:not(.line-number) .region, .linter-highlight.info:not(.line-number) .region
atom-text-editor::shadow .dart-analysis-info .region
=>atom-text-editor.editor .dart-analysis-info .region
atom-text-editor::shadow .dart-analysis-warning .region
=>atom-text-editor.editor .dart-analysis-warning .region
atom-text-editor::shadow .dart-analysis-error .region
=>atom-text-editor.editor .dart-analysis-error .region
atom-text-editor::shadow .gutter .line-number.linter-highlight.info .icon-right:before
=>atom-text-editor.editor .gutter .line-number.linter-highlight.syntax--info .icon-right:before
atom-text-editor::shadow .gutter .line-number.dart-info .icon-right
=>atom-text-editor.editor .gutter .line-number.dart-info .icon-right
atom-text-editor::shadow .gutter .line-number.dart-info .icon-right:before
=>atom-text-editor.editor .gutter .line-number.dart-info .icon-right:before
atom-text-editor::shadow .gutter .line-number.dart-warning .icon-right
=>atom-text-editor.editor .gutter .line-number.dart-warning .icon-right
atom-text-editor::shadow .gutter .line-number.dart-warning .icon-right:before
=>atom-text-editor.editor .gutter .line-number.dart-warning .icon-right:before
atom-text-editor::shadow .gutter .line-number.dart-error .icon-right
=>atom-text-editor.editor .gutter .line-number.dart-error .icon-right
atom-text-editor::shadow .gutter .line-number.dart-error .icon-right:before
=>atom-text-editor.editor .gutter .line-number.dart-error .icon-right:before
atom-text-editor::shadow .context-view-highlight .region
=>atom-text-editor.editor .context-view-highlight .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.