-
We've configured our classes to use a different modifier separator. Would it be possible to configure the separator with tailwind-merge? If I'm understanding the flow of the code, it seems like we would only need to provide the configuration option to: tailwind-merge/src/lib/merge-classlist.ts Lines 77 to 112 in e9f1e1b Any help would be greatly appreciated! Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @jgornick! 👋 I think that should be possible. Are you using a single character as separator or multiple characters? Just bookmarking some links from my research in here:
|
Beta Was this translation helpful? Give feedback.
@jgornick I just added support for custom separators in v1.8.0.
You can add it to the tailwind-merge config like this:
Let me know if you encounter any issues with it!