[GH-ISSUE #85] Deprecated selector in meteor-api\styles\meteor-color-coding.less #71

Closed
opened 2026-05-05 15:01:43 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @codedeep on GitHub (Feb 16, 2017).
Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/85

In meteor-api\styles\meteor-color-coding.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::shadow .api.meteor => atom-text-editor.editor .syntax--api.syntax--meteor

  • atom-text-editor::shadow .api.meteor.core => atom-text-editor.editor .syntax--api.syntax--meteor.syntax--core

  • atom-text-editor::shadow .api.meteor.ddp => atom-text-editor.editor .syntax--api.syntax--meteor.syntax--ddp

  • atom-text-editor::shadow .api.meteor.http => atom-text-editor.editor .syntax--api.syntax--meteor.syntax--http

  • atom-text-editor::shadow .api.meteor.template => atom-text-editor.editor .syntax--api.syntax--meteor.syntax--template

  • atom-text-editor::shadow .api.meteor.blaze => atom-text-editor.editor .syntax--api.syntax--meteor.syntax--blaze

  • atom-text-editor::shadow .api.meteor.router => atom-text-editor.editor .syntax--api.syntax--meteor.syntax--router

  • atom-text-editor::shadow .api.meteor.collection => atom-text-editor.editor .syntax--api.syntax--meteor.syntax--collection

  • atom-text-editor::shadow .api.meteor.session => atom-text-editor.editor .syntax--api.syntax--meteor.syntax--session

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.

Originally created by @codedeep on GitHub (Feb 16, 2017). Original GitHub issue: https://github.com/awatson1978/meteor-api/issues/85 In `meteor-api\styles\meteor-color-coding.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::shadow .api.meteor` => `atom-text-editor.editor .syntax--api.syntax--meteor` * `atom-text-editor::shadow .api.meteor.core` => `atom-text-editor.editor .syntax--api.syntax--meteor.syntax--core` * `atom-text-editor::shadow .api.meteor.ddp` => `atom-text-editor.editor .syntax--api.syntax--meteor.syntax--ddp` * `atom-text-editor::shadow .api.meteor.http` => `atom-text-editor.editor .syntax--api.syntax--meteor.syntax--http` * `atom-text-editor::shadow .api.meteor.template` => `atom-text-editor.editor .syntax--api.syntax--meteor.syntax--template` * `atom-text-editor::shadow .api.meteor.blaze` => `atom-text-editor.editor .syntax--api.syntax--meteor.syntax--blaze` * `atom-text-editor::shadow .api.meteor.router` => `atom-text-editor.editor .syntax--api.syntax--meteor.syntax--router` * `atom-text-editor::shadow .api.meteor.collection` => `atom-text-editor.editor .syntax--api.syntax--meteor.syntax--collection` * `atom-text-editor::shadow .api.meteor.session` => `atom-text-editor.editor .syntax--api.syntax--meteor.syntax--session` 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.
Author
Owner

@franzos commented on GitHub (Mar 17, 2017):

This is a duplicate of #84 .

<!-- gh-comment-id:287319849 --> @franzos commented on GitHub (Mar 17, 2017): This is a duplicate of #84 .
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/meteor-api#71
No description provided.