Simulate :hover, :active, and :focus states to test styling
I’m building a restyle for a certain component library to implement a company design system. I’d like to be able to render components styled as if they were hovered / pressed / focused to be able to show and test the styles applied when the component is in one of these states. AFAICS there’s no