css-to-tailwind
css-to-tailwind copied to clipboard
Rough explanation of the architecture?
Hi! I'm building something similar. I am wondering, if you could explain the rough architecture of this project / any gotchas or odd edgecases that you ran into.
My first pass at an architecture for this project is:
- Generate every possible tailwind css class + the raw css is corresponds to
- Have mapping of "raw css class" (plus some normalization function) to the nearest tailwindcss class it corresponds to
I'm curious what architecture you employed.
There is another one with activity: hymhub/css-to-tailwind