asciidoctor / atom-language-asciidoc

⚛ AsciiDoc language package for the Atom editor.
https://atom.io/packages/language-asciidoc
MIT License
42 stars 20 forks source link

Deprecations in language-asciidoc/styles/asciidoc.atom-text-editor.less #170

Closed rumpelsepp closed 7 years ago

rumpelsepp commented 7 years ago

I hope I have inserted the new lines correctly; the link, generated by the deprecation cop in atom, is too long to be usable on github. So I copy-pasted this manually.

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:

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.

ldez commented 7 years ago

thanks for your contributions.

But currently ::shadow is used by Atom. And you cannot change selector (BOM style).

ldez commented 7 years ago

I'm stupid...

Can you make a PR please ?

ldez commented 7 years ago

this become my priority.