Skip to content

Commit 2c123a4

Browse files
thomasmacleanmarijnh
authored andcommitted
[yonce theme] Add
1 parent a2e4fdb commit 2c123a4

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

demo/theme.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
<link rel="stylesheet" href="../theme/yeti.css">
5959
<link rel="stylesheet" href="../theme/idea.css">
6060
<link rel="stylesheet" href="../theme/darcula.css">
61+
<link rel="stylesheet" href="../theme/yonce.css">
6162
<link rel="stylesheet" href="../theme/zenburn.css">
6263
<script src="../lib/codemirror.js"></script>
6364
<script src="../mode/javascript/javascript.js"></script>
@@ -151,6 +152,7 @@ <h2>Theme Demo</h2>
151152
<option>xq-dark</option>
152153
<option>xq-light</option>
153154
<option>yeti</option>
155+
<option>yonce</option>
154156
<option>zenburn</option>
155157
</select>
156158
</p>

theme/yonce.css

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/*
2+
3+
Name: yoncé
4+
Author: Thomas MacLean (http://github.com/thomasmaclean)
5+
6+
Original yoncé color scheme by Mina Markham (https://github.com/minamarkham)
7+
8+
*/
9+
10+
.cm-s-yonce.CodeMirror { background: #1C1C1C; color: #d4d4d4; } /**/
11+
.cm-s-yonce div.CodeMirror-selected { background: rgba(252, 69, 133, 0.478); } /**/
12+
.cm-s-yonce .CodeMirror-line::selection, .cm-s-yonce .CodeMirror-line > span::selection, .cm-s-yonce .CodeMirror-line > span > span::selection { background: rgba(252, 67, 132, 0.47); }
13+
.cm-s-yonce .CodeMirror-line::-moz-selection, .cm-s-yonce .CodeMirror-line > span::-moz-selection, .cm-s-yonce .CodeMirror-line > span > span::-moz-selection { background: rgba(252, 67, 132, 0.47); }
14+
15+
.cm-s-yonce.CodeMirror pre { padding-left: 15px; }
16+
.cm-s-yonce .CodeMirror-gutters {background: #1C1C1C; border-right: 0px;}
17+
.cm-s-yonce .CodeMirror-linenumber {color: #777777; padding-right: 10px; }
18+
.cm-s-yonce .CodeMirror-activeline .CodeMirror-linenumber.CodeMirror-gutter-elt { background: #1C1C1C; color: #fc4384; }
19+
.cm-s-yonce .CodeMirror-linenumber { color: #777; }
20+
.cm-s-yonce .CodeMirror-cursor { border-left: 1px solid #FC4384; }
21+
22+
.cm-s-yonce .cm-keyword { color: #00A7AA; } /**/
23+
.cm-s-yonce .cm-atom { color: #F39B35; }
24+
.cm-s-yonce .cm-number, .cm-s-yonce span.cm-type { color: #A06FCA; } /**/
25+
.cm-s-yonce .cm-def { color: #D4D4D4; font-style: italic; }
26+
.cm-s-yonce .cm-property { color: #FC4384; }
27+
.cm-s-yonce span.cm-variable-2 { color: #da7dae; font-style: italic; }
28+
.cm-s-yonce span.cm-variable-3 { color: #FC4384; } /**/
29+
.cm-s-yonce span.cm-tag { color: #D4D4D4; font-style: italic; } /**/
30+
.cm-s-yonce .cm-operator { color: #98E342; } /**/
31+
.cm-s-yonce .cm-comment { color:#696d70; font-style:italic; font-weight:normal; } /**/
32+
.cm-s-yonce .cm-string { color:#E6DB74; font-style:italic; } /**/
33+
.cm-s-yonce .cm-string-2 { color:#F39B35; } /*?*/
34+
.cm-s-yonce .cm-meta { background-color:#141414; color:#D4D4D4; } /*?*/
35+
.cm-s-yonce .cm-builtin { color: #FC4384; } /*?*/
36+
.cm-s-yonce .cm-tag { color: #00A7AA; } /**/
37+
.cm-s-yonce .cm-attribute { color: #A06FCA; } /*?*/
38+
.cm-s-yonce .cm-header { color: #da7dae; }
39+
.cm-s-yonce .cm-hr { color: #98E342; }
40+
.cm-s-yonce .cm-link { color:#696d70; font-style:italic; text-decoration:none; } /**/
41+
.cm-s-yonce .cm-error { border-bottom: 1px solid #C42412; }
42+
43+
.cm-s-yonce .CodeMirror-activeline-background { background: #272727; }
44+
.cm-s-yonce .CodeMirror-matchingbracket { outline:1px solid grey; color:#D4D4D4 !important; }

0 commit comments

Comments
 (0)