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

Inconsistencies found when converting Tailwind-based CSS

Open ErwinAI opened this issue 2 years ago • 3 comments

Hello @hymhub!

First of all, thank you for building this package! I've been going through some experiments with it and found out the dark modifier isn't detected, is that expected behavior?

ErwinAI avatar Jul 10 '23 06:07 ErwinAI

hi, thanks, you are right, dark mode is not supported, it will be developed later if there is enough time!

hymhub avatar Jul 20 '23 08:07 hymhub

Hello @hymhub!

font-weight: bold;// normal... translate unsuccessful;I would like to know which other attributes are not supported?

CamDX3906 avatar Aug 29 '23 08:08 CamDX3906

Hello @hymhub!

font-weight: bold;// normal... translate unsuccessful;I would like to know which other attributes are not supported?

Hey, this was caused by a misjudgement of the css attribute value during the transformation process, which has been fixed, and now the isUnit function's strict checking of the attribute value has been dropped from the source code, and all other attributes will not fail this way after that

hymhub avatar Aug 29 '23 09:08 hymhub