-
Notifications
You must be signed in to change notification settings - Fork 163
Deprecated selector in git-plus/styles/git-plus.less
#537
Comments
i've pushed changes for this. Can you validate this has been resolved? |
The vast majority of the deprecation warnings are gone, but this line still has the Nevermind, I just realised you added the correct selectors below, so it should work in both versions. That's a nice idea by the way |
Thanks! Ok I'll keep this open for a while and if you come across more errors related to these selectors we can tackle them. |
I'm still seeing deprecation warnings in v 7.0.4.
|
@klk1010 The old and new selectors are both present in the CSS, to preserve backward compatibility |
@molovo Indeed they are. I apologize for not looking at that more closely. :insert_shamed_face_here: |
atom1.13.0 mac also |
@Robin-front thanks! I was waiting for 1.13 to come out. Now I can remove the old selectors and restrict the package to the newest version of atom that doesn't support the shadow selectors |
mac here! atom 1.13.0 |
In
git-plus/styles/git-plus.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 .diff .unimportant, atom-text-editor::shadow .diff .unimportant
=>atom-text-editor .diff .unimportant, atom-text-editor.editor .syntax--diff .syntax--unimportant
atom-text-editor .diff .info, atom-text-editor::shadow .diff .info
=>atom-text-editor .diff .info, atom-text-editor.editor .syntax--diff .syntax--info
atom-text-editor .diff .deletion, atom-text-editor::shadow .diff .deletion
=>atom-text-editor .diff .deletion, atom-text-editor.editor .syntax--diff .syntax--deletion
atom-text-editor .diff .insertion, atom-text-editor::shadow .diff .insertion
=>atom-text-editor .diff .insertion, atom-text-editor.editor .syntax--diff .syntax--insertion
atom-text-editor .diff .markup.removed.diff, atom-text-editor::shadow .diff .markup.removed.diff, atom-text-editor .diff .meta.diff.header.from-file, atom-text-editor::shadow .diff .meta.diff.header.from-file
=>atom-text-editor .diff .markup.removed.diff, atom-text-editor.editor .syntax--diff .syntax--markup.syntax--removed.syntax--diff, atom-text-editor .diff .meta.diff.header.from-file, atom-text-editor.editor .syntax--diff .syntax--meta.syntax--diff.syntax--header.syntax--from-file
atom-text-editor .diff .markup.added.diff, atom-text-editor::shadow .diff .markup.added.diff, atom-text-editor .diff .meta.diff.header.to-file, atom-text-editor::shadow .diff .meta.diff.header.to-file
=>atom-text-editor .diff .markup.added.diff, atom-text-editor.editor .syntax--diff .syntax--markup.syntax--added.syntax--diff, atom-text-editor .diff .meta.diff.header.to-file, atom-text-editor.editor .syntax--diff .syntax--meta.syntax--diff.syntax--header.syntax--to-file
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.
The text was updated successfully, but these errors were encountered: