@@ -229,65 +229,3 @@ it('should use modern sorting otherwise', () => {
229
229
` )
230
230
} )
231
231
} )
232
-
233
- it ( 'should allow customization of the dark mode variant' , ( ) => {
234
- let config = {
235
- darkMode : [ 'variant' , '&:not(.light *)' ] ,
236
- content : [ { raw : html `<div class= "dark:font-bold" > </ div> ` } ] ,
237
- corePlugins : { preflight : false } ,
238
- }
239
-
240
- let input = css `
241
- @tailwind utilities;
242
- `
243
-
244
- return run ( input , config ) . then ( ( result ) => {
245
- expect ( result . css ) . toMatchFormattedCss ( css `
246
- .dark\:font-bold : not (.light * ) {
247
- font-weight : 700 ;
248
- }
249
- ` )
250
- } )
251
- } )
252
-
253
- it ( 'should support parallel selectors for the dark mode variant' , ( ) => {
254
- let config = {
255
- darkMode : [ 'variant' , [ '&:not(.light *)' , '&:not(.extralight *)' ] ] ,
256
- content : [ { raw : html `<div class= "dark:font-bold" > </ div> ` } ] ,
257
- corePlugins : { preflight : false } ,
258
- }
259
-
260
- let input = css `
261
- @tailwind utilities;
262
- `
263
-
264
- return run ( input , config ) . then ( ( result ) => {
265
- expect ( result . css ) . toMatchFormattedCss ( css `
266
- .dark\:font-bold : not (.light * ),
267
- .dark\:font-bold : not (.extralight * ) {
268
- font-weight : 700 ;
269
- }
270
- ` )
271
- } )
272
- } )
273
-
274
- it ( 'should support fn selectors for the dark mode variant' , ( ) => {
275
- let config = {
276
- darkMode : [ 'variant' , ( ) => [ '&:not(.light *)' , '&:not(.extralight *)' ] ] ,
277
- content : [ { raw : html `<div class= "dark:font-bold" > </ div> ` } ] ,
278
- corePlugins : { preflight : false } ,
279
- }
280
-
281
- let input = css `
282
- @tailwind utilities;
283
- `
284
-
285
- return run ( input , config ) . then ( ( result ) => {
286
- expect ( result . css ) . toMatchFormattedCss ( css `
287
- .dark\:font-bold : not (.light * ),
288
- .dark\:font-bold : not (.extralight * ) {
289
- font-weight : 700 ;
290
- }
291
- ` )
292
- } )
293
- } )
0 commit comments