neutron-ui icon indicating copy to clipboard operation
neutron-ui copied to clipboard

Deprecated selector in `neutron-ui\index.less`

Open SavageCore opened this issue 8 years ago • 2 comments

In neutron-ui\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[mini]::shadow .cursor => atom-text-editor[mini].editor .cursor

  • atom-text-editor[mini]::shadow .selection .region => atom-text-editor[mini].editor .selection .region

  • atom-text-editor[mini].is-focused::shadow .selection .region => atom-text-editor[mini].is-focused.editor .selection .region

  • atom-text-editor::shadow .gutter.drop-shadow => atom-text-editor.editor .gutter.syntax--drop-shadow

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.

SavageCore avatar Jan 16 '17 12:01 SavageCore

any progress on this?

ideologysec avatar May 08 '17 07:05 ideologysec

I'm not sure if @brentd has looked at this repo in a while. Kindly check the above PR, so we can get rid of this warning from Atom's latest releases, pretty please? :pray:

jagged3dge avatar May 15 '17 10:05 jagged3dge