Skip to content

Commit 5b1c7f6

Browse files
committed
Fixes button background color in high contrast
1 parent f259428 commit 5b1c7f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/webviews/apps/shared/styles/theme.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
--color-foreground--50: color-mix(in srgb, transparent 50%, var(--color-foreground));
3333
--color-foreground--25: color-mix(in srgb, transparent 75%, var(--color-foreground));
3434

35-
--color-button-background: var(--vscode-button-background, var(--color-foreground));
35+
--color-button-background: var(--vscode-button-background, transparent);
3636
// Computed variants in code
3737
--color-button-background--darken-30: color-mix(in srgb, #000 30%, var(--color-button-background));
38-
--color-button-foreground: var(--vscode-button-foreground, transparent);
38+
--color-button-foreground: var(--vscode-button-foreground, var(--color-foreground));
3939

4040
--color-button-secondary-background: var(--vscode-button-secondaryBackground, transparent);
4141
// Computed variants in code

0 commit comments

Comments
 (0)