mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-08 16:19:17 +03:00
Move git markup styles to syntax.less
This commit is contained in:
parent
80552675d0
commit
29d1b42d04
@ -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
21
static/syntax.less
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user