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

@ -6,8 +6,8 @@ export default {
states: {
toggled: '.toggled',
disabled: ':disabled',
hover: ':hover:not(:disabled)',
focused: ':focus-within'
hover: ':is(:hover, :focus-visible):not(:disabled)',
focused: ':focus-within:not(:is(:focus-visible))'
},
validInnerComponents: [
'Text',