vertexclique / tokamak

Fusion Reactor for Rust - Atom Rust IDE

Home Page:https://vertexclique.github.io/tokamak/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecated selector in `tokamak/styles/tokamak.less`

khinch opened this issue · comments

In tokamak/styles/tokamak.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::shadow .meta.attribute.rust => atom-text-editor.editor .syntax--meta.syntax--attribute.syntax--rust

  • atom-text-editor::shadow .storage.modifier.lifetime.rust, atom-text-editor::shadow .entity.name.lifetime.rust => atom-text-editor.editor .syntax--storage.syntax--modifier.syntax--lifetime.syntax--rust, atom-text-editor.editor .syntax--entity.syntax--name.syntax--lifetime.syntax--rust

  • atom-text-editor::shadow .keyword.unsafe.rust => atom-text-editor.editor .syntax--keyword.syntax--unsafe.syntax--rust

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.

I might just send a pr in for this a a day or do, I'd love to get rid of the annoying deprecation warning in atom.

Will be fixed in next release.

Fixed in 0.3.2 please update.