Starting from Atom version 1.13, the contents of atom-text-editorelements are no longer encapsulated within a shadow DOM boundary.
This means the :host and ::shadow pseudo-selectors should be completely removed and all syntax selectors should be prepended with syntax--.
To prevent breakage with existing style sheets, Atom will automatically upgrade selectors for versions less or equal to 1.12.
The flight manual provides the great migration guide "Removing Shadow DOM styles" for package authors to prepare their packages for this breaking change.
There are also reference pull requests for the Atom Core theme packages One Dark Syntax and One Dark UI.
Tasks
[x] Remove all :host and ::shadow pseudo-selectors
[x] Prepend all syntax selectors with syntax--
[x] Add a badhe (shield) for the latest compatible Atom version
[x] Update package.json minimal Atom engine version to >=1.13.0
Starting from Atom version 1.13, the contents of
atom-text-editor
elements are no longer encapsulated within a shadow DOM boundary. This means the:host
and::shadow
pseudo-selectors should be completely removed and all syntax selectors should be prepended withsyntax--
. To prevent breakage with existing style sheets, Atom will automatically upgrade selectors for versions less or equal to 1.12.The flight manual provides the great migration guide "Removing Shadow DOM styles" for package authors to prepare their packages for this breaking change.
There are also reference pull requests for the Atom Core theme packages One Dark Syntax and One Dark UI.
Tasks
:host
and::shadow
pseudo-selectorssyntax--
package.json
minimal Atom engine version to>=1.13.0