Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Deprecated selector in adventurous-syntax\index.less #15

Open
Arihant25 opened this issue Sep 15, 2018 · 0 comments
Open

Deprecated selector in adventurous-syntax\index.less #15

Arihant25 opened this issue Sep 15, 2018 · 0 comments

Comments

@Arihant25
Copy link

In adventurous-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 .wrap-guide, :host .wrap-guide => atom-text-editor .wrap-guide,atom-text-editor .wrap-guide

  • atom-text-editor .indent-guide, :host .indent-guide => atom-text-editor .indent-guide,atom-text-editor .indent-guide

  • atom-text-editor .invisible-character, :host .invisible-character => atom-text-editor .invisible-character,atom-text-editor .invisible-character

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

  • 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.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 .scroll-view, :host .scroll-view => atom-text-editor .scroll-view,atom-text-editor .scroll-view

  • 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

  • .comment => .syntax--comment

  • .support.function => .syntax--support.syntax--function

  • .support.gfm => .syntax--support.syntax--gfm

  • .entity.name.function => .syntax--entity.syntax--name.syntax--function

  • .entity.name.type => .syntax--entity.syntax--name.syntax--type

  • .entity.other.attribute-name => .syntax--entity.syntax--other.syntax--attribute-name

  • .keyword => .syntax--keyword

  • .keyword.control => .syntax--keyword.syntax--control

  • .keyword.control .definition => .syntax--keyword.syntax--control .syntax--definition

  • .keyword.operator => .syntax--keyword.syntax--operator

  • .keyword.other.unit => .syntax--keyword.syntax--other.syntax--unit

  • .storage => .syntax--storage

  • .storage.modifier => .syntax--storage.syntax--modifier

  • `.storage.import

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant