Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated selector in 4-color-dark\index.less #1

Open
f1ow opened this issue May 28, 2021 · 0 comments
Open

Deprecated selector in 4-color-dark\index.less #1

f1ow opened this issue May 28, 2021 · 0 comments

Comments

@f1ow
Copy link

f1ow commented May 28, 2021

In 4-color-dark\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, :host => .atom-text-editor,atom-text-editor

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

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

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

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

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

  • .atom-text-editor .gutter .line-number.cursor-line-no-selection, :host .gutter .line-number.cursor-line-no-selection => .atom-text-editor .gutter .line-number.cursor-line-no-selection,atom-text-editor .gutter .line-number.cursor-line-no-selection

  • .atom-text-editor .gutter .line-number.folded, :host .gutter .line-number.folded, .atom-text-editor .gutter .line-number:after, :host .gutter .line-number:after, .atom-text-editor .fold-marker:after, :host .fold-marker:after => .atom-text-editor .gutter .line-number.folded,atom-text-editor .gutter .line-number.folded, .atom-text-editor .gutter .line-number:after,atom-text-editor .gutter .line-number:after, .atom-text-editor .fold-marker:after,atom-text-editor .fold-marker:after

  • .atom-text-editor .selection .region, :host .selection .region => .atom-text-editor .selection .region,atom-text-editor .selection .region

  • .source .comment => .syntax--source .syntax--comment

  • .source .keyword:not(.unit):not(.special-method) => .syntax--source .syntax--keyword:not(.unit):not(.special-method)

  • .source .string => .syntax--source .syntax--string

  • .source .storage.type, .source .storage.modifier => .syntax--source .syntax--storage.syntax--type, .syntax--source .syntax--storage.syntax--modifier

  • .source .storage.type.function.fus, .source .storage.type.class.fus => .syntax--source .syntax--storage.syntax--type.syntax--function.syntax--fus, .syntax--source .syntax--storage.syntax--type.syntax--class.syntax--fus

  • .source .string .source, .source .string .meta.embedded.line => .syntax--source .syntax--string .syntax--source, .syntax--source .syntax--string .syntax--meta.syntax--embedded.line

  • .source .string .punctuation.section.embedded => .syntax--source .syntax--string .syntax--punctuation.syntax--section.syntax--embedded

  • .source .string .punctuation.section.embedded .source => .syntax--source .syntax--string .syntax--punctuation.syntax--section.syntax--embedded .syntax--source

  • .source .constant => .syntax--source .syntax--constant

  • .source .tag => .syntax--source .syntax--tag

  • .source .entity.name.function.fus, .source .variable.parameter, .source .variable.assignment => `.syntax--source .syntax--entity.syntax--name.syntax--function.syntax--fus,
    .syntax--source .syntax--variable.syntax--parameter,
    .syntax--sou

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

No branches or pull requests

1 participant