From c9fe554ae2a6e14b8e207e80d81ae497fe9fcfae Mon Sep 17 00:00:00 2001 From: simurai Date: Thu, 4 Feb 2016 12:58:08 +0900 Subject: [PATCH] Highlight operators in JS Ref https://github.com/atom/one-dark-syntax/pull/61#issuecomment-179586989 --- styles/languages/javascript.less | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/styles/languages/javascript.less b/styles/languages/javascript.less index 38921b7..21974d9 100644 --- a/styles/languages/javascript.less +++ b/styles/languages/javascript.less @@ -1,15 +1,17 @@ .source.js { + .keyword.operator { + color: @hue-1; + // keywords are definded in https://github.com/atom/language-javascript/blob/master/grammars/javascript.cson // search "instanceof" for location - .keyword.operator { - &.delete, - &.in, - &.of, - &.instanceof, - &.new, - &.typeof, - &.void { - color: @syntax-color-keyword; - } + &.delete, + &.in, + &.of, + &.instanceof, + &.new, + &.typeof, + &.void { + color: @hue-3; } + } }