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 birds-of-paradise-theme/index.less #8

Open
dromoli opened this issue Oct 14, 2018 · 3 comments
Open

Deprecated selector in birds-of-paradise-theme/index.less #8

dromoli opened this issue Oct 14, 2018 · 3 comments

Comments

@dromoli
Copy link

dromoli commented Oct 14, 2018

In birds-of-paradise-theme/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, atom-text-editor::shadow .gutter => atom-text-editor, atom-text-editor.editor .gutter

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

  • atom-text-editor.is-focused::shadow .cursor => atom-text-editor.is-focused.editor .cursor

  • atom-text-editor.is-focused::shadow .selection .region => atom-text-editor.is-focused.editor .selection .region

  • atom-text-editor.is-focused::shadow .line-number.cursor-line-no-selection, atom-text-editor.is-focused::shadow .line.cursor-line => atom-text-editor.is-focused.editor .line-number.cursor-line-no-selection, atom-text-editor.is-focused.editor .line.cursor-line

  • .comment => .syntax--comment

  • .string.quoted.double.block.python => .syntax--string.syntax--quoted.syntax--double.syntax--block.syntax--python

  • .constant => .syntax--constant

  • .entity => .syntax--entity

  • .keyword => .syntax--keyword

  • .storage => .syntax--storage

  • .string => .syntax--string

  • .support => .syntax--support

  • .variable => .syntax--variable

  • .invalid.deprecated => .syntax--invalid.syntax--deprecated

  • .invalid.illegal => .syntax--invalid.syntax--illegal

  • .string .constant => .syntax--string .syntax--constant

  • .string.regexp => .syntax--string.syntax--regexp

  • .string.regexp .constant.character.escape, .string.regexp .source.ruby.embedded, .string.regexp .string.regexp.arbitrary-repitition => .syntax--string.syntax--regexp .syntax--constant.syntax--character.syntax--escape, .syntax--string.syntax--regexp .syntax--source.syntax--ruby.syntax--embedded, .syntax--string.syntax--regexp .syntax--string.syntax--regexp.syntax--arbitrary-repitition

  • .string .variable => .syntax--string .syntax--variable

  • .support.function => .syntax--support.syntax--function

  • .support.constant => .syntax--support.syntax--constant

  • .meta.preprocessor.c => .syntax--meta.syntax--preprocessor.syntax--c

  • .meta.preprocessor.c .keyword => .syntax--meta.syntax--preprocessor.syntax--c .syntax--keyword

  • .meta.tag.sgml.doctype, .meta.tag.sgml.doctype .entity, .meta.tag.sgml.doctype .string, .meta.tag.preprocessor.xml, .meta.tag.preprocessor.xml .entity, .meta.tag.preprocessor.xml .string => .syntax--meta.syntax--tag.syntax--sgml.syntax--doctype, .syntax--meta.syntax--tag.syntax--sgml.syntax--doctype .syntax--entity, .syntax--meta.syntax--tag.syntax--sgml.syntax--doctype .syntax--string, .syntax--meta.syntax--tag.syntax--preprocessor.syntax--xml, .syntax--meta.syntax--tag.syntax--preprocessor.syntax--xml .syntax--entity, .syntax--meta.syntax--tag.syntax--preprocessor.syntax--xml .syntax--string

  • .declaration.tag, .declaration.tag .entity, .meta.tag, .meta.tag .entity => .syntax--declaration.syntax--tag, .syntax--declaration.syntax--tag .syntax--entity, .syntax--meta.syntax--tag, .syntax--meta.syntax--tag .syntax--entity

  • .meta.diff, .meta.diff.header, .meta.separator => .syntax--meta.syntax--diff, .syntax--meta.syntax--diff.syntax--header, .syntax--meta.syntax--separator

  • .markup.deleted => .syntax--markup.syntax--deleted

  • .markup.changed => .syntax--markup.syntax--changed

  • .markup.inserted => .syntax--markup.syntax--inserted

  • .keyword.control.at-rule.sass => .syntax--keyword.syntax--control.syntax--at-rule.syntax--sass

  • .variable.parameter => .syntax--variable.syntax--parameter

  • .keyword.control.untitled, .entity.other.attribute-name.class.sass, .entity.other.attribute-name.id.sass, .entity.other.attribute-name.tag.pseudo-class => .syntax--keyword.syntax--control.syntax--untitled, .syntax--entity.syntax--other.syntax--attribute-name.syntax--class.syntax--sass, .syntax--entity.syntax--other.syntax--attribute-name.syntax--id.syntax--sass, .syntax--entity.syntax--other.syntax--attribute-name.syntax--tag.syntax--pseudo-class

  • .support.type.property-name.sass => .syntax--support.syntax--type.syntax--property-name.syntax--sass

  • .support.constant.property-value.sass => .syntax--support.syntax--constant.syntax--property-value.syntax--sass

  • .meta.selector.css .entity.name.tag, .meta.selector.css .entity.other.attribute-name.class, .meta.selector.css .entity.other.attribute-name.id => .syntax--meta.syntax--selector.syntax--css .syntax--entity.syntax--name.syntax--tag, .syntax--meta.syntax--selector.syntax--css .syntax--entity.syntax--other.syntax--attribute-name.syntax--class, .syntax--meta.syntax--selector.syntax--css .syntax--entity.syntax--other.syntax--attribute-name.syntax--id

  • .meta.property-group .support.constant.property-value.css, .meta.property-value .support.constant.property-value.css => .syntax--meta.property-group .syntax--support.syntax--constant.syntax--property-value.syntax--css, .syntax--meta.syntax--property-value .syntax--support.syntax--constant.syntax--property-value.syntax--css

  • .meta.property-value .support.constant.named-color.css, .meta.property-value .constant => .syntax--meta.syntax--property-value .syntax--support.syntax--constant.named-color.syntax--css, .syntax--meta.syntax--property-value .syntax--constant

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.

@Jeroendevr
Copy link

I have noticed this as well. How to help update this?

@jamischarles
Copy link
Owner

I don't use atom anymore. Happy to merge any PRs you file 👍

@Jeroendevr
Copy link

Ok, thank you for replying. Perhaps I'll do that.

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

3 participants