From: Alexander Barton Date: Wed, 20 May 2015 09:06:41 +0000 (+0200) Subject: Use "atom-text-editor" tag instead of "editor[-colors]" classes X-Git-Tag: v0.1.0~8 X-Git-Url: https://arthur.barton.de/gitweb/?p=atom-ax-monokai-syntax.git;a=commitdiff_plain;h=30293af0861294888c364c6efca6173a8164dff2 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. --- 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; }