-
-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
context-v1Related to tailwind-merge v1Related to tailwind-merge v1
Description
- I have
text-40
defined is tailwind config as2.5rem
- Had the class by default to a button
twMerge
is removing the classes. I had to pass the classes explicitly,Button className="text-40"
,- 👉 then other custom class
text-white-light
got removed
- 👉 then other custom class
Are the custom classes conflicting because they start with text-
?
Note: I am using classnames
library
config:
theme: {
expand: {
fontSize: {
//...
'40': '2.5rem',
},
}
}
scherroman and davidurco
Metadata
Metadata
Assignees
Labels
context-v1Related to tailwind-merge v1Related to tailwind-merge v1