tailwind_to_css
tailwind_to_css copied to clipboard
bug: handling classnames with hyphens properly
-
A class that uses css variables as arbitrary values like
bg-[--my-color]
has the following css:background: var(--my-color);
. Tailwind docs But the converter converts it tobackground: --my-color;
-
Prefixing classnames with numeric values uses their negative values. e.g:
-z-50
should translate toz-index: -50
but isn't converted at all