-
-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use custom colors from tailwind.config.js in color
attribute
#62
Comments
Hello there, no there is no workaround for this for now. |
If that's the case, I would like to add |
Related issue: #79 |
This should be resolved once theme support is added #92. I'll retroactively add an example of how to accomplish the above example. |
With #151 we have implemented the first component with theme support that specifically includes the ability to add your own colors. I will be adding this to buttons this week and will close this with that PR. |
Is your feature request related to a problem? Please describe.
I can't really migrate to
flowbite-react
without the ability to use custom colors I defined intailwind.config.js
. At the very least, I need an escape hatch in each component (className
).Describe the solution you'd like
I would like to be able to define a color,
primary
intailwind.config.js
, then use that color inflowbite-react
components like so:Describe alternatives you've considered
As long as each component provides the ability to directly specify a
className
, I can do this myself.Additional context
n/a
The text was updated successfully, but these errors were encountered: