File tree 1 file changed +9
-11
lines changed
1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const forms = plugin.withOptions(function (options = { strategy: undefined }) {
17
17
{
18
18
base : [
19
19
"[type='text']" ,
20
- " input:where(:not([type]))" ,
20
+ ' input:where(:not([type]))' ,
21
21
"[type='email']" ,
22
22
"[type='url']" ,
23
23
"[type='password']" ,
@@ -308,21 +308,19 @@ const forms = plugin.withOptions(function (options = { strategy: undefined }) {
308
308
base : [ `[type='file']:focus` ] ,
309
309
class : null ,
310
310
styles : {
311
- outline : [
312
- `1px solid ButtonText` ,
313
- `1px auto -webkit-focus-ring-color`
314
- ] ,
311
+ outline : [ `1px solid ButtonText` , `1px auto -webkit-focus-ring-color` ] ,
315
312
} ,
316
313
} ,
317
314
]
318
315
319
- const getStrategyRules = ( strategy ) => rules
320
- . map ( ( rule ) => {
321
- if ( rule [ strategy ] === null ) return null
316
+ const getStrategyRules = ( strategy ) =>
317
+ rules
318
+ . map ( ( rule ) => {
319
+ if ( rule [ strategy ] === null ) return null
322
320
323
- return { [ rule [ strategy ] ] : rule . styles }
324
- } )
325
- . filter ( Boolean )
321
+ return { [ rule [ strategy ] ] : rule . styles }
322
+ } )
323
+ . filter ( Boolean )
326
324
327
325
if ( strategy . includes ( 'base' ) ) {
328
326
addBase ( getStrategyRules ( 'base' ) )
You can’t perform that action at this time.
0 commit comments