Deprecated selector in `no-syntax-highlighting-syntax/index.less`
Opened this issue · 1 comments
In no-syntax-highlighting-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:
-
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,atom-text-editor .invisible
-
atom-text-editor .cursor, :host .cursor
=>atom-text-editor .cursor,atom-text-editor .cursor
-
atom-text-editor .selection .region, :host .selection .region
=>atom-text-editor .selection .region,atom-text-editor .selection .region
-
atom-text-editor .bracket-matcher .region, :host .bracket-matcher .region
=>atom-text-editor .bracket-matcher .region,atom-text-editor .bracket-matcher .region
-
atom-text-editor .invisible-character, :host .invisible-character
=>atom-text-editor .invisible-character,atom-text-editor .invisible-character
-
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.cursor-line, :host .gutter .line-number.cursor-line
=>atom-text-editor .gutter .line-number.cursor-line,atom-text-editor .gutter .line-number.cursor-line
-
atom-text-editor .gutter .line-number.cursor-line-no-selection, :host .gutter .line-number.cursor-line-no-selection
=>atom-text-editor .gutter .line-number.cursor-line-no-selection,atom-text-editor .gutter .line-number.cursor-line-no-selection
-
atom-text-editor .gutter .line-number .icon-right, :host .gutter .line-number .icon-right
=>atom-text-editor .gutter .line-number .icon-right,atom-text-editor .gutter .line-number .icon-right
-
atom-text-editor .gutter:not(.git-diff-icon) .line-number.git-line-removed.git-line-removed::before, :host .gutter:not(.git-diff-icon) .line-number.git-line-removed.git-line-removed::before
=>atom-text-editor .gutter:not(.git-diff-icon) .line-number.git-line-removed.git-line-removed::before,atom-text-editor .gutter:not(.git-diff-icon) .line-number.git-line-removed.git-line-removed::before
-
atom-text-editor .gutter:not(.git-diff-icon) .line-number.git-line-removed::after, :host .gutter:not(.git-diff-icon) .line-number.git-line-removed::after
=>atom-text-editor .gutter:not(.git-diff-icon) .line-number.git-line-removed::after,atom-text-editor .gutter:not(.git-diff-icon) .line-number.git-line-removed::after
-
atom-text-editor .gutter .line-number.folded, :host .gutter .line-number.folded, atom-text-editor .gutter .line-number:after, :host .gutter .line-number:after, atom-text-editor .fold-marker:after, :host .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
-
.comment
=>.syntax--comment
-
.comment .markup
=>.syntax--comment .syntax--markup
-
.entity
=>.syntax--entity
-
.keyword
=>.syntax--keyword
-
.storage
=>.syntax--storage
-
.constant
=>.syntax--constant
-
.variable
=>.syntax--variable
-
.string
=>.syntax--string
-
.punctuation
=>.syntax--punctuation
-
.punctuation.definition.comment
=>.syntax--punctuation.syntax--definition.syntax--comment
-
.support
=>.syntax--support
-
.entity
=>.syntax--entity
-
.meta
=>.syntax--meta
-
.none
=>.syntax--none
-
.invalid.deprecated
=>.syntax--invalid.syntax--deprecated
-
.invalid.illegal
=>.syntax--invalid.syntax--illegal
-
.markup
=>.syntax--markup
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.
i created a fork of this to fix the depreciation issues
new syntax name is atom-no-syntax
(published via apm)