From 82f4b2a5011ef449d98847e51ef84c8c5fdf9cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9E=97=E7=85=A7=E5=B9=B8?= Date: Tue, 21 Feb 2017 09:56:00 +0900 Subject: [PATCH] Update highlights.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 .highlights .atom-typescript-occurrence .region => atom-text-editor.editor .highlights .atom-typescript-occurrence .region 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. --- styles/highlights.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/highlights.less b/styles/highlights.less index db6615377..29df648b6 100644 --- a/styles/highlights.less +++ b/styles/highlights.less @@ -1,6 +1,6 @@ @import "ui-variables"; -atom-text-editor::shadow { +atom-text-editor.editor { .highlights { .atom-typescript-occurrence { .region {