Allow :focus-visible
pseudo-selector to be set in theme.json
#68520
Labels
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
Currently
:focus-visible
cannot be set viatheme.json
because the VALID_ELEMENT_PSEUDO_SELECTORS list does not include :focus-visible.What is your proposed solution?
Add
:focus-visible
to theVALID_ELEMENT_PSEUDO_SELECTORS
list to allow the use of the:focus-visible
pseudo-selector intheme.json
, providing more flexibility.The text was updated successfully, but these errors were encountered: