live-archive icon indicating copy to clipboard operation
live-archive copied to clipboard

Deprecated selector in `live-archive/styles/live-archive.less`

Open matteocng opened this issue 7 years ago • 5 comments

In live-archive/styles/live-archive.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::shadow .la-insert .region => atom-text-editor.editor .la-insert .region

  • atom-text-editor::shadow .la-replace .region => atom-text-editor.editor .la-replace .region

  • atom-text-editor::shadow .la-delete .region => atom-text-editor.editor .la-delete .region

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.

matteocng avatar Dec 13 '16 11:12 matteocng