@@ -48,18 +48,18 @@ test('CSS `--breakpoint-*` merge with JS config `screens`', async () => {
4848 --breakpoint-xl: 80rem;
4949 --breakpoint-2xl: 96rem;
5050 }
51+ .sm\\:flex {
52+ @media (width >= 44rem) {
53+ display: flex;
54+ }
55+ }
5156 .min-sm\\:max-md\\:underline {
5257 @media (width >= 44rem) {
5358 @media (width < 50rem) {
5459 text-decoration-line: underline;
5560 }
5661 }
5762 }
58- .sm\\:flex {
59- @media (width >= 44rem) {
60- display: flex;
61- }
62- }
6363 .md\\:flex {
6464 @media (width >= 50rem) {
6565 display: flex;
@@ -138,15 +138,20 @@ test('JS config `screens` extend CSS `--breakpoint-*`', async () => {
138138 display: flex;
139139 }
140140 }
141+ .xs\\:flex {
142+ @media (width >= 30rem) {
143+ display: flex;
144+ }
145+ }
141146 .min-xs\\:max-md\\:underline {
142147 @media (width >= 30rem) {
143148 @media (width < 50rem) {
144149 text-decoration-line: underline;
145150 }
146151 }
147152 }
148- .xs \\:flex {
149- @media (width >= 30rem ) {
153+ .sm \\:flex {
154+ @media (width >= 40rem ) {
150155 display: flex;
151156 }
152157 }
@@ -157,11 +162,6 @@ test('JS config `screens` extend CSS `--breakpoint-*`', async () => {
157162 }
158163 }
159164 }
160- .sm\\:flex {
161- @media (width >= 40rem) {
162- display: flex;
163- }
164- }
165165 .md\\:flex {
166166 @media (width >= 50rem) {
167167 display: flex;
@@ -219,16 +219,16 @@ test('JS config `screens` only setup, even if those match the default-theme expo
219219 'print:items-end' ,
220220 ] ) ,
221221 ) . toMatchInlineSnapshot ( `
222- ".min- sm\\:max-md\\:underline {
222+ ".sm\\:flex {
223223 @media (width >= 40rem) {
224- @media (width < 48rem) {
225- text-decoration-line: underline;
226- }
224+ display: flex;
227225 }
228226 }
229- .sm\\:flex {
227+ .min- sm\\:max-md\\:underline {
230228 @media (width >= 40rem) {
231- display: flex;
229+ @media (width < 48rem) {
230+ text-decoration-line: underline;
231+ }
232232 }
233233 }
234234 .md\\:flex {
@@ -305,11 +305,14 @@ test('JS config `screens` overwrite CSS `--breakpoint-*`', async () => {
305305 --breakpoint-xl: 80rem;
306306 --breakpoint-2xl: 96rem;
307307 }
308- .min-sm \\:max-md\\:underline {
308+ .mini \\:flex {
309309 @media (width >= 40rem) {
310- @media (width < 48rem) {
311- text-decoration-line: underline;
312- }
310+ display: flex;
311+ }
312+ }
313+ .sm\\:flex {
314+ @media (width >= 40rem) {
315+ display: flex;
313316 }
314317 }
315318 .min-mini\\:max-midi\\:underline {
@@ -319,14 +322,11 @@ test('JS config `screens` overwrite CSS `--breakpoint-*`', async () => {
319322 }
320323 }
321324 }
322- .mini\\:flex {
323- @media (width >= 40rem) {
324- display: flex;
325- }
326- }
327- .sm\\:flex {
325+ .min-sm\\:max-md\\:underline {
328326 @media (width >= 40rem) {
329- display: flex;
327+ @media (width < 48rem) {
328+ text-decoration-line: underline;
329+ }
330330 }
331331 }
332332 .md\\:flex {
@@ -403,16 +403,16 @@ test('JS config with `theme: { extends }` should not include the `default-config
403403 'print:items-end' ,
404404 ] ) ,
405405 ) . toMatchInlineSnapshot ( `
406- ".min- mini\\:max-midi\\:underline {
406+ ".mini\\:flex {
407407 @media (width >= 40rem) {
408- @media (width < 48rem) {
409- text-decoration-line: underline;
410- }
408+ display: flex;
411409 }
412410 }
413- .mini\\:flex {
411+ .min- mini\\:max-midi\\:underline {
414412 @media (width >= 40rem) {
415- display: flex;
413+ @media (width < 48rem) {
414+ text-decoration-line: underline;
415+ }
416416 }
417417 }
418418 .midi\\:flex {
0 commit comments