diff --git a/index.less b/index.less index 64d3c5b..723a2c5 100644 --- a/index.less +++ b/index.less @@ -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"; diff --git a/styles/syntax/elixir.less b/styles/syntax/elixir.less new file mode 100644 index 0000000..ca125c8 --- /dev/null +++ b/styles/syntax/elixir.less @@ -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; + } +}