highlight.css
1 | /* |
2 | * SPDX-FileCopyrightText: 2020, 2021 Julien Lepiller <julien@lepiller.eu> |
3 | * |
4 | * SPDX-License-Identifier: CC0-1.0 |
5 | */ |
6 | |
7 | :root { |
8 | --comment: #777; |
9 | --string: rgb(235, 87, 83); |
10 | --number: rgb(254, 62, 83); |
11 | --keyword: rgb(78, 137, 167); |
12 | --keyword2: rgb(52, 183, 178); |
13 | } |
14 | |
15 | /* syntax highlighting */ |
16 | .syntax-comment { |
17 | color: var(--comment); |
18 | } |
19 | |
20 | .syntax-string { |
21 | color: var(--string); |
22 | } |
23 | |
24 | .syntax-keyword, .syntax-builtin { |
25 | color: var(--keyword2); |
26 | font-weight: bold; |
27 | } |
28 | |
29 | .syntax-variable { |
30 | color: var(--keyword); |
31 | } |
32 | |
33 | /* language-specific */ |
34 | |
35 | /*** |
36 | * SCHEME * |
37 | * ***/ |
38 | |
39 | .language-scheme .syntax-special { |
40 | color: var(--keyword); |
41 | font-weight: bold; |
42 | } |
43 | |
44 | .language-scheme .syntax-open + .syntax-symbol { |
45 | font-weight: bold; |
46 | } |
47 | |
48 | .language-scheme .syntax-open, .language-scheme .syntax-close { |
49 | color: var(--comment); |
50 | } |
51 | |
52 | /*** |
53 | * GITIGNORE * |
54 | * ***/ |
55 | .language-gitignore .syntax-special { |
56 | color: var(--keyword); |
57 | } |
58 |