Arbitrary shadow with `inset` not merged correctly
Closed this issue · 2 comments
dcastil commented
Same here with arbitrary values:
shadow-[inset_0_1px_0,inset_0_-1px_0] shadow-[hsl(var(--border-primary))]
Originally posted by @Sliov in #277 (comment)
dcastil commented
The problem is that the shadowRegex
in https://github.com/dcastil/tailwind-merge/blob/v2.2.1/src/lib/validators.ts#L9 doesn't account for inset
.
github-actions commented
This was addressed in release v2.2.2.