Replies: 1 comment 3 replies
-
Hey @bradbart, we may need more information here. From what the snippet you presented, I would expect hover states to be working. To explain how it works with buttons, you typically pair two classes:
The only hover style applied by default is provided by When you hover, it's increasing the brightness of the button by about 15%. So I would expect both buttons to reflect this change visibly. The only thing that gives me pause is the fact that both of your buttons have outlines. That's not provided by Skeleton by default. Is that a custom override you've set locally within your project by chance? Unless you can provide either a video, gif, or minimal reproduction that demonstrates the issue you're facing, we don't have enough to go on here. Everything implemented should operate as expected.
Sometimes folks miss a step when doing this or misconfigure their Tailwind config. I might suggest you at least share the contents of you Tailwind config and we can provide a quick review if all is well here. |
Beta Was this translation helpful? Give feedback.
-
When I try to use
variant-surface-xx
for a button or any other variant than primary my buttons still apply the primary variant on hover. Basic example below. In the code I switched from anchor tags to buttons, but I am still seeing the same behavior. Anything I need to consider in set up to get the hover state working properly? I did need to do a manual set up.Skeleton version: 2.10.2
Beta Was this translation helpful? Give feedback.
All reactions