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
Writer/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 withsyntax--
. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:.heading
=>.syntax--heading
.comment
=>.syntax--comment
.entity
=>.syntax--entity
.keyword
=>.syntax--keyword
.storage.type
=>.syntax--storage.syntax--type
.constant
=>.syntax--constant
.constant.numeric, .constant.boolean
=>.syntax--constant.syntax--numeric, .syntax--constant.syntax--boolean
.variable
=>.syntax--variable
.delimiter, .brace
=>.syntax--delimiter, .syntax--brace
.delimiter.period
=>.syntax--delimiter.syntax--period
.invalid.deprecated
=>.syntax--invalid.syntax--deprecated
.invalid.illegal
=>.syntax--invalid.syntax--illegal
.string
=>.syntax--string
.string .constant.character.escape
=>.syntax--string .syntax--constant.syntax--character.syntax--escape
.string.regexp
=>.syntax--string.syntax--regexp
.string.regexp .source.ruby.embedded, .string.regexp .string.regexp.arbitrary-repitition
=>.syntax--string.syntax--regexp .syntax--source.syntax--ruby.syntax--embedded, .syntax--string.syntax--regexp .syntax--string.syntax--regexp.syntax--arbitrary-repitition
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.