screenshot-to-code
screenshot-to-code copied to clipboard
Tailwind config support
A try at https://github.com/abi/screenshot-to-code/issues/226. Tried for a few images, the code given is using the config like in the docs https://tailwindcss.com/docs/installation/play-cdn and the code does use the custom styles, but the prompt can be improved I think.
@naman1608 also if you're up for it, let's do a call.
Left a few comments.
I'm also unable to see it working in action. When I tried it, I got the same visual results as without Tailwind config except that the code now include the Tailwind config. Can you share the test data you tried? I have a extensive list of images I use for testing, but they are not paired with a tailwind config file.
I tried 2-3 screenshots of a tailwind website I had made for another project, won't be able to share that sorry for that. I'll make a list of images paired with tailwind config for testing.
@naman1608 also if you're up for it, let's do a call.
That would be great!
@naman1608 Sorry for missing this. If you're interested, I'm still up for chatting, can you email me at the email in my Github profile and we'll set up a time.