Skip to content

Commit

Permalink
correct focus vis box shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Donohue authored and Seth Donohue committed Feb 5, 2021
1 parent be06520 commit 81b40a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-components/src/styles/patterns/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export const AccentButtonStyles = css`
}
:host(.accent) .control:${focusVisible} {
box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${neutralFocusInnerAccentBehavior.var};
box-shadow: 0 0 0 calc(var(--focus-outline-width) * 1px) inset ${neutralFocusInnerAccentBehavior.var}, 0 0 0 calc((var(--focus-outline-width) - var(--outline-width)) * 1px) ${neutralFocusBehavior.var}
}
:host(.accent.disabled) {
Expand Down

0 comments on commit 81b40a8

Please sign in to comment.