Skip to content

Commit 9ec1245

Browse files
AlexanderPrendotamarijnh
authored andcommitted
[idea theme] Add
1 parent f2a9eeb commit 9ec1245

2 files changed

Lines changed: 33 additions & 0 deletions

File tree

demo/theme.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
<link rel="stylesheet" href="../theme/xq-dark.css">
5555
<link rel="stylesheet" href="../theme/xq-light.css">
5656
<link rel="stylesheet" href="../theme/yeti.css">
57+
<link rel="stylesheet" href="../theme/idea.css">
5758
<link rel="stylesheet" href="../theme/zenburn.css">
5859
<script src="../lib/codemirror.js"></script>
5960
<script src="../mode/javascript/javascript.js"></script>
@@ -111,6 +112,7 @@ <h2>Theme Demo</h2>
111112
<option>erlang-dark</option>
112113
<option>hopscotch</option>
113114
<option>icecoder</option>
115+
<option>idea</option>
114116
<option>isotope</option>
115117
<option>lesser-dark</option>
116118
<option>liquibyte</option>

theme/idea.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/**
2+
Name: IDEA default theme
3+
From IntelliJ IDEA by JetBrains
4+
*/
5+
6+
.cm-s-idea span.cm-meta { color: #808000; }
7+
.cm-s-idea span.cm-number { color: #0000FF; }
8+
.cm-s-idea span.cm-keyword { line-height: 1em; font-weight: bold; color: #000080; }
9+
.cm-s-idea span.cm-atom { font-weight: bold; color: #000080; }
10+
.cm-s-idea span.cm-def { color: #000000; }
11+
.cm-s-idea span.cm-variable { color: black; }
12+
.cm-s-idea span.cm-variable-2 { color: black; }
13+
.cm-s-idea span.cm-variable-3, .cm-s-idea span.cm-type { color: black; }
14+
.cm-s-idea span.cm-property { color: black; }
15+
.cm-s-idea span.cm-operator { color: black; }
16+
.cm-s-idea span.cm-comment { color: #808080; }
17+
.cm-s-idea span.cm-string { color: #008000; }
18+
.cm-s-idea span.cm-string-2 { color: #008000; }
19+
.cm-s-idea span.cm-qualifier { color: #555; }
20+
.cm-s-idea span.cm-error { color: #FF0000; }
21+
.cm-s-idea span.cm-attribute { color: #0000FF; }
22+
.cm-s-idea span.cm-tag { color: #000080; }
23+
.cm-s-idea span.cm-link { color: #0000FF; }
24+
.cm-s-idea .CodeMirror-activeline-background { background: #FFFAE3; }
25+
26+
.cm-s-idea span.cm-builtin { color: #30a; }
27+
.cm-s-idea span.cm-bracket { color: #cc7; }
28+
.cm-s-idea { font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;}
29+
30+
31+
.cm-s-idea .CodeMirror-matchingbracket { outline:1px solid grey; color:black !important; }

0 commit comments

Comments
 (0)