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 Selectors #38

Open
Drewstar opened this issue Jul 20, 2017 · 1 comment
Open

Deprecated Selectors #38

Drewstar opened this issue Jul 20, 2017 · 1 comment

Comments

@Drewstar
Copy link

Hi:

I just installed Wild Cherry and this error came up. If there is something I can do just let me know - Drew

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 .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 .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 .search-results .marker .region, :host .search-results .marker .region => atom-text-editor .search-results .syntax--marker .region,atom-text-editor .search-results .syntax--marker .region
atom-text-editor .search-results .marker.current-result .region, :host .search-results .marker.current-result .region => atom-text-editor .search-results .syntax--marker.current-result .region,atom-text-editor .search-results .syntax--marker.current-result .region
atom-text-editor.is-focused .cursor, :host(.is-focused) .cursor => atom-text-editor.is-focused .cursor,atom-text-editor .cursor
atom-text-editor.is-focused .selection .region, :host(.is-focused) .selection .region => atom-text-editor.is-focused .selection .region,atom-text-editor .selection .region
atom-text-editor.is-focused .line-number.cursor-line-no-selection, atom-text-editor.is-focused .line.cursor-line, :host(.is-focused) .line-number.cursor-line-no-selection, :host(.is-focused) .line.cursor-line => atom-text-editor.is-focused .line-number.cursor-line-no-selection, atom-text-editor.is-focused .line.cursor-line,atom-text-editor .line-number.cursor-line-no-selection,atom-text-editor .line.cursor-line
.comment => .syntax--comment
.string => .syntax--string
.constant.numeric => .syntax--constant.syntax--numeric
.constant.language => .syntax--constant.syntax--language
.constant.character, .constant.other => .syntax--constant.syntax--character, .syntax--constant.syntax--other
.variable.php => .syntax--variable.syntax--php
.keyword => .syntax--keyword
.meta.tag, .declaration.tag => .syntax--meta.syntax--tag, .syntax--declaration.syntax--tag
.storage => .syntax--storage
.storage.type => .syntax--storage.syntax--type
.entity.name.class => .syntax--entity.syntax--name.syntax--class
.entity.other.inherited-class => .syntax--entity.syntax--other.syntax--inherited-class
.entity.name.function => .syntax--entity.syntax--name.syntax--function
.variable.parameter => .syntax--variable.syntax--parameter
.entity.name.tag => .syntax--entity.syntax--name.syntax--tag
.entity.name.tag.mustache, .entity.name.function.mustache => .syntax--entity.syntax--name.syntax--tag.syntax--mustache, .syntax--entity.syntax--name.syntax--function.syntax--mustache
.entity.other.attribute-name => .syntax--entity.syntax--other.syntax--attribute-name
.support.function => .syntax--support.syntax--function
.support.constant => .syntax--support.syntax--constant
.support.type, .support.class => .syntax--support.syntax--type, .syntax--support.syntax--class
.invalid => .syntax--invalid
.invalid.deprecated => .syntax--invalid.syntax--deprecated
.meta.diff, .meta.diff.header => .syntax--meta.syntax--diff, .syntax--meta.syntax--diff.syntax--header
.markup.deleted => .syntax--markup.syntax--deleted
.markup.inserted => .syntax--markup.syntax--inserted
.markup.changed => .syntax--markup.syntax--changed
.heading.gfm => .syntax--heading.syntax--gfm
.list.gfm => .syntax--list.syntax--gfm
.comment.gfm => .syntax--comment.syntax--gfm
.support.quote.gfm => .syntax--support.syntax--quote.syntax--gfm
.mention.gfm, .username.gfm => .syntax--mention.syntax--gfm, .syntax--username.syntax--gfm
.entity.gfm => .syntax--entity.syntax--gfm
.link.gfm => .syntax--link.syntax--gfm
.strike.gfm => .syntax--strike.syntax--gfm
.raw.gfm, .code.gfm => .syntax--raw.syntax--gfm, .syntax--code.syntax--gfm
.code.gfm .link => .syntax--code.syntax--gfm .syntax--link
.critic.addition => .syntax--critic.syntax--addition
.critic.deletion => .syntax--critic.syntax--deletion
.critic.substitution => .syntax--critic.syntax--substitution
.critic.highlight => .syntax--critic.highlight
.punctuation.tag.liquid, .punctuation.output.liquid => .syntax--punctuation.syntax--tag.syntax--liquid, .syntax--punctuation.syntax--output.syntax--liquid
.support.function.liquid => .syntax--support.syntax--function.syntax--liquid
.json .structure.dictionary > .string.quoted.double => .syntax--json .syntax--structure.syntax--dictionary > .syntax--string.syntax--quoted.syntax--double
.json .structure.dictionary > .string.quoted.double .punctuation.definition.string => .syntax--json .syntax--structure.syntax--dictionary > .syntax--string.syntax--quoted.syntax--double .syntax--punctuation.syntax--definition.syntax--string
.json .structure.dictionary.value > .string.quoted.double => .syntax--json .syntax--structure.syntax--dictionary.syntax--value > .syntax--string.syntax--quoted.syntax--double
.json .structure.dictionary.value > .string.quoted.double .punctuation.definition.string => .syntax--json .syntax--structure.syntax--dictionary.syntax--value > .syntax--string.syntax--quoted.syntax--double .syntax--punctuation.syntax--definition.syntax--string
.constant.numeric.line-number.find-in-files:not(.match) => .syntax--constant.syntax--numeric.line-number.syntax--find-in-files:not(.match)
.entity.name.filename => .syntax--entity.syntax--name.syntax--filename
.message.error => .syntax--message.syntax--error
.sublimelinter.mark.warning => .sublimelinter.syntax--mark.syntax--warning
.sublimelinter.mark.error => .sublimelinter.syntax--mark.syntax--error
.meta.tag.class => .syntax--meta.syntax--tag.syntax--class
atom-text-editor .linter-highlight.error.linter-gutter:before => atom-text-editor .linter-highlight.syntax--error.linter-gutter:before
atom-text-editor .linter-highlight.warning.linter-gutter:before => atom-text-editor .linter-highlight.syntax--warning.linter-gutter:before
atom-text-editor.editor .linter-highlight.error.linter-gutter, atom-text-editor.editor .linter-highlight.warning.linter-gutter => atom-text-editor.editor .linter-highlight.syntax--error.linter-gutter, atom-text-editor.editor .linter-highlight.syntax--warning.linter-gutter
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.

@mashaal
Copy link
Owner

mashaal commented Jul 20, 2017

Ah, I saw this warning -- there have been heaps of deprecated selectors in the recent atom update. I tried to fix when I first saw this (but I ended up breaking everything). We need to remove all :host and ::shadow selectors and update to new syntax. 😭 😭 😭

Any help is much appreciated!!!!

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

No branches or pull requests

2 participants