Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: handling classnames with hyphens properly #42

Open
dinesh-58 opened this issue Jul 29, 2024 · 0 comments · May be fixed by #48
Open

bug: handling classnames with hyphens properly #42

dinesh-58 opened this issue Jul 29, 2024 · 0 comments · May be fixed by #48

Comments

@dinesh-58
Copy link

  1. 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 to background: --my-color;

  2. Prefixing classnames with numeric values uses their negative values. e.g: -z-50 should translate to z-index: -50 but isn't converted at all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant