beekman / magical-selection

This plugin for Atom Text Editor makes the background of selected text cycle in a magical rainbow gradient. Concatenate text selection like a sourceror! Other Atom text selection plugins don't feature both animation and gradients. Other plugins also don't call on arcane powers beyond the mortal plane.
Apache License 2.0
5 stars 0 forks source link

Deprecated selector in `rainbow-selection-flux/styles/rainbow-selection-flux.atom-text-editor.less` #22

Open Nemael opened 2 years ago

Nemael commented 2 years ago

This deprecation warning was shown in atom while I was using this add-on :)

The warning text is:

In `rainbow-selection-flux/styles/rainbow-selection-flux.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:

* `:host::shadow .selection .region` => `atom-text-editor.editor .selection .region`

* `:host .selection .region` => `atom-text-editor .selection .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.