Move git markup styles to syntax.less

This commit is contained in:
Kevin Sawicki 2013-12-06 11:37:39 -08:00
parent 80552675d0
commit 29d1b42d04
2 changed files with 21 additions and 16 deletions

View File

@ -11,22 +11,6 @@
z-index: 0;
font-family: Inconsolata, Monaco, Consolas, 'Courier New', Courier;
line-height: 1.3;
.markup {
&.git-commit {
&.changed {
color: @text-color-warning;
}
&.deleted {
color: @text-color-error;
}
&.inserted {
color: @text-color-info;
}
}
}
}
.editor .gutter .line-number.cursor-line {

21
static/syntax.less Normal file
View File

@ -0,0 +1,21 @@
@import "ui-variables";
.editor {
.lines {
.markup {
&.git-commit {
&.changed {
color: @syntax-color-modified;
}
&.deleted {
color: @syntax-color-removed;
}
&.inserted {
color: @syntax-color-added;
}
}
}
}
}