forked from atom/atom
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsyntax.less
More file actions
35 lines (29 loc) · 729 Bytes
/
syntax.less
File metadata and controls
35 lines (29 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@import "syntax-variables";
atom-text-editor {
.lines {
.markup {
&.git-commit {
&.changed {
color: @syntax-color-modified;
}
&.deleted {
color: @syntax-color-removed;
}
&.inserted {
color: @syntax-color-added;
}
}
}
}
}
.define-selection-flash-color-if-not-defined() { @syntax-selection-flash-color: rgba(100, 255, 100, 0.7); }
.define-selection-flash-color-if-not-defined();
@keyframes flash {
from { background-color: @syntax-selection-flash-color; }
to { background-color: null; }
}
atom-text-editor .flash.selection .region {
animation-name: flash;
animation-duration: .5s;
animation-iteration-count: 1;
}