update tests to reflect variant order change

This commit is contained in:
Robin Malfait 2023-10-10 13:08:51 +02:00
parent 9dcd9ac4b3
commit a9b3dfc515
No known key found for this signature in database
2 changed files with 9 additions and 11 deletions

View file

@ -99,13 +99,6 @@ test('collapse adjacent rules', () => {
color: #000;
font-weight: 700;
}
@supports (foo: bar) {
.some-apply-thing {
--tw-text-opacity: 1;
color: rgb(0 0 0 / var(--tw-text-opacity));
font-weight: 700;
}
}
@media (min-width: 768px) {
.some-apply-thing {
--tw-text-opacity: 1;
@ -114,6 +107,11 @@ test('collapse adjacent rules', () => {
}
}
@supports (foo: bar) {
.some-apply-thing {
--tw-text-opacity: 1;
color: rgb(0 0 0 / var(--tw-text-opacity));
font-weight: 700;
}
@media (min-width: 768px) {
.some-apply-thing {
--tw-text-opacity: 1;

View file

@ -727,10 +727,6 @@ test('it works', () => {
.group:active .group-active\:opacity-10 {
opacity: 0.1;
}
.foo\:custom-util,
.foo\:hover\:custom-util:hover {
background: #abcdef !important;
}
@media (prefers-reduced-motion: no-preference) {
.motion-safe\:transition {
transition-property: color, background-color, border-color, text-decoration-color, fill,
@ -753,6 +749,10 @@ test('it works', () => {
:is(.dark .dark\:custom-util) {
background: #abcdef;
}
.foo\:custom-util,
.foo\:hover\:custom-util:hover {
background: #abcdef !important;
}
@media (min-width: 640px) {
.sm\:text-center {
text-align: center;