We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
group-x
/
There's currently a bug with twins conversion of group- classes when they contain a /.
group-
For example:
tw`group-hover/link:bg-black` // ↓ ↓ ↓ ↓ ↓ ↓ ({ ".group/link:hover &": { // < this resulting class should be escaped "--tw-bg-opacity": "1", "backgroundColor": "rgb(0 0 0 / var(--tw-bg-opacity))" } });
When the class twin creates should be escaped:
tw`group-hover/link:bg-black` // ↓ ↓ ↓ ↓ ↓ ↓ ({ ".group\\/link:hover &": { // < correctly escaped class name "--tw-bg-opacity": "1", "backgroundColor": "rgb(0 0 0 / var(--tw-bg-opacity))" } });
The text was updated successfully, but these errors were encountered:
Escape selectors containing forward slashes (#816)
45ff6ad
This PR adds support for forward slashes within certain classes: ```js tw`group-hover/link:bg-black` // ↓ ↓ ↓ ↓ ↓ ↓ ({ ".group\\/link:hover &": { // < Added escaping to class name "--tw-bg-opacity": "1", "backgroundColor": "rgb(0 0 0 / var(--tw-bg-opacity))" } }); ``` Closes #808
Successfully merging a pull request may close this issue.
There's currently a bug with twins conversion of
group-
classes when they contain a/
.For example:
When the class twin creates should be escaped:
The text was updated successfully, but these errors were encountered: