jdsimcoe / blessed-light-syntax

Blessed Light — A syntax theme for Atom.
https://atom.io/themes/blessed-light-syntax
MIT License
3 stars 2 forks source link

Deprecated selector in `blessed-light-syntax/index.less` #1

Open nemoDreamer opened 6 years ago

nemoDreamer commented 6 years ago

In blessed-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:

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.git-line-removed:before, :host .gutter .line-number.git-line-removed:before => atom-text-editor .gutter .line-number.git-line-removed:before,atom-text-editor .gutter .line-number.git-line-removed:before
atom-text-editor .gutter .line-number.git-line-removed:after, :host .gutter .line-number.git-line-removed:after => atom-text-editor .gutter .line-number.git-line-removed:after,atom-text-editor .gutter .line-number.git-line-removed:after
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 .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 .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
.meta => .syntax--meta
.html.elements, .entity, .tag, .function-call => .syntax--html.syntax--elements, .syntax--entity, .syntax--tag, .syntax--function-call
.variable, .character.escape, .html.attribute-name, .css.pseudo-element => .syntax--variable, .syntax--character.syntax--escape, .syntax--html.syntax--attribute-name, .syntax--css.syntax--pseudo-element
.support => .syntax--support
.string, .constant, .storage.type => .syntax--string, .syntax--constant, .syntax--storage.syntax--type
.keyword, .storage => .syntax--keyword, .syntax--storage
.punctuation, .bracket, .brace => .syntax--punctuation, .syntax--bracket, .syntax--brace
.string .punctuation => .syntax--string .syntax--punctuation
.comment => .syntax--comment
.bold => .syntax--bold
.italic => .syntax--italic
.c .parens, .c .block => .syntax--c .syntax--parens, .syntax--c .syntax--block
.c .parens .punctuation, .c .block .punctuation, .c .parens .bracket, .c .block .bracket, .c .parens .brace, .c .block .brace => .syntax--c .syntax--parens .syntax--punctuation, .syntax--c .syntax--block .syntax--punctuation, .syntax--c .syntax--parens .syntax--bracket, .syntax--c .syntax--block .syntax--bracket, .syntax--c .syntax--parens .syntax--brace, .syntax--c .syntax--block .syntax--brace
.c .parens .string .punctuation, .c .block .string .punctuation => .syntax--c .syntax--parens .syntax--string .syntax--punctuation, .syntax--c .syntax--block .syntax--string .syntax--punctuation
.c .comment => .syntax--c .syntax--comment
.coffee.source => .syntax--coffee.syntax--source
.gfm => .syntax--gfm
.gfm .punctuation, .gfm .bracket, .gfm .brace => .syntax--gfm .syntax--punctuation, .syntax--gfm .syntax--bracket, .syntax--gfm .syntax--brace
.gfm .string .punctuation => .syntax--gfm .syntax--string .syntax--punctuation
.gfm.markup, .gfm .link => .syntax--gfm.syntax--markup, .syntax--gfm .syntax--link
.gfm.markup.raw, .gfm.markup .support => .syntax--gfm.syntax--markup.syntax--raw, .syntax--gfm.syntax--markup .syntax--support
.gfm.variable, .gfm.entity => .syntax--gfm.syntax--variable, .syntax--gfm.syntax--entity
.gfm.support => .syntax--gfm.syntax--support
.gfm.comment => .syntax--gfm.syntax--comment
.gfm.heading-1 => .syntax--gfm.syntax--heading-1
.gfm.heading-2 => .syntax--gfm.syntax--heading-2
.gfm.heading-3 => .syntax--gfm.syntax--heading-3
.gfm.heading-4 => .syntax--gfm.syntax--heading-4
.gfm.heading-5 => .syntax--gfm.syntax--heading-5
.gfm.heading-6 => .syntax--gfm.syntax--heading-6
.gfm.bold => .syntax--gfm.syntax--bold
.gfm.italic => .syntax--gfm.syntax--italic
.haskell.source => .syntax--haskell.syntax--source
.haskell.source .punctuation, .haskell.source .bracket, .haskell.source .brace => .syntax--haskell.syntax--source .syntax--punctuation, .syntax--haskell.syntax--source .syntax--bracket, .syntax--haskell.syntax--source .syntax--brace
.haskell.source .string .punctuation => .syntax--haskell.syntax--source .syntax--string .syntax--punctuation
.html.meta => .syntax--html.syntax--meta
.html.text => .syntax--html.syntax--text
.html .string .id => .syntax--html .syntax--string .syntax--id
.java .method => .syntax--java .syntax--method
.java .method .punctuation, .java .method .bracket, .java .method .brace => .syntax--java .syntax--method .syntax--punctuation, .syntax--java .syntax--method .syntax--bracket, .syntax--java .syntax--method .syntax--brace
.java .method .string .punctuation => .syntax--java .syntax--method .syntax--string .syntax--punctuation
.java .dereference => .syntax--java .syntax--dereference
.js.source => .syntax--js.syntax--source
.js.source .punctuation, .js.source .bracket, .js.source .brace => .syntax--js.syntax--source .syntax--punctuation, .syntax--js.syntax--source .syntax--bracket, .syntax--js.syntax--source .syntax--brace
.js.source .string .punctuation => .syntax--js.syntax--source .syntax--string .syntax--punctuation
.json .string => .syntax--json .syntax--string
.json .string .punctuation => .syntax--json .syntax--string .syntax--punctuation
.json .value > .string => .syntax--json .syntax--value > .syntax--string
.json .value > .string .punctuation => .syntax--json .syntax--value > .syntax--string .syntax--punctuation
.json .value .constant => .syntax--json .syntax--value .syntax--constant
.less.variable:first-child => .syntax--less.syntax--variable:first-child
.less .mixin => .syntax--less .syntax--mixin
.mediawiki => .syntax--mediawiki
.mediawiki .punctuation, .mediawiki .bracket, .mediawiki .brace => .syntax--mediawiki .syntax--punctuation, .syntax--mediawiki .syntax--bracket, .syntax--mediawiki .syntax--brace
.mediawiki .string .punctuation => .syntax--mediawiki .syntax--string .syntax--punctuation
.mediawiki .wiki-link => .syntax--mediawiki .syntax--wiki-link
.mediawiki .heading => .syntax--mediawiki .syntax--heading
.mediawiki .function-call => .syntax--mediawiki .syntax--function-call
.mediawiki .value => .syntax--mediawiki .syntax--value
.mediawiki .fix_this_later => .syntax--mediawiki .syntax--fix_this_later
.mediawiki .pipe, .mediawiki .link, .mediawiki .tag => .syntax--mediawiki .syntax--pipe, .syntax--mediawiki .syntax--link, .syntax--mediawiki .syntax--tag
.php .string-contents => .syntax--php .string-contents
.sass .at-rule, .sass .at-rule > .punctuation => .syntax--sass .syntax--at-rule, .syntax--sass .syntax--at-rule > .syntax--punctuation
.sass .mixin > .variable, .sass .include > .variable => .syntax--sass .syntax--mixin > .syntax--variable, .syntax--sass .syntax--include > .syntax--variable
.scss .at-rule .at-rule, .scss .at-rule .at-rule > .punctuation => .syntax--scss .syntax--at-rule .syntax--at-rule, .syntax--scss .syntax--at-rule .syntax--at-rule > .syntax--punctuation
.scss .mixin + .function, .scss .include + .function => .syntax--scss .syntax--mixin + .syntax--function, .syntax--scss .syntax--include + .syntax--function
.stylus .function .name => .syntax--stylus .syntax--function .syntax--name
.tex .other => .syntax--tex .syntax--other
.tex .reference => .syntax--tex .syntax--reference
.plain .text => .syntax--plain .syntax--text
.yaml .tag => .syntax--yaml .syntax--tag
.yaml .constant => .syntax--yaml .syntax--constant
.yaml .punctuation => .syntax--yaml .syntax--punctuation
jdsimcoe commented 6 years ago

@nemoDreamer I haven't touched this in a while. Feel free to submit a PR with fixes if you have the motivation/time.