@@ -159,13 +159,6 @@ export let variantPlugins = {
159
159
matchVariant (
160
160
name ,
161
161
( value = '' , extra ) => {
162
- if ( extra . modifier ) {
163
- log . warn ( `modifier-${ name } -experimental` , [
164
- `The ${ name } variant modifier feature in Tailwind CSS is currently in preview.` ,
165
- 'Preview features are not covered by semver, and may be improved in breaking ways at any time.' ,
166
- ] )
167
- }
168
-
169
162
let result = normalize ( typeof value === 'function' ? value ( extra ) : value )
170
163
if ( ! result . includes ( '&' ) ) result = '&' + result
171
164
@@ -309,19 +302,19 @@ export let variantPlugins = {
309
302
return ( value ) => {
310
303
if ( ! areSimpleScreens ) {
311
304
log . warn ( 'complex-screen-config' , [
312
- 'The min and max variants are not supported with a screen configuration containing objects.' ,
305
+ 'The ` min-*` and ` max-*` variants are not supported with a `screens` configuration containing objects.' ,
313
306
] )
314
307
315
308
return [ ]
316
309
} else if ( ! screensUseConsistentUnits ) {
317
310
log . warn ( 'mixed-screen-units' , [
318
- 'The min and max variants are not supported with a screen configuration containing mixed units.' ,
311
+ 'The ` min-*` and ` max-*` variants are not supported with a `screens` configuration containing mixed units.' ,
319
312
] )
320
313
321
314
return [ ]
322
315
} else if ( typeof value === 'string' && ! canUseUnits ( value ) ) {
323
316
log . warn ( 'minmax-have-mixed-units' , [
324
- 'The min and max variants are not supported with a screen configuration containing mixed units.' ,
317
+ 'The ` min-*` and ` max-*` variants are not supported with a `screens` configuration containing mixed units.' ,
325
318
] )
326
319
327
320
return [ ]
0 commit comments