From 57ac2aa02379f6b151077a2cffea473a9008039d Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 1 Jul 2017 12:24:37 -0700 Subject: [PATCH] Fix minor color issues. Add --syntax prefix. --- package.json | 2 +- styles/syntax/elixir.less | 36 +++++++++++++++++++++++++----------- 2 files changed, 26 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 0301e95..22d4c04 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "one-dark-syntax", "theme": "syntax", - "version": "1.8.1", + "version": "1.7.1", "description": "A dark syntax theme", "keywords": [ "dark", diff --git a/styles/syntax/elixir.less b/styles/syntax/elixir.less index 8531bb9..279539e 100644 --- a/styles/syntax/elixir.less +++ b/styles/syntax/elixir.less @@ -1,26 +1,40 @@ .syntax--source.syntax--elixir { - .syntax--punctuation.definition.constant { - color: @hue-1; + .syntax--source.syntax--embedded.syntax--source { + color: @mono-1; } - .syntax--keyword.operator { + .syntax--constant.syntax--language, + .syntax--constant.syntax--numeric, + .syntax--constant.syntax--definition { color: @hue-2; } - .syntax--support.function.variable.quoted { + .syntax--variable.syntax--definition, + .syntax--variable.syntax--anonymous{ + color: @hue-3; + } + .syntax--quoted{ color: @hue-4; } - .syntax--keyword.other.special-method { + .syntax--keyword.syntax--special-method, + .syntax--embedded.syntax--section, + .syntax--embedded.syntax--source.syntax--empty, { color: @hue-5; } - .syntax--punctuation.section.regexp, - .syntax--string.regexp { + .syntax--readwrite.syntax--module { + .syntax--punctuation { + color: @hue-5; + } + } + .syntax--regexp.syntax--section, + .syntax--regexp.syntax--string { color: @hue-5-2; } - .syntax--punctuation.separator.object, - .syntax--entity.name.type.module { + .syntax--separator, + .syntax--keyword.syntax--operator { color: @hue-6; } - .syntax--constant.language, - .syntax--constant.numeric { + .syntax--array, + .syntax--scope, + .syntax--variable.syntax--constant { color: @hue-6-2; } }