-
Notifications
You must be signed in to change notification settings - Fork 12
/
liquid.css
74 lines (68 loc) · 1.78 KB
/
liquid.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/* Everything Liquid */
.CodeMirror .cm-liquid {
color: #000;
background-color: #EEE;
background-color: rgba(200, 200, 200, 0.5); /* for newer browsers, use transparent background, so selection is visible behind it */
}
.cm-liquid.CodeMirror-searching {
background: #FFA;
background: rgba(255, 255, 0, .4);
}
/* Every whitespace inside Liquid markup (except inside string constants) */
.CodeMirror .cm-liquid-whitespace {
}
/* Number constants */
.CodeMirror .cm-liquid-atom {
color: #AA00BB;
}
/* Variables, keywords and operators. Assigned by the Tokenizer which cannot differentiate between these */
.CodeMirror .cm-liquid-word {
}
/* String constants */
.CodeMirror .cm-liquid-string {
color: #228811;
}
/* {{, }}, {%, %} */
.CodeMirror .cm-liquid-markup-delimiter {
color: #555;
}
/* The name of a Liquid tag (if, assign, for, ...) */
.CodeMirror .cm-liquid-tag-name {
font-weight: bold;
}
/* The closing name of a Liquid block tag (endif, endfor) */
.CodeMirror .cm-liquid-endtag-name {
font-weight: bold;
}
/* Keywords (in, reversed, with, ...) */
.CodeMirror .cm-liquid-keyword {
font-weight: bold;
}
/* Operators */
.CodeMirror .cm-liquid-operator {
}
/* The name of a Tag attribute (limit, offset) */
.CodeMirror .cm-liquid-tag-attribute-name {
font-style: italic;
}
/* A Variable */
.CodeMirror .cm-liquid-variable {
}
/* A method of a drop */
.CodeMirror .cm-liquid-method {
font-style: italic;
}
/* The name one can give to a cycle tag */
.CodeMirror .cm-liquid-tag-cycle-name {
font-style: italic;
}
/* A filter in output markdown */
.CodeMirror .cm-liquid-filter {
font-style: italic;
}
/* Every output markup, including the {{ and }} */
.CodeMirror .cm-liquid-output-markup {
}
/* Every tag markup, including the {% and %} */
.CodeMirror .cm-liquid-tag-markup {
}