Skip to content

Commit 320b301

Browse files
TimothyGumarijnh
authored andcommitted
[solarized theme] Overhaul
1 parent 14f9ee8 commit 320b301

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

theme/solarized.css

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ http://ethanschoonover.com/solarized
44
*/
55

66
/*
7-
Solarized color pallet
7+
Solarized color palette
88
http://ethanschoonover.com/solarized/img/solarized-palette.png
99
*/
1010

@@ -34,7 +34,7 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png
3434
}
3535
.cm-s-solarized.cm-s-dark {
3636
color: #839496;
37-
background-color: #002b36;
37+
background-color: #002b36;
3838
text-shadow: #002b36 0 1px;
3939
}
4040
.cm-s-solarized.cm-s-light {
@@ -113,32 +113,34 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png
113113
box-shadow: inset 7px 0 12px -6px #000;
114114
}
115115

116-
/* Gutter border and some shadow from it */
116+
/* Remove gutter border */
117117
.cm-s-solarized .CodeMirror-gutters {
118-
border-right: 1px solid;
118+
border-right: 0;
119119
}
120120

121121
/* Gutter colors and line number styling based of color scheme (dark / light) */
122122

123123
/* Dark */
124124
.cm-s-solarized.cm-s-dark .CodeMirror-gutters {
125-
background-color: #002b36;
126-
border-color: #00232c;
125+
background-color: #073642;
127126
}
128127

129128
.cm-s-solarized.cm-s-dark .CodeMirror-linenumber {
129+
color: #586e75;
130130
text-shadow: #021014 0 -1px;
131131
}
132132

133133
/* Light */
134134
.cm-s-solarized.cm-s-light .CodeMirror-gutters {
135-
background-color: #fdf6e3;
136-
border-color: #eee8d5;
135+
background-color: #eee8d5;
136+
}
137+
138+
.cm-s-solarized.cm-s-light .CodeMirror-linenumber {
139+
color: #839496;
137140
}
138141

139142
/* Common */
140143
.cm-s-solarized .CodeMirror-linenumber {
141-
color: #586e75;
142144
padding: 0 5px;
143145
}
144146
.cm-s-solarized .CodeMirror-guttermarker-subtle { color: #586e75; }
@@ -149,15 +151,19 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png
149151
color: #586e75;
150152
}
151153

154+
/* Cursor */
152155
.cm-s-solarized .CodeMirror-cursor { border-left: 1px solid #819090; }
153156

154-
/*
155-
Active line. Negative margin compensates left padding of the text in the
156-
view-port
157-
*/
157+
/* Fat cursor */
158+
.cm-s-solarized.cm-s-light.cm-fat-cursor .CodeMirror-cursor { background: #fdf6e3; }
159+
.cm-s-solarized.cm-s-light .cm-animate-fat-cursor { background-color: #fdf6e3; }
160+
.cm-s-solarized.cm-s-dark.cm-fat-cursor .CodeMirror-cursor { background: #586e75; }
161+
.cm-s-solarized.cm-s-dark .cm-animate-fat-cursor { background-color: #586e75; }
162+
163+
/* Active line */
158164
.cm-s-solarized.cm-s-dark .CodeMirror-activeline-background {
159-
background: rgba(255, 255, 255, 0.10);
165+
background: rgba(255, 255, 255, 0.06);
160166
}
161167
.cm-s-solarized.cm-s-light .CodeMirror-activeline-background {
162-
background: rgba(0, 0, 0, 0.10);
168+
background: rgba(0, 0, 0, 0.06);
163169
}

0 commit comments

Comments
 (0)