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

Deprecated selector in language-javascript-semantic\styles\semantic-colors.atom-text-editor.less #40

Open
slaiyer opened this issue Mar 15, 2017 · 0 comments

Comments

@slaiyer
Copy link

slaiyer commented Mar 15, 2017

In language-javascript-semantic\styles\semantic-colors.atom-text-editor.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:

  • .source.js-semantic => .syntax--source.js-semantic

  • .source.js-semantic.identifier.color-index-1 => .syntax--source.js-semantic.syntax--identifier.color-index-1

  • .source.js-semantic.identifier.color-index-2 => .syntax--source.js-semantic.syntax--identifier.color-index-2

  • .source.js-semantic.identifier.color-index-3 => .syntax--source.js-semantic.syntax--identifier.color-index-3

  • .source.js-semantic.identifier.color-index-4 => .syntax--source.js-semantic.syntax--identifier.color-index-4

  • .source.js-semantic.identifier.color-index-5 => .syntax--source.js-semantic.syntax--identifier.color-index-5

  • .source.js-semantic.identifier.color-index-6 => .syntax--source.js-semantic.syntax--identifier.color-index-6

  • .source.js-semantic.identifier.color-index-7 => .syntax--source.js-semantic.syntax--identifier.color-index-7

  • .source.js-semantic.identifier.color-index-8 => .syntax--source.js-semantic.syntax--identifier.color-index-8

  • .source.js-semantic.comment => .syntax--source.js-semantic.syntax--comment

  • .source.js-semantic.keyword => .syntax--source.js-semantic.syntax--keyword

  • .source.js-semantic.number => .syntax--source.js-semantic.syntax--number

  • .source.js-semantic.string, .source.js-semantic.regex => .syntax--source.js-semantic.syntax--string, .syntax--source.js-semantic.syntax--regex

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.

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