language-javascript-semantic icon indicating copy to clipboard operation
language-javascript-semantic copied to clipboard

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

Open slaiyer opened this issue 8 years ago • 0 comments
trafficstars

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.

slaiyer avatar Mar 15 '17 04:03 slaiyer