robin/maivi

a tiny cute lua web framework

git clone https://git.robinwobin.dev/robin/maivi

robindocs: meow1be4c9c

push-srxvuswpkqxx
1.9 KiB97 linesraw
1:root {
2  --syntax-background: var(--mantle);
3  --syntax-foreground: var(--text);
4  --syntax-comment: var(--overlay1);
5  --syntax-keyword: var(--overlay2);
6  --syntax-operator: var(--overlay1);
7  --syntax-string: var(--snow);
8  --syntax-constant: var(--pink);
9  --syntax-function: var(--purple);
10  --syntax-type: var(--aqua);
11  --syntax-variable: var(--text);
12  --syntax-property: var(--subtext1);
13  --syntax-tag: var(--subtext1);
14  --syntax-selector: var(--syntax-tag);
15  --syntax-inserted: var(--green);
16  --syntax-deleted: var(--red);
17}
18
19pre:has(code) {
20  background-color: var(--syntax-background);
21  color: var(--syntax-foreground);
22}
23
24::highlight(comment),
25::highlight(quote) {
26  color: var(--syntax-comment);
27}
28
29::highlight(keyword),
30::highlight(storage),
31::highlight(at-rule),
32::highlight(doctype),
33::highlight(important),
34::highlight(section) {
35  color: var(--syntax-keyword);
36}
37
38::highlight(operator),
39::highlight(punctuation) {
40  color: var(--syntax-operator);
41}
42
43::highlight(string),
44::highlight(regexp),
45::highlight(attribute-value),
46::highlight(link),
47::highlight(raw) {
48  color: var(--syntax-string);
49}
50
51::highlight(numeric),
52::highlight(boolean),
53::highlight(constant),
54::highlight(symbol),
55::highlight(character-entity),
56::highlight(anchor),
57::highlight(entity) {
58  color: var(--syntax-constant);
59}
60
61::highlight(function),
62::highlight(decorator),
63::highlight(animation) {
64  color: var(--syntax-function);
65}
66
67::highlight(type),
68::highlight(support) {
69  color: var(--syntax-type);
70}
71
72::highlight(variable),
73::highlight(interpolation) {
74  color: var(--syntax-variable);
75}
76
77::highlight(property),
78::highlight(key),
79::highlight(attribute-name) {
80  color: var(--syntax-property);
81}
82
83::highlight(tag) {
84  color: var(--syntax-tag);
85}
86
87::highlight(selector) {
88  color: var(--syntax-selector);
89}
90
91::highlight(inserted) {
92  color: var(--syntax-inserted);
93}
94
95::highlight(deleted) {
96  color: var(--syntax-deleted);
97}