Skip to content

Commit 3ae8856

Browse files
committed
Integrate Twilight theme
1 parent db4bcb6 commit 3ae8856

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

demo/theme.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<link rel="stylesheet" href="../theme/ambiance.css">
1919
<link rel="stylesheet" href="../theme/blackboard.css">
2020
<link rel="stylesheet" href="../theme/vibrant-ink.css">
21+
<link rel="stylesheet" href="../theme/twilight.css">
2122
<script src="../mode/javascript/javascript.js"></script>
2223
<link rel="stylesheet" href="../doc/docs.css">
2324

@@ -55,6 +56,7 @@ <h1>CodeMirror: Theme demo</h1>
5556
<option>neat</option>
5657
<option>night</option>
5758
<option>rubyblue</option>
59+
<option>twilight</option>
5860
<option>vibrant-ink</option>
5961
<option>xq-dark</option>
6062
</select>

theme/twilight.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
.cm-s-twilight .cm-atom { color: #FC0; }
1010
.cm-s-twilight .cm-number { color: #ca7841; } /**/
1111
.cm-s-twilight .cm-def { color: #8DA6CE; }
12-
.cm-s-twilight span.cm-variable-2, .cm-s-cobalt span.cm-tag { color: #607392; } /**/
13-
.cm-s-twilight span.cm-variable-3, .cm-s-cobalt span.cm-def { color: #607392; } /**/
12+
.cm-s-twilight span.cm-variable-2, .cm-s-twilight span.cm-tag { color: #607392; } /**/
13+
.cm-s-twilight span.cm-variable-3, .cm-s-twilight span.cm-def { color: #607392; } /**/
1414
.cm-s-twilight .cm-operator { color: #cda869; } /**/
1515
.cm-s-twilight .cm-comment { color:#777; font-style:italic; font-weight:normal; } /**/
1616
.cm-s-twilight .cm-string { color:#8f9d6a; font-style:italic; } /**/

0 commit comments

Comments
 (0)