Skip to content

Commit

Permalink
Merge pull request atom#94 from occurr/master
Browse files Browse the repository at this point in the history
Imported Elixir syntax highlighting.
  • Loading branch information
simurai authored Jul 4, 2017
2 parents 939fa65 + df4e237 commit 0749f41
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
@import "styles/syntax/cpp.less";
@import "styles/syntax/cs.less";
@import "styles/syntax/css.less";
@import "styles/syntax/elixir.less";
@import "styles/syntax/gfm.less";
@import "styles/syntax/go.less";
@import "styles/syntax/ini.less";
Expand Down
43 changes: 43 additions & 0 deletions styles/syntax/elixir.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
.syntax--source.syntax--elixir {
.syntax--source.syntax--embedded.syntax--source {
color: @mono-1;
}
.syntax--constant.syntax--language,
.syntax--constant.syntax--numeric,
.syntax--constant.syntax--definition {
color: @hue-2;
}
.syntax--variable.syntax--definition,
.syntax--variable.syntax--anonymous{
color: @hue-3;
}
.syntax--quoted{
color: @hue-4;
}
.syntax--keyword.syntax--special-method,
.syntax--embedded.syntax--section,
.syntax--embedded.syntax--source.syntax--empty, {
color: @hue-5;
}
.syntax--readwrite.syntax--module {
.syntax--punctuation {
color: @hue-5;
}
}
.syntax--regexp.syntax--section,
.syntax--regexp.syntax--string {
color: @hue-5-2;
}
.syntax--separator,
.syntax--keyword.syntax--operator {
color: @hue-6;
}
.syntax--variable.syntax--constant {
color: @hue-6-2;
}
.syntax--array,
.syntax--scope,
.syntax--section {
color: @mono-2;
}
}

0 comments on commit 0749f41

Please sign in to comment.