|
15 | 15 | --sk-fg-4: hsl(0, 0%, 45%);
|
16 | 16 | --sk-fg-accent: hsl(12, 93%, 43%);
|
17 | 17 |
|
18 |
| - --sk-code-base: var(--sk-fg-2); |
19 |
| - --sk-code-comment: var(--sk-fg-4); |
20 |
| - --sk-code-keyword: hsl(204, 100%, 38%); |
21 |
| - --sk-code-function: var(--sk-fg-accent); |
22 |
| - --sk-code-string: hsl(30, 100%, 30%); |
23 |
| - --sk-code-number: hsl(120, 100%, 25%); |
24 |
| - --sk-code-template-string: hsl(2, 80%, 47%); |
25 |
| - --sk-code-tags: var(--sk-code-function); |
26 |
| - --sk-code-important: var(--sk-code-string); |
27 |
| - |
28 |
| - --shiki-color-text: var(--sk-code-base); |
29 |
| - --shiki-token-constant: var(--sk-code-base); |
30 |
| - --shiki-token-string: var(--sk-code-string); |
31 |
| - --shiki-token-comment: var(--sk-code-comment); |
32 |
| - --shiki-token-keyword: var(--sk-code-keyword); |
33 |
| - --shiki-token-parameter: var(--sk-code-base); |
34 |
| - --shiki-token-function: var(--sk-code-function); |
35 |
| - --shiki-token-string-expression: var(--sk-code-string); |
36 |
| - --shiki-token-punctuation: var(--sk-code-base); |
37 |
| - --shiki-token-link: var(--sk-code-keyword); |
| 18 | + --shiki-color-text: var(--sk-fg-2); |
| 19 | + --shiki-token-constant: var(--shiki-color-text); |
| 20 | + --shiki-token-string: hsl(30, 100%, 30%); |
| 21 | + --shiki-token-comment: var(--sk-fg-4); |
| 22 | + --shiki-token-keyword: hsl(204, 100%, 38%); |
| 23 | + --shiki-token-parameter: var(--shiki-color-text); |
| 24 | + --shiki-token-function: var(--sk-fg-accent); |
| 25 | + --shiki-token-string-expression: var(--shiki-token-string); |
| 26 | + --shiki-token-punctuation: var(--shiki-color-text); |
| 27 | + --shiki-token-link: var(--shiki-token-keyword); |
38 | 28 |
|
39 | 29 | /* Background colours */
|
40 | 30 | --sk-bg-1: hsl(0, 0%, 100%);
|
|
43 | 33 | --sk-bg-4: hsl(0, 0%, 95%);
|
44 | 34 | --sk-bg-5: hsl(0, 0%, 92%);
|
45 | 35 | --sk-bg-6: hsl(0, 0%, 86%);
|
46 |
| - --sk-bg-selection: hsla(204, 100%, 63%, 0.3); |
47 | 36 | --sk-bg-accent: var(--sk-fg-accent);
|
| 37 | + --sk-bg-selection: hsla(204, 100%, 63%, 0.3); |
48 | 38 |
|
49 | 39 | /* Border colors */
|
50 | 40 |
|
|
78 | 68 | --sk-fg-4: hsl(var(--sk-bg-hue), 10%, 45%);
|
79 | 69 | --sk-fg-accent: hsl(12, 94%, 62%);
|
80 | 70 |
|
81 |
| - --sk-code-base: hsl(45, 7%, 75%); |
82 |
| - --sk-code-comment: hsl(0, 0%, 55%); |
83 |
| - --sk-code-keyword: hsl(204, 88%, 65%); |
84 |
| - --sk-code-function: hsl(19, 67%, 75%); |
85 |
| - --sk-code-string: hsl(41, 37%, 68%); |
86 |
| - --sk-code-number: hsl(120, 100%, 25%); |
87 |
| - --sk-code-template-string: hsl(2, 80%, 47%); |
88 |
| - --sk-code-tags: var(--sk-code-function); |
89 |
| - --sk-code-important: var(--sk-code-string); |
| 71 | + --shiki-color-text: hsl(45, 7%, 75%); |
| 72 | + --shiki-token-comment: hsl(0, 0%, 55%); |
| 73 | + --shiki-token-keyword: hsl(204, 88%, 65%); |
| 74 | + --shiki-token-function: hsl(19, 67%, 75%); |
| 75 | + --shiki-token-string: hsl(41, 37%, 68%); |
90 | 76 |
|
91 | 77 | /* Background colours */
|
92 | 78 | --sk-bg-1: hsl(var(--sk-bg-hue), 15%, 8%);
|
|
0 commit comments