Deprecated selector in `unicorn-light-syntax\index.less`
ramago opened this issue · comments
In unicorn-light-syntax\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 with syntax--
. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:
-
:host, atom-text-editor
=>atom-text-editor, atom-text-editor
-
:host .invisible-character, atom-text-editor .invisible-character, :host .indent-guide, atom-text-editor .indent-guide
=>atom-text-editor .invisible-character, atom-text-editor .invisible-character,atom-text-editor .indent-guide, atom-text-editor .indent-guide
-
:host .gutter, atom-text-editor .gutter
=>atom-text-editor .gutter, atom-text-editor .gutter
-
:host .gutter .line-number.folded, atom-text-editor .gutter .line-number.folded, :host .gutter .line-number:after, atom-text-editor .gutter .line-number:after, :host .fold-marker:after, atom-text-editor .fold-marker:after
=>atom-text-editor .gutter .line-number.folded, atom-text-editor .gutter .line-number.folded,atom-text-editor .gutter .line-number:after, atom-text-editor .gutter .line-number:after,atom-text-editor .fold-marker:after, atom-text-editor .fold-marker:after
-
:host .cursor, atom-text-editor .cursor
=>atom-text-editor .cursor, atom-text-editor .cursor
-
:host .selection .region, atom-text-editor .selection .region
=>atom-text-editor .selection .region, atom-text-editor .selection .region
-
:host .line-number.cursor-line-no-selection, atom-text-editor .line-number.cursor-line-no-selection
=>atom-text-editor .line-number.cursor-line-no-selection, atom-text-editor .line-number.cursor-line-no-selection
-
.comment
=>.syntax--comment
-
.entity
=>.syntax--entity
-
.keyword
=>.syntax--keyword
-
.storage.type
=>.syntax--storage.syntax--type
-
.constant
=>.syntax--constant
-
.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.