Skip to content

Fails to sort for arbitrary-value class #98

@DanikVitek

Description

@DanikVitek

When I use the rustywind to sort classes and the string contains a class like shadow-[0_2px_2px_rgba(0,0,0,0.2)], it refuses to sort the entry completely and treats it as sorted. When I temporarily replace the class with something simpler like shadow-sm it works fine.
I suppose this has to do with the default class regex so it needs tweaking

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions