Make sure each hover style is applied to :focus-visible

This commit is contained in:
tusooa 2025-03-22 16:04:16 -04:00
commit 59c090ae2d
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
8 changed files with 9 additions and 8 deletions

View file

@ -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.