File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
src/webviews/apps/shared/components Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -140,12 +140,16 @@ export class GlButton extends LitElement {
140140 :host([appearance='alert']) {
141141 --button-background: transparent;
142142 --button-border: var(--color-alert-infoBorder);
143- --button-foreground: var(--color-button-foreground );
143+ --button-foreground: var(--color-alert-infoForeground );
144144 --button-hover-background: var(--color-alert-infoBorder);
145145 --button-line-height: 1.64;
146146 width: max-content;
147147 }
148148
149+ :host([appearance='alert']:hover) {
150+ --button-foreground: var(--vscode-button-foreground);
151+ }
152+
149153 /* Variant property for semantic states - appearance controls structure, variant controls color */
150154
151155 /* Solid buttons (default and secondary) with variants get full color treatment */
@@ -213,11 +217,6 @@ export class GlButton extends LitElement {
213217 --button-border: transparent;
214218 }
215219
216- :host-context(.vscode-light):host([appearance='alert']:not(:hover)),
217- :host-context(.vscode-high-contrast-light):host([appearance='alert']:not(:hover)) {
218- --button-foreground: var(--color-foreground);
219- }
220-
221220 :host([appearance='input']) .control {
222221 padding: var(--button-input-padding);
223222 --button-line-height: 1.1;
You can’t perform that action at this time.
0 commit comments