|
2 | 2 | export const twColors = { |
3 | 3 | // Text colors |
4 | 4 | textForeground: 'text-[var(--vscode-editor-foreground)]', |
5 | | - textInfo: 'text-[var(--vscode-testing-iconUnset,#3b82f6)]', |
6 | | - textSuccess: 'text-[var(--vscode-testing-iconPassed,#22c55e)]', |
7 | | - textError: 'text-[var(--vscode-testing-iconFailed,#ef4444)]', |
8 | | - textWarning: 'text-[var(--vscode-testing-iconQueued,#f59e0b)]', |
| 5 | + textInfo: 'text-[var(--vscode-testing-iconUnset)]', |
| 6 | + textSuccess: 'text-[var(--vscode-testing-iconPassed)]', |
| 7 | + textError: 'text-[var(--vscode-testing-iconFailed)]', |
| 8 | + textWarning: 'text-[var(--vscode-testing-iconQueued)]', |
9 | 9 | textMuted: 'text-[var(--vscode-descriptionForeground)]', |
10 | 10 | textAccent: 'text-[var(--vscode-textLink-foreground)]', |
11 | | - textAdded: 'text-[var(--vscode-diffEditor-insertedTextForeground,#22c55e)]', |
12 | | - textRemoved: 'text-[var(--vscode-diffEditor-removedTextForeground,#ef4444)]', |
13 | | - textModified: |
14 | | - 'text-[var(--vscode-diffEditor-modifiedTextForeground,#f59e0b)]', |
| 11 | + textAdded: 'text-[var(--vscode-diffEditor-insertedTextForeground)]', |
| 12 | + textRemoved: 'text-[var(--vscode-diffEditor-removedTextForeground)]', |
| 13 | + textModified: 'text-[var(--vscode-diffEditor-modifiedTextForeground)]', |
15 | 14 |
|
16 | 15 | // Background colors |
17 | 16 | bgEditor: 'bg-[var(--vscode-editor-background)]', |
18 | 17 | bgInput: 'bg-[var(--vscode-input-background)]', |
19 | 18 | bgHover: 'hover:bg-[var(--vscode-list-hoverBackground)]', |
20 | 19 | bgInactiveSelection: 'bg-[var(--vscode-editor-inactiveSelectionBackground)]', |
21 | | - bgAdded: |
22 | | - 'bg-[var(--vscode-diffEditor-insertedTextBackground,rgba(34,197,94,0.2))]', |
23 | | - bgRemoved: |
24 | | - 'bg-[var(--vscode-diffEditor-removedTextBackground,rgba(239,68,68,0.2))]', |
25 | | - bgModified: |
26 | | - 'bg-[var(--vscode-diffEditor-modifiedTextBackground,rgba(245,158,11,0.2))]', |
| 20 | + bgAdded: 'bg-[var(--vscode-diffEditor-insertedTextBackground)]', |
| 21 | + bgRemoved: 'bg-[var(--vscode-diffEditor-removedTextBackground)]', |
| 22 | + bgModified: 'bg-[var(--vscode-diffEditor-modifiedTextBackground)]', |
27 | 23 |
|
28 | 24 | // Border colors |
29 | 25 | borderPanel: 'border-[var(--vscode-panel-border)]', |
30 | | - borderInfo: 'border-[var(--vscode-testing-iconUnset,#3b82f6)]', |
31 | | - borderSuccess: 'border-[var(--vscode-testing-iconPassed,#22c55e)]', |
32 | | - borderError: |
33 | | - 'border-[var(--vscode-diffEditor-removedTextForeground,#ef4444)]', |
34 | | - borderWarning: |
35 | | - 'border-[var(--vscode-diffEditor-modifiedTextForeground,#f59e0b)]', |
36 | | - borderAdded: |
37 | | - 'border-[var(--vscode-diffEditor-insertedTextForeground,#22c55e)]', |
38 | | - borderRemoved: |
39 | | - 'border-[var(--vscode-diffEditor-removedTextForeground,#ef4444)]', |
40 | | - borderModified: |
41 | | - 'border-[var(--vscode-diffEditor-modifiedTextForeground,#f59e0b)]', |
| 26 | + borderInfo: 'border-[var(--vscode-testing-iconUnset)]', |
| 27 | + borderSuccess: 'border-[var(--vscode-testing-iconPassed)]', |
| 28 | + borderError: 'border-[var(--vscode-diffEditor-removedTextForeground)]', |
| 29 | + borderWarning: 'border-[var(--vscode-diffEditor-modifiedTextForeground)]', |
| 30 | + borderAdded: 'border-[var(--vscode-diffEditor-insertedTextForeground)]', |
| 31 | + borderRemoved: 'border-[var(--vscode-diffEditor-removedTextForeground)]', |
| 32 | + borderModified: 'border-[var(--vscode-diffEditor-modifiedTextForeground)]', |
42 | 33 | } |
43 | 34 |
|
44 | 35 | // Helper function to combine conditional classes |
|
0 commit comments