cdcme/firecode-syntax

Deprecated selector in `firecode-syntax/index.less`

Closed this issue · 0 comments

In firecode-syntax/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:

  • .editor .search-results .marker .region => .editor .search-results .syntax--marker .region

  • .editor .search-results .marker.current-result .region => .editor .search-results .syntax--marker.current-result .region

  • .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

  • .keyword => .syntax--keyword

  • .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.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

  • .support.other.namespace, .entity.name.type.namespace => .syntax--support.syntax--other.syntax--namespace, .syntax--entity.syntax--name.syntax--type.syntax--namespace

  • .support.other.namespace.use-as.php => .syntax--support.syntax--other.syntax--namespace.syntax--use-as.syntax--php

  • .variable.language.namespace.php => .syntax--variable.syntax--language.syntax--namespace.syntax--php

  • .punctuation.separator.inheritance.php => .syntax--punctuation.syntax--separator.syntax--inheritance.syntax--php

  • .support.function.misc.css, .support.constant.property-value.css, .support.constant.font-name.css => .syntax--support.syntax--function.syntax--misc.syntax--css, .syntax--support.syntax--constant.syntax--property-value.syntax--css, .syntax--support.syntax--constant.syntax--font-name.syntax--css

  • .meta.tag.template.value.twig, .meta.tag.template.block.twig => .syntax--meta.syntax--tag.syntax--template.syntax--value.syntax--twig, .syntax--meta.syntax--tag.syntax--template.syntax--block.syntax--twig

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

  • .variable.other.twig => .syntax--variable.syntax--other.syntax--twig

  • .variable.other.property.twig => .syntax--variable.syntax--other.syntax--property.syntax--twig

  • .constant.language.twig => .syntax--constant.syntax--language.syntax--twig

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

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

  • .meta.function-call.other.twig => .syntax--meta.syntax--function-call.syntax--other.syntax--twig

  • .meta.function-call.twig => .syntax--meta.syntax--function-call.syntax--twig

  • .invalid => .syntax--invalid

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

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.