I'm in the process of developing a project using NextJS, TailwindCSS, and MUI React UI library.
While integrating an MUI Button into my project, I noticed that the button's color remains white despite styling changes.
https://i.stack.imgur.com/JrTmC.png
The button behaves normally when hovered over or clicked, with the ripple effect intact. However, it reverts to white when not actively engaged.
If I remove the Tailwind directives from the global CSS file imported in the _app.{js,jsx.ts,tsx} file, the button functions as expected. This, however, means losing access to TailwindCSS altogether.
Is there a way to address this issue while retaining the directives, or is there an alternative method to include TailwindCSS?
UPDATE (15/8/2022)
The MUI Team has introduced support for Tailwind CSS. For detailed instructions, please refer to the following link: https://mui.com/material-ui/guides/interoperability/#tailwind-css