Skip to content

Commit

Permalink
syntax improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
divadretlaw committed Jul 13, 2018
1 parent 00546ad commit 0211cda
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
24 changes: 10 additions & 14 deletions base/urban.less
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ atom-text-editor .search-results .syntax--marker.current-result .region {

.syntax--comment {
color: @light-gray;
font-style: italic;
}

.syntax--keyword {
Expand All @@ -83,7 +84,7 @@ atom-text-editor .search-results .syntax--marker.current-result .region {
&.syntax--control {
color: @light-magenta;

&.syntax--ternary {
&.syntax--ternary, &.syntax--include {
color: @orange;
}
}
Expand Down Expand Up @@ -117,13 +118,13 @@ atom-text-editor .search-results .syntax--marker.current-result .region {
color: @orange;

&.syntax--type {
color: @light-cyan;
color: @light-magenta;

&.syntax--function.syntax--arrow {
color: @orange;
}

&.syntax--var, &.syntax--function {
&.syntax--var, &.syntax--function, &.syntax--class {
color: @light-magenta;
}
}
Expand Down Expand Up @@ -154,17 +155,7 @@ atom-text-editor .search-results .syntax--marker.current-result .region {
}

&.syntax--other {
&syntax--color {
color: @light-cyan;
}

&.syntax--symbol {
color: @light-cyan;
}

&.syntax--placeholder {
color: inherit;
}
color: @light-cyan;
}
}

Expand Down Expand Up @@ -231,13 +222,18 @@ atom-text-editor .search-results .syntax--marker.current-result .region {
.syntax--punctuation {
color: @syntax-text-color;

&.syntax--directive {
color: @orange;
}

&.syntax--terminator {
color: @light-gray;
}

&.syntax--definition {
&.syntax--comment {
color: @light-gray;
font-style: italic;
}

&.syntax--string {
Expand Down
3 changes: 2 additions & 1 deletion index.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
@import "./lang/java.less";
@import "./lang/json.less";
@import "./lang/less.less";
@import "./lang/php.less";
@import "./lang/php.less";
@import "./lang/swift.less";
5 changes: 5 additions & 0 deletions lang/swift.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.syntax--swift {
&.syntax--storage.syntax--type {
color: @light-magenta;
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "urban-syntax",
"theme": "syntax",
"version": "2.0.2",
"version": "2.0.3",
"description": "Dark syntax theme inspired by Xcode themes",
"keywords": [
"syntax",
Expand Down

0 comments on commit 0211cda

Please sign in to comment.