zachdaniel / tails

Utilities for working with tailwind classes, like semantic merge, and conditional class lists.
MIT License
85 stars 9 forks source link

`shadow` and its derivatives are not properly merged #9

Closed marcofiset closed 1 year ago

marcofiset commented 1 year ago

Describe the bug There are many classes for shadow, but they are not merged properly. Only a subset of those classes are currently supported.

To Reproduce

iex> classes(["shadow", "shadow-none"])
"shadow-none shadow"

Expected behavior shadow classes should be merged like this:

iex> classes(["shadow", "shadow-none"])
"shadow-none"

Runtime

marcofiset commented 1 year ago

I'm currently working on a fix, if that's okay.