Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Commit

Permalink
Merge pull request #90 from joseramonc/master
Browse files Browse the repository at this point in the history
fix var, functions and method calls coloring in javascript
  • Loading branch information
simurai committed Dec 2, 2017
2 parents e620bae + 343555b commit f10aa41
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion styles/syntax/javascript.less
Expand Up @@ -36,6 +36,18 @@
}

.syntax--variable {
color: @syntax-text-color;
}
.syntax--variable.syntax--dom {
color: @green;
}
.syntax--delimiter + .syntax--dom {
color: @syntax-text-color;
}
.syntax--name {
color: @syntax-text-color;
}
.syntax--variable.syntax--language {
color: @blue;
}
.syntax--variable.syntax--parameter {
Expand All @@ -47,11 +59,14 @@
}

.syntax--support.syntax--function {
color: @violet;
color: @syntax-text-color;
}
.syntax--support.syntax--constant {
color: @syntax-text-color;
}
.syntax--storage {
color: @blue;
}

.syntax--constant.syntax--numeric {
color: @syntax-text-color;
Expand All @@ -70,6 +85,10 @@
.syntax--meta.syntax--brace.syntax--curly {
color: @blue;
}
.syntax--definition.syntax--begin.syntax--curly,
.syntax--definition.syntax--end.syntax--curly, {
color: @blue;
}
.syntax--string.syntax--quoted.syntax--template {
.syntax--embedded.syntax--source {
color: @syntax-text-color;
Expand Down

0 comments on commit f10aa41

Please sign in to comment.