Skip to content

Commit 66bde08

Browse files
remove fallbacks
1 parent 1dddabe commit 66bde08

File tree

1 file changed

+17
-26
lines changed

1 file changed

+17
-26
lines changed

vscode/react/src/components/tablediff/tailwind-utils.ts

Lines changed: 17 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,34 @@
22
export const twColors = {
33
// Text colors
44
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)]',
99
textMuted: 'text-[var(--vscode-descriptionForeground)]',
1010
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)]',
1514

1615
// Background colors
1716
bgEditor: 'bg-[var(--vscode-editor-background)]',
1817
bgInput: 'bg-[var(--vscode-input-background)]',
1918
bgHover: 'hover:bg-[var(--vscode-list-hoverBackground)]',
2019
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)]',
2723

2824
// Border colors
2925
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)]',
4233
}
4334

4435
// Helper function to combine conditional classes

0 commit comments

Comments
 (0)