@@ -13,7 +13,7 @@ const forms = plugin.withOptions(function (options) {
13
13
}
14
14
15
15
const baseSelectors = {
16
- class : '.form-input, .form-textarea, .form-select' ,
16
+ class : '.form-input, .form-textarea, .form-select, .form-multiselect ' ,
17
17
base :
18
18
"[type='text'],[type='email'], [type='url'], [type='password'], [type='number'], [type='date'], [type='datetime-local'], [type='month'], [type='search'], [type='tel'], [type='time'], [type='week'], [multiple], textarea, select" ,
19
19
}
@@ -81,7 +81,7 @@ const forms = plugin.withOptions(function (options) {
81
81
'color-adjust' : `exact` ,
82
82
} ,
83
83
84
- [ swap ( `[multiple]` , `.form-select[multiple] , .form-input[multiple]` ) ] : {
84
+ [ swap ( `[multiple]` , `.form-multiselect , .form-input[multiple]` ) ] : {
85
85
'background-image' : 'initial' ,
86
86
'background-position' : 'initial' ,
87
87
'background-repeat' : 'unset' ,
@@ -180,7 +180,7 @@ const forms = plugin.withOptions(function (options) {
180
180
'background-color' : 'currentColor' ,
181
181
} ,
182
182
183
- [ swap ( `[type='file']` , `.form-input[type=' file'] ` ) ] : {
183
+ [ swap ( `[type='file']` , `.form-file` ) ] : {
184
184
background : 'unset' ,
185
185
'border-color' : 'inherit' ,
186
186
'border-width' : '0' ,
@@ -190,7 +190,7 @@ const forms = plugin.withOptions(function (options) {
190
190
'line-height' : 'inherit' ,
191
191
} ,
192
192
193
- [ swap ( `[type='file']:focus` , `.form-input[type=' file'] :focus` ) ] : {
193
+ [ swap ( `[type='file']:focus` , `.form-file:focus` ) ] : {
194
194
outline : `1px solid ButtonText` ,
195
195
outline : `1px auto -webkit-focus-ring-color` ,
196
196
} ,
0 commit comments