css-to-tailwind icon indicating copy to clipboard operation
css-to-tailwind copied to clipboard

Rough explanation of the architecture?

Open vedantroy opened this issue 2 years ago • 1 comments

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.

vedantroy avatar Jun 25 '23 02:06 vedantroy

There is another one with activity: hymhub/css-to-tailwind

harryqt avatar Aug 01 '23 20:08 harryqt