Skip to content
This repository was archived by the owner on May 29, 2021. It is now read-only.

Deprecated selector in dart-tools/styles/dart-tools.less #104

Open
sdelavega opened this issue Mar 1, 2017 · 0 comments
Open

Deprecated selector in dart-tools/styles/dart-tools.less #104

sdelavega opened this issue Mar 1, 2017 · 0 comments

Comments

@sdelavega
Copy link

In dart-tools/styles/dart-tools.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 .source.dart .dartdoc.reference => atom-text-editor.editor .syntax--source.syntax--dart .syntax--dartdoc.syntax--reference

  • atom-text-editor::shadow .linter-highlight.info:not(.line-number), .linter-highlight.info:not(.line-number) => atom-text-editor.editor .linter-highlight.syntax--info:not(.line-number), .linter-highlight.info:not(.line-number)

  • atom-text-editor::shadow .linter-highlight.info:not(.line-number) .region, .linter-highlight.info:not(.line-number) .region => atom-text-editor.editor .linter-highlight.syntax--info:not(.line-number) .region, .linter-highlight.info:not(.line-number) .region

  • atom-text-editor::shadow .dart-analysis-info .region => atom-text-editor.editor .dart-analysis-info .region

  • atom-text-editor::shadow .dart-analysis-warning .region => atom-text-editor.editor .dart-analysis-warning .region

  • atom-text-editor::shadow .dart-analysis-error .region => atom-text-editor.editor .dart-analysis-error .region

  • atom-text-editor::shadow .gutter .line-number.linter-highlight.info .icon-right:before => atom-text-editor.editor .gutter .line-number.linter-highlight.syntax--info .icon-right:before

  • atom-text-editor::shadow .gutter .line-number.dart-info .icon-right => atom-text-editor.editor .gutter .line-number.dart-info .icon-right

  • atom-text-editor::shadow .gutter .line-number.dart-info .icon-right:before => atom-text-editor.editor .gutter .line-number.dart-info .icon-right:before

  • atom-text-editor::shadow .gutter .line-number.dart-warning .icon-right => atom-text-editor.editor .gutter .line-number.dart-warning .icon-right

  • atom-text-editor::shadow .gutter .line-number.dart-warning .icon-right:before => atom-text-editor.editor .gutter .line-number.dart-warning .icon-right:before

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

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

  • atom-text-editor::shadow .context-view-highlight .region => atom-text-editor.editor .context-view-highlight .region

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant