Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix Atom .editor-colors

  • Loading branch information...
commit a9720267da9eb457638fa1b4d14907b0780061c0 1 parent 7a5da65
@RobLoach RobLoach authored
View
2  templates/atom/-dark-base.less.erb
@@ -3,7 +3,7 @@
@import "<%= @scheme %>-dark-syntax-variables";
-.editor {
+.editor-colors {
background-color: @syntax-background-color;
color: @syntax-text-color;
}
View
8 templates/atom/-dark-syntax-variables.less.erb
@@ -27,7 +27,7 @@
// For git diff info. i.e. in the gutter
// These are static and were not extracted from your textmate theme
-@syntax-color-renamed: #96CBFE;
-@syntax-color-added: #A8FF60;
-@syntax-color-modified: #E9C062;
-@syntax-color-removed: #CC6666;
+@syntax-color-renamed: #<%= @base["0D"]["hex"] %>;
+@syntax-color-added: #<%= @base["0B"]["hex"] %>;
+@syntax-color-modified: #<%= @base["0A"]["hex"] %>;
+@syntax-color-removed: #<%= @base["08"]["hex"] %>;
View
2  templates/atom/-light-base.less.erb
@@ -3,7 +3,7 @@
@import "<%= @scheme %>-light-syntax-variables";
-.editor {
+.editor-colors {
background-color: @syntax-background-color;
color: @syntax-text-color;
}
View
8 templates/atom/-light-syntax-variables.less.erb
@@ -24,7 +24,7 @@
// For git diff info. i.e. in the gutter
// These are static and were not extracted from your textmate theme
-@syntax-color-renamed: #96CBFE;
-@syntax-color-added: #A8FF60;
-@syntax-color-modified: #E9C062;
-@syntax-color-removed: #CC6666;
+@syntax-color-renamed: #<%= @base["0D"]["hex"] %>;
+@syntax-color-added: #<%= @base["0B"]["hex"] %>;
+@syntax-color-modified: #<%= @base["0A"]["hex"] %>;
+@syntax-color-removed: #<%= @base["08"]["hex"] %>;
Please sign in to comment.
Something went wrong with that request. Please try again.