Replies: 1 comment 2 replies
-
Are using the focus visible toggle in developer tools to check the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm adding custom classes using the plugin function, but they don't work when used with focus-visible, even though Intellisense recognized it.
My settings:
If I do something like this:
It changes the button outline colour to red when the focus state is active using Chrome DevTools.
But this:
Won't change anything when focus-visible is active
EDIT
So the issue was my class name. For some reason it doesn't work with
focus-visible
I'm trying to use
outline-borders-primary-focused-style
like this:If I change the word
outline
to something else it works withfocus-visible
This is a design token that I would like to use to alias the
outline-style
property. Any idea?Beta Was this translation helpful? Give feedback.
All reactions