Skip to content

Commit

Permalink
Merge pull request #3 from occurr/master
Browse files Browse the repository at this point in the history
Add Elixir syntax styles
  • Loading branch information
pfist authored Jul 17, 2017
2 parents 5066c1c + 9f3f16e commit e0ce1eb
Show file tree
Hide file tree
Showing 2 changed files with 49 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 'syntax/cpp';
@import 'syntax/cs';
@import 'syntax/css';
@import 'syntax/elixir';
@import 'syntax/gfm';
@import 'syntax/go';
@import 'syntax/html';
Expand Down
48 changes: 48 additions & 0 deletions styles/syntax/elixir.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@

/* SYNTAX: ELIXIR */
.syntax--source.syntax--elixir {
.syntax--constant.syntax--definition,
.syntax--constant.syntax--language,
.syntax--function {
color: @hue-1;
}
.syntax--variable.syntax--definition,
.syntax--variable.syntax--anonymous,
.syntax--embedded.syntax--punctuation {
color: @hue-3;
.syntax--empty {
color: @hue-3;
}
}
.syntax--keyword.syntax--special-method,
.syntax--readwrite.syntax--module,
.syntax--storage.syntax--type{
color: @hue-5;
> .syntax--punctuation {
color: @hue-5;
}
}
.syntax--regexp.syntax--section,
.syntax--regexp.syntax--string,
.syntax--quoted{
color: @hue-4;
> .syntax--punctuation{
color: @hue-4;
}
}
.syntax--separator,
.syntax--variable.syntax--constant,
.syntax--entity.syntax--name.syntax--type,
.syntax--constant.syntax--numeric {
color: @hue-6;
}
.syntax--array,
.syntax--scope,
.syntax--section,
.syntax--keyword.syntax--operator {
color: @mono-2;
}
.syntax--source {
color: @mono-1;
}
}

0 comments on commit e0ce1eb

Please sign in to comment.