Skip to content

Commit

Permalink
GHI-#1 Implement base syntax classes
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Apr 15, 2017
1 parent 61f7909 commit 780374d
Showing 1 changed file with 108 additions and 0 deletions.
108 changes: 108 additions & 0 deletions styles/languages/base.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
/*
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
title Base Language Syntax +
project nord-brackets +
repository https://github.com/arcticicestudio/nord-brackets +
author Arctic Ice Studio +
email development@arcticicestudio.com +
copyright Copyright (C) 2017 +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
/*+----------+
+ Elements +
+----------+*/
.cm-atom {
color: @editor-syntax-color-keyword;
}

.cm-attribute {
color: @editor-syntax-color-attribute;
}

.cm-bracket,
.cm-hr {
color: @editor-syntax-color-punctuation;
}

.cm-builtin {
color: @editor-syntax-color-method;
}

.cm-comment {
color: @editor-syntax-color-comment;
}

.cm-def {
color: @editor-syntax-color-method;
}

.cm-error {
color: @editor-syntax-color-illegal;
}

.cm-header {
color: @editor-syntax-color-markup-heading;
}

.cm-keyword {
color: @editor-syntax-color-keyword;
}

.cm-link:hover {
text-decoration: underline;
}

.cm-meta {
color: @editor-syntax-color-annotation;
}

.cm-minus {
color: @editor-syntax-color-removed;
}

.cm-number {
color: @editor-syntax-color-numeric;
}

.cm-operator {
color: @editor-syntax-color-operator;
}

.cm-plus {
color: @editor-syntax-color-added;
}

.cm-property {
color: @editor-syntax-color-property;
}

.cm-qualifier {
color: @editor-syntax-color-class;
}

.cm-rangeinfo {
color: @editor-syntax-color-regex;
}

.cm-string,
.cm-string-2,
.cm-quote {
color: @editor-syntax-color-string;
}

.cm-tag {
color: @editor-syntax-color-tag;
}

.cm-variable,
.cm-variable-2,
.cm-variable-3 {
color: @editor-syntax-color-variable;
}

/*+------------+
+ UX Support +
+------------+*/
.cm-matchhighlight {
border-bottom: 2px solid @editor-search-match-current-border-color;
}

0 comments on commit 780374d

Please sign in to comment.