Deprecated selector in `bas\styles\bas.less`
- Dominant language
- CSS
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
In `bas\styles\bas.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 .highlight.find-result .region` => `atom-text-editor.editor .highlight.find-result .region`
* `atom-text-editor::shadow .highlight.current-result .region,
atom-text-editor::shadow .highlight.current-result ~ .highlight.selection .region` => `atom-text-editor.editor .highlight.current-result .region,
atom-text-editor.editor .highlight.current-result ~ .highlight.selection .region`
* `atom-text-editor::shadow .gutter div.line-number.git-line-added` => `atom-text-editor.editor .gutter div.line-number.git-line-added`
* `atom-text-editor::shadow .gutter div.line-number.git-line-modified` => `atom-text-editor.editor .gutter div.line-number.git-line-modified`
* `atom-text-editor::shadow .gutter div.line-number.git-line-removed:before` => `atom-text-editor.editor .gutter div.line-number.git-line-removed:before`
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.