Skip to content

Commit

Permalink
fix(kbutton): fix unfocusing of kbutton (#1984)
Browse files Browse the repository at this point in the history
Signed-off-by: John Cowen <[email protected]>
  • Loading branch information
johncowen authored Feb 1, 2024
1 parent af66cad commit 38e7945
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/KButton/KButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default {
background-color: var(--kui-color-background-primary-strong, $kui-color-background-primary-strong);
}
&:focus {
&:focus-visible {
background-color: var(--kui-color-background-primary-stronger, $kui-color-background-primary-stronger);
}
Expand Down Expand Up @@ -250,7 +250,7 @@ export default {
color: var(--kui-color-text-primary-strong, $kui-color-text-primary-strong);
}
&:focus {
&:focus-visible {
background-color: var(--kui-color-background, $kui-color-background);
border-color: var(--kui-color-border-primary-stronger, $kui-color-border-primary-stronger);
color: var(--kui-color-text-primary-stronger, $kui-color-text-primary-stronger);
Expand Down Expand Up @@ -279,7 +279,7 @@ export default {
color: var(--kui-color-text-primary-strong, $kui-color-text-primary-strong);
}
&:focus {
&:focus-visible {
background-color: var(--kui-color-background-primary-weakest, $kui-color-background-primary-weakest);
color: var(--kui-color-text-primary-stronger, $kui-color-text-primary-stronger);
}
Expand All @@ -304,7 +304,7 @@ export default {
background-color: var(--kui-color-background-danger-strong, $kui-color-background-danger-strong);
}
&:focus {
&:focus-visible {
background-color: var(--kui-color-background-danger-stronger, $kui-color-background-danger-stronger);
}
Expand Down

0 comments on commit 38e7945

Please sign in to comment.