@@ -23,13 +23,15 @@ declare global {
23
23
* @fires change - when the user changes value
24
24
* @cssprop --uui-select-height - Height of the element
25
25
* @cssprop --uui-select-font-size - Font size of the element
26
+ * @cssprop --uui-select-text-color - Color of the text
26
27
* @cssprop --uui-select-padding-y - Padding on the y axis
27
28
* @cssprop --uui-select-padding-x - Padding on the x axis
28
29
* @cssprop --uui-select-border-color - Border color
29
30
* @cssprop --uui-select-border-color-hover - Border color on hover
30
31
* @cssprop --uui-select-selected-option-background-color - Background color of the selected option
31
32
* @cssprop --uui-select-selected-option-color - Color of the selected option
32
33
* @cssprop --uui-select-outline-color - Outline color
34
+ * @cssprop --uui-select-background-color - Background color
33
35
* @cssprop --uui-select-disabled-background-color - Background color when disabled
34
36
* @extends UUIFormControlMixin
35
37
*/
@@ -282,13 +284,17 @@ export class UUISelectElement extends UUIFormControlMixin(LitElement, '') {
282
284
height : var (--uui-select-height , var (--uui-size-11 ));
283
285
padding : var (--uui-select-padding-y , var (--uui-size-1 ))
284
286
var (--uui-select-padding-x , var (--uui-size-2 ));
285
- color : currentColor ;
287
+ color : var ( --uui-select-text-color , var ( --uui-color-text )) ;
286
288
box-sizing : border-box;
287
289
border-radius : 0 ;
288
290
border : 1px solid
289
291
var (--uui-select-border-color , var (--uui-color-border ));
290
292
transition : all 150ms ease;
291
293
width : 100% ;
294
+ background-color : var (
295
+ --uui-select-background-color ,
296
+ var (--uui-color-surface )
297
+ );
292
298
}
293
299
294
300
# native : focus {
0 commit comments