Skip to content

Commit

Permalink
Merge branch 'feature/ghi-#7-java-language-support' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Sep 17, 2016
2 parents 0ed2954 + 4ff94e5 commit 513ec44
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.less
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ LESSCSS
/*+--- Languages ---+*/
@import "styles/languages/css";
@import "styles/languages/gfm";
@import "styles/languages/java";
90 changes: 90 additions & 0 deletions styles/languages/java.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/*
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
title Language Java +
project nord-atom-syntax +
version +
repository https://github.com/arcticicestudio/nord-atom-syntax +
author Arctic Ice Studio +
email development@arcticicestudio.com +
copyright Copyright (C) 2016 +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Supports Java, Scala and Java Properties.
[Index]
> Java
> Scala
> Java Properties
[Language Packages]
> language-java (https://atom.io/packages/language-java)
> language-scala (https://atom.io/packages/language-scala)
*/
/*+------+
+ Java +
+------+*/
.source.java {
.keyword.operator.instanceof {
color: @syntax-color-keyword;
}

.punctuation.bracket.angle {
color: @syntax-color-java-bracket-angle;
}

.storage {
&.modifier.import {
color: @syntax-color-import;
}

&.type {
color: @syntax-color-class;

&.annotation {
color: @syntax-color-annotation;
}

&.primitive {
color: @syntax-color-keyword;
}
}
}
}

/*+-------+
+ Scala +
+-------+*/
.source.scala {
.entity.name.package {
color: @syntax-color-class;
}

.meta.import {
color: @syntax-color-class;

.variable {
color: @syntax-color-class;
}
}

.scala.type {
color: @syntax-color-class;

.class {
color: @syntax-color-class;
}
}
}

/*+-----------------+
+ Java Properties +
+-----------------+*/
.source.java-properties {
.meta.key-pair {
color: @syntax-color-keyword;

& > .punctuation {
color: @syntax-color-punctuation;
}
}
}
1 change: 1 addition & 0 deletions styles/syntax-variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ copyright Copyright (C) 2016 +
@syntax-color-gfm-hr: @nord9;
@syntax-color-gfm-link: @nord8;
@syntax-color-gfm-punctuation: @nord9;
@syntax-color-java-bracket-angle: @nord9;
@syntax-color-markup-code: @nord7;
@syntax-color-markup-heading: @nord8;
@syntax-color-markup-heading-marker: @nord9;
Expand Down

0 comments on commit 513ec44

Please sign in to comment.