Make sure each hover style is applied to :focus-visible
This commit is contained in:
parent
5461289cb7
commit
59c090ae2d
8 changed files with 9 additions and 8 deletions
|
|
@ -11,7 +11,7 @@ export default {
|
|||
toggled: '.toggled',
|
||||
focused: ':focus-within',
|
||||
pressed: ':focus:active',
|
||||
hover: ':hover:not(:disabled)',
|
||||
hover: ':is(:hover, :focus-visible):not(:disabled)',
|
||||
disabled: ':disabled'
|
||||
},
|
||||
// Variants are mutually exclusive, each component implicitly has "normal" variant, and all other variants inherit from it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue