forked from anthonyrom/true-ocean
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy paththeme.less
162 lines (153 loc) · 2.93 KB
/
theme.less
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
/* Define variables: Directly from CSS of http://chriskempson.github.io/base16/#default */
@base00: #181818;
@base01: #282828;
@base02: #383838;
@base03: #585858;
@base04: #b8b8b8;
@base05: #d8d8d8;
@base06: #e8e8e8;
@base07: #f8f8f8;
@base08: #ab4642;
@base09: #dc9656;
@base0A: #f7ca88;
@base0B: #a1b56c;
@base0C: #86c1b9;
@base0D: #7cafc2;
@base0E: #ba8baf;
@base0F: #a16946;
/* Code Styling */
.CodeMirror {
// Gotta have that sweet sweet line spacing
line-height: 1.2;
}
.CodeMirror-scroll {
// Background color of main window
background-color: @base00;
// Color of otherwise un-styled text
color: @base06;
}
.CodeMirror-gutters {
// Gutter to the left
background-color: @base00;
}
.CodeMirror-linenumber {
// Line numbers in the gutter
color: @base03;
}
.CodeMirror-selected {
// Highlighed text
background-color: @base02;
}
.CodeMirror-cursor {
// The cursor
border-left: 1px solid @base06;
}
.CodeMirror-matchingbracket,
.CodeMirror-matchingtag {
// When you click a tag/bracket and the matching one is highlighted
background: @base02 !important;
color: @base06 !important;
border-bottom: 1px solid @base08 !important;
}
.CodeMirror-foldgutter-open:after {
// Those little arrows in the gutter
color: @base03;
}
.CodeMirror-foldgutter-folded:after {
// The arrows after you collapse code
color: @base04;
}
.CodeMirror.over-gutter,
.CodeMirror-activeline {
.CodeMirror-foldgutter-open:after {
// Arrows when hovering on the gutter
color: @base06;
}
}
.CodeMirror-foldmarker {
// The [...] marking collapsed code
border-color: @base06;
background-color: @base06;
color: @base02;
}
.CodeMirror-searching {
// Ctrl + F results
background-color: @base0A;
// Selected result
&.searching-current-match {
background-color: @base09;
}
}
/* Non-editor Styling */
#image-holder,
#not-editor {
background-color: @base00;
}
#image-holder {
color: @base04;
}
.view-pane .image-view {
color: @base06;
}
/* All 'dem swatches */
.cm-atom,
.cm-string,
.cm-string-2,
.cm-hr,
{
color: @base0B;
}
.cm-number,
.cm-attribute,
.cm-plus {
color: @base0A;
}
.cm-def,
.cm-property {
color: @base0C;
}
.cm-variable,
.cm-variable-2,
.cm-variable-3 {
color: @base0E;
}
.cm-operator,
.cm-meta,
.cm-bracket {
color: @base06;
}
.cm-comment {
color: @base03;
}
.cm-error,
.cm-minus {
color: @base09;
}
.cm-header {
color: @base0E;
}
.cm-link {
color: @base0E;
text-decoration: none;
}
.cm-rangeinfo {
color: @base0C;
}
.cm-keyword,
.cm-qualifier,
.cm-builtin,
.cm-tag,
.cm-quote {
color: @base08;
}
/* Active Line Highlight support */
.CodeMirror-activeline-background {
background-color: @base02;
}
.CodeMirror-activeline .CodeMirror-linenumber {
background-color: @base01;
}
.CodeMirror-focused .CodeMirror-activeline .CodeMirror-gutter-elt {
background: @base01;
}
/*End of Theme*/