Skip to content

Custom classes not being merged correctly in tailwind-merge #28

@toto04

Description

@toto04

Thank you @BIA3IA for pointing this out!

As mentioned in my review of #26, we should extend the twMerge function in @/lib/utils.ts to ensure correct merging of tailwind classes.
There I proposed an easy solution regarding the border radii, but there might / might not be the same problem with colors/typography/shadows/etc. (needs testing, but it probably affects everything).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: frontendRelates to frontend or user interface codedifficulty: mediumIntermediate difficulty — moderate complexityhelp wantedMaintainers welcome community help on this issuepriority: mediumModerate priority — should be done soon

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions