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 Sids-Syntax-Theme/index.less #2

Open
sidpagariya opened this issue Feb 26, 2017 · 0 comments
Open

Deprecated selector in Sids-Syntax-Theme/index.less #2

sidpagariya opened this issue Feb 26, 2017 · 0 comments
Assignees

Comments

@sidpagariya
Copy link
Owner

In Sids-Syntax-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:

  • .comment => .syntax--comment

  • .entity.name.type => .syntax--entity.syntax--name.syntax--type

  • .entity.other.inherited-class => .syntax--entity.syntax--other.syntax--inherited-class

  • .keyword => .syntax--keyword

  • .keyword.control => .syntax--keyword.syntax--control

  • .keyword.operator => .syntax--keyword.syntax--operator

  • .keyword.other.special-method => .syntax--keyword.syntax--other.syntax--special-method

  • .keyword.other.unit => .syntax--keyword.syntax--other.syntax--unit

  • .storage => .syntax--storage

  • .constant => .syntax--constant

  • .constant.character.escape => .syntax--constant.syntax--character.syntax--escape

  • .constant.numeric => .syntax--constant.syntax--numeric

  • .constant.other.color => .syntax--constant.syntax--other.syntax--color

  • .constant.other.symbol => .syntax--constant.syntax--other.syntax--symbol

  • .variable => .syntax--variable

  • .variable.interpolation => .syntax--variable.syntax--interpolation

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

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

  • .string => .syntax--string

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

  • .string.regexp .source.ruby.embedded => .syntax--string.syntax--regexp .syntax--source.syntax--ruby.syntax--embedded

  • .string.other.link => .syntax--string.syntax--other.syntax--link

  • .punctuation.definition.comment => .syntax--punctuation.syntax--definition.syntax--comment

  • .punctuation.definition.string => .syntax--punctuation.syntax--definition.syntax--string

  • .punctuation.definition.variable, .punctuation.definition.parameters, .punctuation.definition.array => .syntax--punctuation.syntax--definition.syntax--variable, .syntax--punctuation.syntax--definition.syntax--parameters, .syntax--punctuation.syntax--definition.syntax--array

  • .punctuation.definition.heading, .punctuation.definition.identity => .syntax--punctuation.syntax--definition.syntax--heading, .syntax--punctuation.syntax--definition.syntax--identity

  • .punctuation.definition.bold => .syntax--punctuation.syntax--definition.syntax--bold

  • .punctuation.definition.italic => .syntax--punctuation.syntax--definition.syntax--italic

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

  • .support.class => .syntax--support.syntax--class

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

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

  • .entity.name.function => .syntax--entity.syntax--name.syntax--function

  • .entity.name.class, .entity.name.type.class => .syntax--entity.syntax--name.syntax--class, .syntax--entity.syntax--name.syntax--type.syntax--class

  • .entity.name.section => .syntax--entity.syntax--name.syntax--section

  • .entity.name.tag => .syntax--entity.syntax--name.syntax--tag

  • .entity.other.attribute-name => .syntax--entity.syntax--other.syntax--attribute-name

  • .entity.other.attribute-name.id => .syntax--entity.syntax--other.syntax--attribute-name.syntax--id

  • .meta.class => .syntax--meta.syntax--class

  • .meta.link => .syntax--meta.syntax--link

  • .meta.require => .syntax--meta.syntax--require

  • .meta.selector => .syntax--meta.syntax--selector

  • .meta.separator => .syntax--meta.syntax--separator

  • .none => .syntax--none

  • .markup.bold => .syntax--markup.syntax--bold

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

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

  • .markup.italic => .syntax--markup.syntax--italic

  • .markup.heading .punctuation.definition.heading => .syntax--markup.syntax--heading .syntax--punctuation.syntax--definition.syntax--heading

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

  • .markup.list => .syntax--markup.syntax--list

  • .markup.quote => .syntax--markup.syntax--quote

  • .markup.raw.inline => .syntax--markup.syntax--raw.syntax--inline

  • .source.gfm .markup => .syntax--source.syntax--gfm .syntax--markup

  • .source.gfm .markup.heading => .syntax--source.syntax--gfm .syntax--markup.syntax--heading

  • .c.punctuation.section.block.begin => .syntax--c.syntax--punctuation.syntax--section.syntax--block.syntax--begin

  • .c.punctuation.section.block.end => .syntax--c.syntax--punctuation.syntax--section.syntax--block.syntax--end

  • .c.punctuation => .syntax--c.syntax--punctuation

  • .cpp.operator => .syntax--cpp.syntax--operator

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.

@sidpagariya sidpagariya self-assigned this Feb 26, 2017
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