twix
twix copied to clipboard
Tailwind class merging in Elixir
Twix currently only recognizes the default colors, so if I use a custom color that I've defined in the tailwind.config.js file, it will not be merged. This code change allows...
```elixir iex(3)> Twix.tw(["text-white", "text-green-500"]) "text-green-500" iex(4)> Twix.tw(["text-white", "text-[#00ff00]"]) ** (ArgumentError) errors were found at the given arguments: * 1st argument: not an already existing atom (erts 14.0) :erlang.binary_to_existing_atom("text-[#00ff00]", :utf8) (twix...
Hey there, I built a hex package and the more that I started using it myself, the more I realized that twix provides a much better way of handling a...
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...