Skip to content

Commit a3d9a31

Browse files
siamakmarijnh
authored andcommitted
[panda-syntax theme] Add
1 parent 43749f8 commit a3d9a31

File tree

2 files changed

+96
-0
lines changed

2 files changed

+96
-0
lines changed

demo/theme.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<link rel="stylesheet" href="../theme/neat.css">
3333
<link rel="stylesheet" href="../theme/neo.css">
3434
<link rel="stylesheet" href="../theme/night.css">
35+
<link rel="stylesheet" href="../theme/panda-syntax.css">
3536
<link rel="stylesheet" href="../theme/paraiso-dark.css">
3637
<link rel="stylesheet" href="../theme/paraiso-light.css">
3738
<link rel="stylesheet" href="../theme/pastel-on-dark.css">
@@ -114,6 +115,7 @@ <h2>Theme Demo</h2>
114115
<option>neat</option>
115116
<option>neo</option>
116117
<option>night</option>
118+
<option>panda-syntax</option>
117119
<option>paraiso-dark</option>
118120
<option>paraiso-light</option>
119121
<option>pastel-on-dark</option>

theme/panda-syntax.css

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
/*
2+
3+
Name: Panda Syntax
4+
Author: Siamak Mokhtari (http://github.com/siamak/)
5+
6+
CodeMirror template by Siamak Mokhtari (https://github.com/siamak/atom-panda-syntax)
7+
8+
*/
9+
.cm-s-panda-syntax {
10+
/*font-family: 'Operator Mono', 'Source Sans Pro', Helvetica, Arial, sans-serif;*/
11+
font-family: 'Operator Mono', 'Source Sans Pro', Menlo, Monaco, Consolas, Courier New, monospace;
12+
background: #292A2B;
13+
color: #E6E6E6;
14+
}
15+
.cm-s-panda-syntax .CodeMirror-activeline-background {
16+
background: #404954;
17+
}
18+
19+
.cm-s-panda-syntax .cm-comment {
20+
font-style: italic;
21+
color: #676B79;
22+
}
23+
.cm-s-panda-syntax .cm-string,
24+
.cm-s-panda-syntax .cm-string-2 {
25+
color: #19F9D8;
26+
}
27+
.cm-s-panda-syntax .cm-number {
28+
color: #FFB86C;
29+
}
30+
.cm-s-panda-syntax .cm-atom {
31+
color: #FFB86C;
32+
}
33+
34+
.cm-s-panda-syntax .cm-keyword {
35+
color: #FF75B5;
36+
}
37+
.cm-s-panda-syntax .cm-keyword-2 {
38+
color: #FF75B5;
39+
}
40+
.cm-s-panda-syntax .cm-keyword-3 {
41+
color: #B084EB;
42+
}
43+
44+
.cm-s-panda-syntax .cm-variable {
45+
color: #FF9AC1;
46+
}
47+
.cm-s-panda-syntax .cm-variable-2 {
48+
color: #e6e6e6;
49+
}
50+
.cm-s-panda-syntax .cm-variable-3 {
51+
color: #82B1FF;
52+
}
53+
54+
.cm-s-panda-syntax .cm-def {
55+
/*font-style: italic;*/
56+
color: #e6e6e6;
57+
}
58+
.cm-s-panda-syntax .cm-def-2 {
59+
font-style: italic;
60+
color: #ffcc95;
61+
}
62+
63+
64+
.cm-s-panda-syntax .cm-property {
65+
color: #6FC1FF;
66+
}
67+
68+
.cm-s-panda-syntax .cm-matchingbracket,
69+
.CodeMirror .CodeMirror-matchingbracket {
70+
color: #E6E6E6 !important;
71+
border-bottom: 1px dotted #19f9d8;
72+
padding-bottom: 2px;
73+
}
74+
75+
.cm-s-panda-syntax .CodeMirror-gutters {
76+
background: #292A2B;
77+
color: #757575;
78+
border: none;
79+
}
80+
.cm-s-panda-syntax .CodeMirror-guttermarker, .cm-s-panda-syntax .CodeMirror-guttermarker-subtle, .cm-s-panda-syntax .CodeMirror-linenumber {
81+
color: #757575;
82+
}
83+
.cm-s-panda-syntax .CodeMirror-linenumber {
84+
padding-right: 10px;
85+
}
86+
.cm-s-panda-syntax .CodeMirror-cursor {
87+
border-left: 1px solid #757575;
88+
}
89+
/*.cm-s-panda-syntax div.CodeMirror-selected { background: rgba(255, 255, 255, 0.5); }*/
90+
.cm-s-panda-syntax.CodeMirror-focused div.CodeMirror-selected { background: rgba(255, 255, 255, 0.25); }
91+
.cm-s-panda-syntax .CodeMirror-line::selection, .cm-s-panda-syntax .CodeMirror-line > span::selection, .cm-s-panda-syntax .CodeMirror-line > span > span::selection { background: rgba(255, 255, 255, 0.10); }
92+
.cm-s-panda-syntax .CodeMirror-line::-moz-selection, .cm-s-panda-syntax .CodeMirror-line > span::-moz-selection, .cm-s-panda-syntax .CodeMirror-line > span > span::-moz-selection { background: rgba(255, 255, 255, 0.10); }
93+
94+
.cm-s-panda-syntax .CodeMirror-activeline-background { background: rgba(99, 123, 156, 0.125); }

0 commit comments

Comments
 (0)