aboutsummaryrefslogtreecommitdiff
path: root/js/codemirror/theme
diff options
context:
space:
mode:
Diffstat (limited to 'js/codemirror/theme')
-rw-r--r--js/codemirror/theme/default.css18
-rw-r--r--js/codemirror/theme/elegant.css9
-rw-r--r--js/codemirror/theme/neat.css8
-rw-r--r--js/codemirror/theme/night.css20
4 files changed, 55 insertions, 0 deletions
diff --git a/js/codemirror/theme/default.css b/js/codemirror/theme/default.css
new file mode 100644
index 00000000..ce0603c1
--- /dev/null
+++ b/js/codemirror/theme/default.css
@@ -0,0 +1,18 @@
1.cm-s-default span.cm-keyword {color: #708;}
2.cm-s-default span.cm-atom {color: #219;}
3.cm-s-default span.cm-number {color: #164;}
4.cm-s-default span.cm-def {color: #00f;}
5.cm-s-default span.cm-variable {color: black;}
6.cm-s-default span.cm-variable-2 {color: #05a;}
7.cm-s-default span.cm-variable-3 {color: #0a5;}
8.cm-s-default span.cm-property {color: black;}
9.cm-s-default span.cm-operator {color: black;}
10.cm-s-default span.cm-comment {color: #a50;}
11.cm-s-default span.cm-string {color: #a11;}
12.cm-s-default span.cm-meta {color: #555;}
13.cm-s-default span.cm-error {color: #f00;}
14.cm-s-default span.cm-qualifier {color: #555;}
15.cm-s-default span.cm-builtin {color: #30a;}
16.cm-s-default span.cm-bracket {color: #cc7;}
17.cm-s-default span.cm-tag {color: #170;}
18.cm-s-default span.cm-attribute {color: #00c;}
diff --git a/js/codemirror/theme/elegant.css b/js/codemirror/theme/elegant.css
new file mode 100644
index 00000000..171683fa
--- /dev/null
+++ b/js/codemirror/theme/elegant.css
@@ -0,0 +1,9 @@
1.cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom {color: #762;}
2.cm-s-elegant span.cm-comment {color: #262;font-style: italic;}
3.cm-s-elegant span.cm-meta {color: #555;font-style: italic;}
4.cm-s-elegant span.cm-variable {color: black;}
5.cm-s-elegant span.cm-variable-2 {color: #b11;}
6.cm-s-elegant span.cm-qualifier {color: #555;}
7.cm-s-elegant span.cm-keyword {color: #730;}
8.cm-s-elegant span.cm-builtin {color: #30a;}
9.cm-s-elegant span.cm-error {background-color: #fdd;}
diff --git a/js/codemirror/theme/neat.css b/js/codemirror/theme/neat.css
new file mode 100644
index 00000000..10d22c9b
--- /dev/null
+++ b/js/codemirror/theme/neat.css
@@ -0,0 +1,8 @@
1.cm-s-neat span.cm-comment { color: #a86; }
2.cm-s-neat span.cm-keyword { font-weight: bold; color: blue; }
3.cm-s-neat span.cm-string { color: #a22; }
4.cm-s-neat span.cm-builtin { font-weight: bold; color: #077; }
5.cm-s-neat span.cm-special { font-weight: bold; color: #0aa; }
6.cm-s-neat span.cm-variable { color: black; }
7.cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; }
8.cm-s-neat span.cm-meta {color: #555;}
diff --git a/js/codemirror/theme/night.css b/js/codemirror/theme/night.css
new file mode 100644
index 00000000..a84ec4f2
--- /dev/null
+++ b/js/codemirror/theme/night.css
@@ -0,0 +1,20 @@
1/* Loosely based on the Midnight Textmate theme */
2
3.cm-s-night { background: #0a001f; color: #f8f8f8; }
4.cm-s-night span.CodeMirror-selected { background: #a8f !important; }
5.cm-s-night .CodeMirror-gutter { background: #0a001f; border-right: 1px solid #aaa; }
6.cm-s-night .CodeMirror-gutter-text { color: #f8f8f8; }
7.cm-s-night .CodeMirror-cursor { border-left: 1px solid white !important; }
8
9.cm-s-night span.cm-comment { color: #6900a1; }
10.cm-s-night span.cm-atom { color: #845dc4; }
11.cm-s-night span.cm-number, .cm-s-night span.cm-attribute { color: #ffd500; }
12.cm-s-night span.cm-keyword { color: #599eff; }
13.cm-s-night span.cm-string { color: #37f14a; }
14.cm-s-night span.cm-meta { color: #7678e2; }
15.cm-s-night span.cm-variable-2, .cm-s-night span.cm-tag { color: #99b2ff; }
16.cm-s-night span.cm-variable-3, .cm-s-night span.cm-def { color: white; }
17.cm-s-night span.cm-error { color: #9d1e15; }
18.cm-s-night span.cm-bracket { color: #8da6ce; }
19.cm-s-night span.cm-comment { color: #6900a1; }
20.cm-s-night span.cm-builtin, .cm-s-night span.cm-special { color: #ff9e59; }