Community forum for knowledge and support

Updated 4 weeks ago

Inconsistent button styles in React application

Hi there.. I am building my site using the React library and I am having inconsistencies with the buttons styles. The available variant for the Header buttons should be "secondary", but on browser the variant "bg-background-alternative", which is not correctly passed. So all buttons look the same. The other variants work correctly, but for some reason "alternative" is applied instead of "Secondary"

C
1 comment

Nevermind, I found the issue in my tailwind.config!

Add a reply
Sign up and join the conversation on Slack