-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
TW 3 - DEFAULT on text and background colors #6138
Comments
Ah yeah definitely looks like a bug! Here's another demo that made it more obvious to me: https://play.tailwindcss.com/xynKxQLXDp?file=config Seems like we're mutating a reference somewhere that should be on a copy. |
I discover the DEFAULT setting, is there more info in the documentation about that? |
@florianbouvot take a look at this: https://tailwindcss.com/docs/customizing-colors#color-object-syntax |
Looks like DEFAULT got removed from the doc, strange that it wasn't mentioned in release notes and the upgrade guide. |
Just took a look and this is no longer a problem as of Tailwind v3.0.7. It was resolved here: #6546 Thanks for the report! |
What version of Tailwind CSS are you using?
v3.0.0-alpha.2
What build tool (or framework if it abstracts the build tool) are you using?
Tailwind play
What version of Node.js are you using?
Tailwind play
What browser are you using?
Chrome, Safari
What operating system are you using?
macOS
Reproduction URL
https://play.tailwindcss.com/s4D4akwztn
Describe your issue
Setting
DEFAULT
on text/background colors seems to override each other WHEN same color is defined undercolors
. Not sure that description is clear but in the repro you can clearly see that background should have alight
variant ofdisabled
colors, but itsdark
instead.The text was updated successfully, but these errors were encountered: