Skip to content

Commit

Permalink
Style operators in typescript and flow
Browse files Browse the repository at this point in the history
This makes operators in typescript and flow have the same coloring as in 
javascript
  • Loading branch information
Ben3eeE committed Oct 26, 2018
1 parent aefac9c commit a4dadb5
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/one-dark-syntax/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
@import "styles/syntax/ini.less";
@import "styles/syntax/java.less";
@import "styles/syntax/javascript.less";
@import "styles/syntax/typescript.less";
@import "styles/syntax/json.less";
@import "styles/syntax/ng.less";
@import "styles/syntax/ruby.less";
Expand Down
11 changes: 11 additions & 0 deletions packages/one-dark-syntax/styles/syntax/typescript.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.syntax--source.syntax--ts {
.syntax--keyword.syntax--operator {
color: @hue-1;
}
}

.syntax--source.syntax--flow {
.syntax--keyword.syntax--operator {
color: @hue-1;
}
}
1 change: 1 addition & 0 deletions packages/one-light-syntax/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
@import "styles/syntax/ini.less";
@import "styles/syntax/java.less";
@import "styles/syntax/javascript.less";
@import "styles/syntax/typescript.less";
@import "styles/syntax/json.less";
@import "styles/syntax/ng.less";
@import "styles/syntax/ruby.less";
Expand Down
11 changes: 11 additions & 0 deletions packages/one-light-syntax/styles/syntax/typescript.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.syntax--source.syntax--ts {
.syntax--keyword.syntax--operator {
color: @hue-1;
}
}

.syntax--source.syntax--flow {
.syntax--keyword.syntax--operator {
color: @hue-1;
}
}

0 comments on commit a4dadb5

Please sign in to comment.