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
Lucario/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:.comment
=>.syntax--comment
.string
=>.syntax--string
.constant
=>.syntax--constant
.variable
=>.syntax--variable
.variable.other.readwrite.instance
=>.syntax--variable.syntax--other.syntax--readwrite.syntax--instance
.constant.character.escaped, .constant.character.escape, .string .source, .string .source.ruby
=>.syntax--constant.syntax--character.syntax--escaped, .syntax--constant.syntax--character.syntax--escape, .syntax--string .syntax--source, .syntax--string .syntax--source.syntax--ruby
.keyword, .storage
=>.syntax--keyword, .syntax--storage
.storage.type
=>.syntax--storage.syntax--type
.entity.name.class
=>.syntax--entity.syntax--name.syntax--class
.entity.other.inherited-class
=>.syntax--entity.syntax--other.syntax--inherited-class
.entity.name.function
=>.syntax--entity.syntax--name.syntax--function
.variable.parameter
=>.syntax--variable.syntax--parameter
.entity.name.tag
=>.syntax--entity.syntax--name.syntax--tag
.entity.other.attribute-name, .markup.heading
=>.syntax--entity.syntax--other.syntax--attribute-name, .syntax--markup.syntax--heading
.support.function
=>.syntax--support.syntax--function
.support.constant
=>.syntax--support.syntax--constant
.support.type, .support.class
=>.syntax--support.syntax--type, .syntax--support.syntax--class
.support.other.variable, .variable.unordered, .variable.ordered
=>.syntax--support.syntax--other.syntax--variable, .syntax--variable.syntax--unordered, .syntax--variable.syntax--ordered
.invalid, .invalid.deprecated
=>.syntax--invalid, .syntax--invalid.syntax--deprecated
.markup.bold, .markup.italic
=>.syntax--markup.syntax--bold, .syntax--markup.syntax--italic
.markup.raw
=>.syntax--markup.syntax--raw
.punctuation.definition.tag.xml.plist, .constant.name.xml
=>.syntax--punctuation.syntax--definition.syntax--tag.syntax--xml.syntax--plist, .syntax--constant.syntax--name.syntax--xml
atom-text-editor, :host
=>atom-text-editor,atom-text-editor
atom-text-editor .line.cursor-line, :host .line.cursor-line
=>atom-text-editor .line.cursor-line,atom-text-editor .line.cursor-line
atom-text-editor .invisible, :host .invisible, atom-text-editor .invisible-character, :host .invisible-character
=>atom-text-editor .invisible,atom-text-editor .invisible, atom-text-editor .invisible-character,atom-text-editor .invisible-character
atom-text-editor .selection .region, :host .selection .region
=>atom-text-editor .selection .region,atom-text-editor .selection .region
atom-text-editor .selection .cursor, :host .selection .cursor
=>atom-text-editor .selection .cursor,atom-text-editor .selection .cursor
atom-text-editor .indent-guide, :host .indent-guide
=>atom-text-editor .indent-guide,atom-text-editor .indent-guide
atom-text-editor .wrap-guide, :host .wrap-guide
=>atom-text-editor .wrap-guide,atom-text-editor .wrap-guide
atom-text-editor .gutter .line-number, :host .gutter .line-number
=>atom-text-editor .gutter .line-number,atom-text-editor .gutter .line-number
atom-text-editor .gutter .line-number.git-line-added, :host .gutter .line-number.git-line-added
=>atom-text-editor .gutter .line-number.git-line-added,atom-text-editor .gutter .line-number.git-line-added
atom-text-editor .gutter .line-number.git-line-modified, :host .gutter .line-number.git-line-modified
=>atom-text-editor .gutter .line-number.git-line-modified,atom-text-editor .gutter .line-number.git-line-modified
atom-text-editor .gutter .line-number.git-line-removed, :host .gutter .line-number.git-line-removed
=>atom-text-editor .gutter .line-number.git-line-removed,atom-text-editor .gutter .line-number.git-line-removed
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.