atom-ide-flow icon indicating copy to clipboard operation
atom-ide-flow copied to clipboard

Deprecated selector in `ide-flow/styles/ide-flow.less`

Open wyeo opened this issue 8 years ago • 0 comments

In ide-flow/styles/ide-flow.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 .ide-flow-error => atom-text-editor.editor .ide-flow-error

  • atom-text-editor::shadow .highlight.ide-flow-error .region => atom-text-editor.editor .highlight.ide-flow-error .region

  • atom-text-editor::shadow .gutter .line-number.ide-flow-error .icon-right => atom-text-editor.editor .gutter .line-number.ide-flow-error .icon-right

  • atom-text-editor::shadow .gutter .line-number.ide-flow-error .icon-right:before => atom-text-editor.editor .gutter .line-number.ide-flow-error .icon-right:before

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.

wyeo avatar Jan 18 '17 13:01 wyeo