Skip to content

Custom prefix fails #6

@iwarshak

Description

@iwarshak

Hi - It seems like Twix does not work correctly when custom prefixes are involved. I am running on master, and this is what I get:

iex(15)> Twix.tw(["mt-2 block w-full rounded-lg border-zinc-300", "mt-0"])                  
"block w-full rounded-lg border-zinc-300 mt-0"
iex(16)> Twix.tw(["tw-mt-2 tw-block tw-w-full tw-rounded-lg tw-border-zinc-300", "tw-mt-0"])
"tw-mt-2 tw-block tw-w-full tw-rounded-lg tw-border-zinc-300 tw-mt-0"
iex(17)> 

Would this be a big effort to support prefixes? I am migrating my app from Bootstrap to Tailwind, so a prefix is necessary in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions