Closed ungb closed 7 years ago
+1 for this issue!
+1 as well, in the meantime any way to disable that annoying deprecation warning in the gutter?
@tomkc you can disable the deprecation cop package from settings if you like.
however, I did just push a resolution for this problem.
Just doing a local test right now before publishing to apm! Should be out within the half hour :)
In
tasks/styles/tasks.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 withsyntax--
. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:atom-text-editor::shadow .tasks.header, atom-text-editor .tasks.header
=>atom-text-editor.editor .syntax--tasks.syntax--header, atom-text-editor .tasks.header
atom-text-editor::shadow .tasks.marker, atom-text-editor .tasks.marker
=>atom-text-editor.editor .syntax--tasks.syntax--marker, atom-text-editor .tasks.marker
atom-text-editor::shadow .tasks.attribute, atom-text-editor .tasks.attribute
=>atom-text-editor.editor .syntax--tasks.syntax--attribute, atom-text-editor .tasks.attribute
atom-text-editor::shadow .tasks.done.text, atom-text-editor .tasks.done.text, atom-text-editor::shadow .tasks.cancelled.text, atom-text-editor .tasks.cancelled.text
=>atom-text-editor.editor .syntax--tasks.done.syntax--text, atom-text-editor .tasks.done.text, atom-text-editor.editor .syntax--tasks.cancelled.syntax--text, atom-text-editor .tasks.cancelled.text
atom-text-editor::shadow .tasks.done .marker, atom-text-editor .tasks.done .marker, atom-text-editor::shadow .tasks.cancelled .marker, atom-text-editor .tasks.cancelled .marker
=>atom-text-editor.editor .syntax--tasks.done .syntax--marker, atom-text-editor .tasks.done .marker, atom-text-editor.editor .syntax--tasks.cancelled .syntax--marker, atom-text-editor .tasks.cancelled .marker
atom-text-editor::shadow .tasks.done .attribute, atom-text-editor .tasks.done .attribute, atom-text-editor::shadow .tasks.cancelled .attribute, atom-text-editor .tasks.cancelled .attribute
=>atom-text-editor.editor .syntax--tasks.done .syntax--attribute, atom-text-editor .tasks.done .attribute, atom-text-editor.editor .syntax--tasks.cancelled .syntax--attribute, atom-text-editor .tasks.cancelled .attribute
atom-text-editor::shadow .tasks.cancelled .marker, atom-text-editor .tasks.cancelled .marker
=>atom-text-editor.editor .syntax--tasks.cancelled .syntax--marker, atom-text-editor .tasks.cancelled .marker
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.