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
atom-cli-diff\styles\diff.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.diff span.meta.diff.header.from-file
=>atom-text-editor.editor .syntax--source.syntax--diff span.syntax--meta.syntax--diff.syntax--header.syntax--from-file
atom-text-editor::shadow .source.diff span.meta.diff.header.to-file
=>atom-text-editor.editor .syntax--source.syntax--diff span.syntax--meta.syntax--diff.syntax--header.syntax--to-file
atom-text-editor::shadow .source.diff span.meta.diff.range.unified, atom-text-editor::shadow .source.diff span.meta.diff.toc-list.line-number
=>atom-text-editor.editor .syntax--source.syntax--diff span.syntax--meta.syntax--diff.syntax--range.syntax--unified, atom-text-editor.editor .syntax--source.syntax--diff span.syntax--meta.syntax--diff.syntax--toc-list.line-number
atom-text-editor::shadow .source.diff span.markup.deleted.diff, atom-text-editor::shadow .source.diff span.markup.deleted.diff span.punctuation.definition.diff
=>atom-text-editor.editor .syntax--source.syntax--diff span.syntax--markup.syntax--deleted.syntax--diff, atom-text-editor.editor .syntax--source.syntax--diff span.syntax--markup.syntax--deleted.syntax--diff span.syntax--punctuation.syntax--definition.syntax--diff
atom-text-editor::shadow .source.diff span.markup.inserted.diff, atom-text-editor::shadow .source.diff span.markup.inserted.diff span.punctuation.definition.diff
=>atom-text-editor.editor .syntax--source.syntax--diff span.syntax--markup.syntax--inserted.syntax--diff, atom-text-editor.editor .syntax--source.syntax--diff span.syntax--markup.syntax--inserted.syntax--diff span.syntax--punctuation.syntax--definition.syntax--diff
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.