Skip to content

Commit a34b8b3

Browse files
equinusociomarijnh
authored andcommitted
[moxer theme] Add
1 parent 448dff2 commit a34b8b3

File tree

2 files changed

+145
-0
lines changed

2 files changed

+145
-0
lines changed

demo/theme.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<link rel="stylesheet" href="../theme/mdn-like.css">
3737
<link rel="stylesheet" href="../theme/midnight.css">
3838
<link rel="stylesheet" href="../theme/monokai.css">
39+
<link rel="stylesheet" href="../theme/moxer.css">
3940
<link rel="stylesheet" href="../theme/neat.css">
4041
<link rel="stylesheet" href="../theme/neo.css">
4142
<link rel="stylesheet" href="../theme/night.css">
@@ -134,6 +135,7 @@ <h2>Theme Demo</h2>
134135
<option>mdn-like</option>
135136
<option>midnight</option>
136137
<option>monokai</option>
138+
<option>moxer</option>
137139
<option>neat</option>
138140
<option>neo</option>
139141
<option>night</option>

theme/moxer.css

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
/*
2+
Name: Moxer Theme
3+
Author: Mattia Astorino (http://github.com/equinusocio)
4+
Website: https://github.com/moxer-theme/moxer-code
5+
*/
6+
7+
.cm-s-moxer.CodeMirror {
8+
background-color: #090A0F;
9+
color: #8E95B4;
10+
line-height: 1.8;
11+
}
12+
13+
.cm-s-moxer .CodeMirror-gutters {
14+
background: #090A0F;
15+
color: #35394B;
16+
border: none;
17+
}
18+
19+
.cm-s-moxer .CodeMirror-guttermarker,
20+
.cm-s-moxer .CodeMirror-guttermarker-subtle,
21+
.cm-s-moxer .CodeMirror-linenumber {
22+
color: #35394B;
23+
}
24+
25+
26+
.cm-s-moxer .CodeMirror-cursor {
27+
border-left: 1px solid #FFCC00;
28+
}
29+
30+
.cm-s-moxer div.CodeMirror-selected {
31+
background: rgba(128, 203, 196, 0.2);
32+
}
33+
34+
.cm-s-moxer.CodeMirror-focused div.CodeMirror-selected {
35+
background: #212431;
36+
}
37+
38+
.cm-s-moxer .CodeMirror-line::selection,
39+
.cm-s-moxer .CodeMirror-line>span::selection,
40+
.cm-s-moxer .CodeMirror-line>span>span::selection {
41+
background: #212431;
42+
}
43+
44+
.cm-s-moxer .CodeMirror-line::-moz-selection,
45+
.cm-s-moxer .CodeMirror-line>span::-moz-selection,
46+
.cm-s-moxer .CodeMirror-line>span>span::-moz-selection {
47+
background: #212431;
48+
}
49+
50+
.cm-s-moxer .CodeMirror-activeline-background,
51+
.cm-s-moxer .CodeMirror-activeline-gutter .CodeMirror-linenumber {
52+
background: rgba(33, 36, 49, 0.5);
53+
}
54+
55+
.cm-s-moxer .cm-keyword {
56+
color: #D46C6C;
57+
}
58+
59+
.cm-s-moxer .cm-operator {
60+
color: #D46C6C;
61+
}
62+
63+
.cm-s-moxer .cm-variable-2 {
64+
color: #81C5DA;
65+
}
66+
67+
68+
.cm-s-moxer .cm-variable-3,
69+
.cm-s-moxer .cm-type {
70+
color: #f07178;
71+
}
72+
73+
.cm-s-moxer .cm-builtin {
74+
color: #FFCB6B;
75+
}
76+
77+
.cm-s-moxer .cm-atom {
78+
color: #A99BE2;
79+
}
80+
81+
.cm-s-moxer .cm-number {
82+
color: #7CA4C0;
83+
}
84+
85+
.cm-s-moxer .cm-def {
86+
color: #F5DFA5;
87+
}
88+
89+
.cm-s-moxer .CodeMirror-line .cm-def ~ .cm-def {
90+
color: #81C5DA;
91+
}
92+
93+
.cm-s-moxer .cm-string {
94+
color: #B2E4AE;
95+
}
96+
97+
.cm-s-moxer .cm-string-2 {
98+
color: #f07178;
99+
}
100+
101+
.cm-s-moxer .cm-comment {
102+
color: #3F445A;
103+
}
104+
105+
.cm-s-moxer .cm-variable {
106+
color: #8E95B4;
107+
}
108+
109+
.cm-s-moxer .cm-tag {
110+
color: #FF5370;
111+
}
112+
113+
.cm-s-moxer .cm-meta {
114+
color: #FFCB6B;
115+
}
116+
117+
.cm-s-moxer .cm-attribute {
118+
color: #C792EA;
119+
}
120+
121+
.cm-s-moxer .cm-property {
122+
color: #81C5DA;
123+
}
124+
125+
.cm-s-moxer .cm-qualifier {
126+
color: #DECB6B;
127+
}
128+
129+
.cm-s-moxer .cm-variable-3,
130+
.cm-s-moxer .cm-type {
131+
color: #DECB6B;
132+
}
133+
134+
135+
.cm-s-moxer .cm-error {
136+
color: rgba(255, 255, 255, 1.0);
137+
background-color: #FF5370;
138+
}
139+
140+
.cm-s-moxer .CodeMirror-matchingbracket {
141+
text-decoration: underline;
142+
color: white !important;
143+
}

0 commit comments

Comments
 (0)