Skip to content

MUI integration is bad; is it that Tailwind is not compatible with MUI #17442

Answered by trunkey2003
patricklamar asked this question in Help
Discussion options

You must be logged in to vote

I think you can update the overriding code for the button style in Tailwind by doing something like this:

@layer base {
  button, [type='button'], [type='reset'], [type='submit'] {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
    color: inherit; /* Ensures text remains visible */
  }
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by patricklamar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants