diff options
Diffstat (limited to 'www/css/hl.css')
| -rw-r--r-- | www/css/hl.css | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/www/css/hl.css b/www/css/hl.css new file mode 100644 index 0000000..15998e0 --- /dev/null +++ b/www/css/hl.css | |||
| @@ -0,0 +1,95 @@ | |||
| 1 | /* --- Syntax Highlighting --- */ | ||
| 2 | |||
| 3 | /* Comments - Outline/Grey */ | ||
| 4 | .hl-c, | ||
| 5 | .hl-cm, | ||
| 6 | .hl-cp, | ||
| 7 | .hl-c1, | ||
| 8 | .hl-cs { | ||
| 9 | color: var(--color-outline); | ||
| 10 | font-style: italic; | ||
| 11 | } | ||
| 12 | |||
| 13 | /* Keywords - Primary (Pinkish/Orange) */ | ||
| 14 | .hl-k, | ||
| 15 | .hl-kc, | ||
| 16 | .hl-kd, | ||
| 17 | .hl-kn, | ||
| 18 | .hl-kp, | ||
| 19 | .hl-kr, | ||
| 20 | .hl-kt { | ||
| 21 | color: var(--color-primary); | ||
| 22 | font-weight: bold; | ||
| 23 | } | ||
| 24 | |||
| 25 | /* Names/Functions - Tertiary (Yellowish) */ | ||
| 26 | .hl-n, | ||
| 27 | .hl-na, | ||
| 28 | .hl-nb, | ||
| 29 | .hl-nc, | ||
| 30 | .hl-no, | ||
| 31 | .hl-nd, | ||
| 32 | .hl-ni, | ||
| 33 | .hl-ne, | ||
| 34 | .hl-nf, | ||
| 35 | .hl-nl, | ||
| 36 | .hl-nn, | ||
| 37 | .hl-nt, | ||
| 38 | .hl-nv, | ||
| 39 | .hl-nx { | ||
| 40 | color: var(--color-tertiary); | ||
| 41 | } | ||
| 42 | |||
| 43 | /* Strings - Secondary (Reddish/Brownish) */ | ||
| 44 | .hl-s, | ||
| 45 | .hl-sa, | ||
| 46 | .hl-sb, | ||
| 47 | .hl-sc, | ||
| 48 | .hl-dl, | ||
| 49 | .hl-sd, | ||
| 50 | .hl-s2, | ||
| 51 | .hl-se, | ||
| 52 | .hl-sh, | ||
| 53 | .hl-si, | ||
| 54 | .hl-sx, | ||
| 55 | .hl-sr, | ||
| 56 | .hl-s1, | ||
| 57 | .hl-ss { | ||
| 58 | color: var(--color-secondary); | ||
| 59 | } | ||
| 60 | |||
| 61 | /* Operators - On Surface (Main text color) */ | ||
| 62 | .hl-o, | ||
| 63 | .hl-ow { | ||
| 64 | color: var(--color-on-surface-variant); | ||
| 65 | } | ||
| 66 | |||
| 67 | /* Numbers - Primary Container (Brighter accent) */ | ||
| 68 | .hl-m, | ||
| 69 | .hl-mb, | ||
| 70 | .hl-mf, | ||
| 71 | .hl-mh, | ||
| 72 | .hl-mi, | ||
| 73 | .hl-mo, | ||
| 74 | .hl-il { | ||
| 75 | color: var(--color-primary-fixed); | ||
| 76 | } | ||
| 77 | |||
| 78 | /* Errors */ | ||
| 79 | .hl-err, | ||
| 80 | .hl-gr { | ||
| 81 | color: var(--color-error); | ||
| 82 | background-color: var(--color-error-container); | ||
| 83 | } | ||
| 84 | |||
| 85 | /* Generic Deleted */ | ||
| 86 | .hl-gd { | ||
| 87 | color: var(--color-error); | ||
| 88 | background-color: var(--color-error-container); | ||
| 89 | } | ||
| 90 | |||
| 91 | /* Generic Inserted */ | ||
| 92 | .hl-gi { | ||
| 93 | color: var(--color-tertiary); | ||
| 94 | background-color: var(--color-tertiary-container); | ||
| 95 | } | ||
