Skip to content

Commit

Permalink
Fix minor color issues. Add --syntax prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed Jul 1, 2017
1 parent e0e740a commit 57ac2aa
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
36 changes: 25 additions & 11 deletions styles/syntax/elixir.less
Original file line number Diff line number Diff line change
@@ -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;
}
}

0 comments on commit 57ac2aa

Please sign in to comment.