Skip to content

Commit 41e61fd

Browse files
committed
Revert :focus-visible to :focus
1 parent eccdf0a commit 41e61fd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/vscode-button/vscode-button.styles.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const styles: CSSResultGroup = [
6262
outline: none;
6363
}
6464
65-
:host(:focus-visible) {
65+
:host(:focus) {
6666
background-color: var(--vscode-button-hoverBackground, #026ec1);
6767
outline: 1px solid var(--vscode-focusBorder, #0078d4);
6868
outline-offset: 2px;
@@ -146,7 +146,7 @@ const styles: CSSResultGroup = [
146146
}
147147
148148
:host(:hover) .divider,
149-
:host(:focus-visible) .divider {
149+
:host(:focus) .divider {
150150
background-color: var(--vscode-button-hoverBackground, #026ec1);
151151
}
152152
@@ -155,7 +155,7 @@ const styles: CSSResultGroup = [
155155
}
156156
157157
:host([secondary]:hover) .divider,
158-
:host([secondary]:focus-visible) .divider {
158+
:host([secondary]:focus) .divider {
159159
background-color: var(--vscode-button-secondaryHoverBackground, #3c3c3c);
160160
}
161161

0 commit comments

Comments
 (0)