-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Wrong escapation in addVariant separator #1100
Comments
You need to use |
It might be a |
I would make sure all your dependencies are up to date as I just copied your code into a fresh Tailwind 1.1.2 project and I get the output I'd expect: .flex-grow-0 {
flex-grow: 0
}
.flex-grow {
flex-grow: 1
}
.checked\:flex-grow-0:checked {
flex-grow: 0
}
.checked\:flex-grow:checked {
flex-grow: 1
}
.group > input:checked ~.group-checked\:flex-grow-0 {
flex-grow: 0
}
.group > input:checked ~.group-checked\:flex-grow {
flex-grow: 1
} The problem you're running into should have been fixed in postcss-selector-parser 6.0 (https://github.com/postcss/postcss-selector-parser/releases/tag/6.0.0), which is when they switched to cssesc 3.0 which simplified the escape handling of special characters (mathiasbynens/cssesc#19). |
Hello, i am having issues releated to this: #618 .
I am referencing to the unicode escapation,
i read there a solution in the postcss-selector-parser API has been found but i can't understand how to apply the fix.
here my situation:
i wrote a group-checked variant like this:
but it builds like this:
The text was updated successfully, but these errors were encountered: