Skip to content

Deprecated selector in black-v-syntax\index.less #2

@naveenroshan

Description

@naveenroshan

In black-v-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 .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, :host .gutter => atom-text-editor .gutter,atom-text-editor .gutter

  • atom-text-editor .gutter .cursor-line, :host .gutter .cursor-line => atom-text-editor .gutter .cursor-line,atom-text-editor .gutter .cursor-line

  • atom-text-editor .line-number.cursor-line-no-selection, :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 .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

  • 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 .source.gfm, :host .source.gfm => atom-text-editor .syntax--source.syntax--gfm,atom-text-editor .syntax--source.syntax--gfm

  • atom-text-editor .gfm .markup.heading, :host .gfm .markup.heading => atom-text-editor .syntax--gfm .syntax--markup.syntax--heading,atom-text-editor .syntax--gfm .syntax--markup.syntax--heading

  • atom-text-editor .gfm .link, :host .gfm .link => atom-text-editor .syntax--gfm .syntax--link,atom-text-editor .syntax--gfm .syntax--link

  • atom-text-editor .gfm .variable.list, :host .gfm .variable.list, atom-text-editor .gfm .support.quote, :host .gfm .support.quote => atom-text-editor .syntax--gfm .syntax--variable.syntax--list,atom-text-editor .syntax--gfm .syntax--variable.syntax--list, atom-text-editor .syntax--gfm .syntax--support.syntax--quote,atom-text-editor .syntax--gfm .syntax--support.syntax--quote

  • atom-text-editor .gfm .link .entity, :host .gfm .link .entity => atom-text-editor .syntax--gfm .syntax--link .syntax--entity,atom-text-editor .syntax--gfm .syntax--link .syntax--entity

  • atom-text-editor .gfm .raw, :host .gfm .raw => atom-text-editor .syntax--gfm .syntax--raw,atom-text-editor .syntax--gfm .syntax--raw

  • atom-text-editor .markdown .paragraph, :host .markdown .paragraph => `atom-text-editor .syntax--markdown .syntax--paragraph,atom-text-edit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions