-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
Custom extended colors (in text) override custom extended FontSize #274
Comments
Hey @JepriCreations! 👋 tailwind-merge doesn't have access to the Here is an example on how to configure tailwind-merge: https://github.com/dcastil/tailwind-merge/blob/v1.14.0/docs/recipes.md#adding-custom-scale-from-tailwind-config-to-tailwind-merge-config. And here is the documentation on how the tailwind-merge configuration works: https://github.com/dcastil/tailwind-merge/blob/v1.14.0/docs/configuration.md#usage-with-custom-tailwind-config. |
Upps! That is embarrassing. I missed that part of the documentation, and it seems I didn’t look good enough for another user’s issues with the same problem. I am sorry, and thank you very much for your time and this great repository. |
No worries! 😊 By the way I only added the related issues so I can track which problems occur more often and then fix it. E.g. the separate configs probably need to be emphasized more and earlier in the documentation. |
Related: #275 |
Describe the bug
I have notice that when extending the default theme with colors, and also fontSize, and try to use them at the same time in a component, the color override the size.
To Reproduce
Expected behavior
Both classes should be applied
Environment
Additional context
The text was updated successfully, but these errors were encountered: