Skip to content

Deprecated selector in polymorph-ui\index.less #7

@ghost

Description

Automated report from the Atom deprecation cop

In polymorph-ui\index.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[mini], atom-text-editor[mini]::shadow => atom-text-editor[mini], atom-text-editor[mini].editor

  • atom-text-editor[mini] .cursor, atom-text-editor[mini]::shadow .cursor => atom-text-editor[mini] .cursor, atom-text-editor[mini].editor .cursor

  • atom-text-editor .scroll-view, atom-text-editor::shadow .scroll-view, :host .scroll-view => atom-text-editor .scroll-view, atom-text-editor.editor .scroll-view, :host .scroll-view

  • atom-text-editor .wrap-guide, atom-text-editor::shadow .wrap-guide, :host .wrap-guide => atom-text-editor .wrap-guide, atom-text-editor.editor .wrap-guide, :host .wrap-guide

  • atom-text-editor .indent-guide, atom-text-editor::shadow .indent-guide, :host .indent-guide => atom-text-editor .indent-guide, atom-text-editor.editor .indent-guide, :host .indent-guide

  • atom-text-editor .bracket-matcher .region, atom-text-editor::shadow .bracket-matcher .region, :host .bracket-matcher .region => atom-text-editor .bracket-matcher .region, atom-text-editor.editor .bracket-matcher .region, :host .bracket-matcher .region

  • atom-text-editor .invisible-character, atom-text-editor::shadow .invisible-character, :host .invisible-character => atom-text-editor .invisible-character, atom-text-editor.editor .invisible-character, :host .invisible-character

  • atom-text-editor .invisible, atom-text-editor::shadow .invisible, :host .invisible => atom-text-editor .invisible, atom-text-editor.editor .invisible, :host .invisible

  • atom-text-editor .line.cursor-line, atom-text-editor::shadow .line.cursor-line, :host .line.cursor-line => atom-text-editor .line.cursor-line, atom-text-editor.editor .line.cursor-line, :host .line.cursor-line

  • atom-text-editor .gutter, atom-text-editor::shadow .gutter, :host .gutter => atom-text-editor .gutter, atom-text-editor.editor .gutter, :host .gutter

  • atom-text-editor .gutter .line-numbers, atom-text-editor::shadow .gutter .line-numbers, :host .gutter .line-numbers => atom-text-editor .gutter .line-numbers, atom-text-editor.editor .gutter .line-numbers, :host .gutter .line-numbers

  • atom-text-editor .gutter .line-number, atom-text-editor::shadow .gutter .line-number, :host .gutter .line-number => atom-text-editor .gutter .line-number, atom-text-editor.editor .gutter .line-number, :host .gutter .line-number

  • atom-text-editor .gutter .line-number.git-line-added, atom-text-editor::shadow .gutter .line-number.git-line-added, :host .gutter .line-number.git-line-added => atom-text-editor .gutter .line-number.git-line-added, atom-text-editor.editor .gutter .line-number.git-line-added, :host .gutter .line-number.git-line-added

  • atom-text-editor .gutter .line-number.git-line-modified, atom-text-editor::shadow .gutter .line-number.git-line-modified, :host .gutter .line-number.git-line-modified => atom-text-editor .gutter .line-number.git-line-modified, atom-text-editor.editor .gutter .line-number.git-line-modified, :host .gutter .line-number.git-line-modified

  • `atom-text-editor .gutter .line-number.git-line-re

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions