Skip to content

Make extending reused config values easier #54

@dcastil

Description

@dcastil

If someone extends the spacing scale in the Tailwind config with values not supported by tailwind-merge, they need to extend the class groups inset, inset-x, inset-y, top, right, bottom, left, gap, gap-x, gap-y, p, px, …

There should be an easier way to extend these scales. It shouldn't just work for spacing, but also border-radius, color, etc.

Inspired by @nenostra in #48 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    context-v0Related to tailwind-merge v0featureIs new feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions