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

Cleanup custom properties #2771

Merged
merged 11 commits into from Nov 16, 2020
8 changes: 4 additions & 4 deletions __tests__/applyAtRule.test.js
Expand Up @@ -634,8 +634,8 @@ test('adjacent rules are collapsed after being applied', () => {
`
const expected = `
.foo:hover {
--bg-opacity: 1;
background-color: rgba(255, 255, 255, var(--bg-opacity));
--tw-bg-opacity: 1;
background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
opacity: 0.5;
}
.foo {
Expand Down Expand Up @@ -1055,8 +1055,8 @@ test('you can apply classes in a nested rule', () => {
const expected = `
.selector {
&:hover {
--text-opacity: 1;
color: rgba(255, 255, 255, var(--text-opacity));
--tw-text-opacity: 1;
color: rgba(255, 255, 255, var(--tw-text-opacity));
}
}
`
Expand Down