benjamindean/atom-modx-revolution

Deprecated selector in `modx-revolution\styles\modx.less`

Opened this issue · 0 comments

In modx-revolution\styles\modx.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 .punctuation.definition.block.modx, atom-text-editor::shadow .punctuation.definition.block.modx => atom-text-editor .punctuation.definition.block.modx, atom-text-editor.editor .syntax--punctuation.syntax--definition.syntax--block.syntax--modx

  • atom-text-editor .punctuation.definition.text.modx, atom-text-editor::shadow .punctuation.definition.text.modx => atom-text-editor .punctuation.definition.text.modx, atom-text-editor.editor .syntax--punctuation.syntax--definition.syntax--text.syntax--modx

  • atom-text-editor .punctuation.definition.prop.modx, atom-text-editor::shadow .punctuation.definition.prop.modx => atom-text-editor .punctuation.definition.prop.modx, atom-text-editor.editor .syntax--punctuation.syntax--definition.syntax--prop.syntax--modx

  • atom-text-editor .punctuation.definition.set.modx, atom-text-editor::shadow .punctuation.definition.set.modx => atom-text-editor .punctuation.definition.set.modx, atom-text-editor.editor .syntax--punctuation.syntax--definition.syntax--set.syntax--modx

  • atom-text-editor .invalid.illegal.bad-ampersand.html, atom-text-editor::shadow .invalid.illegal.bad-ampersand.html => atom-text-editor .invalid.illegal.bad-ampersand.html, atom-text-editor.editor .syntax--invalid.syntax--illegal.syntax--bad-ampersand.syntax--html

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.