From 30293af0861294888c364c6efca6173a8164dff2 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Wed, 20 May 2015 11:06:41 +0200 Subject: [PATCH] Use "atom-text-editor" tag instead of "editor[-colors]" classes This fixes the following deprecation warnings: - "Use the atom-text-editor tag instead of the editor-colors class." - "Target the selector :host, atom-text-editor instead of .editor-colors for shadow DOM support." - "Use the atom-text-editor tag instead of the editor class." - "Target the selector :host, atom-text-editor instead of .editor for shadow DOM support." Closes joaoafrmartins/seti-monokai#7, Closes joaoafrmartins/seti-monokai#8, Closes joaoafrmartins/seti-monokai#9, Closes joaoafrmartins/seti-monokai#10. --- index.less | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.less b/index.less index 7928bcc..324f8a5 100644 --- a/index.less +++ b/index.less @@ -1,11 +1,9 @@ @import 'syntax-variables'; -.editor-colors { +:host, atom-text-editor { background-color: @syntax-background-color; color: @syntax-text-color; -} -.editor { .invisible-character { color: @syntax-invisible-character-color; } -- 2.39.2