File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
arduino-ide-extension/src/browser/monitor Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -190,13 +190,15 @@ export class MonitorWidget extends ReactWidget {
190
190
controlHeight : height ,
191
191
baseUnit : 2 ,
192
192
menuGutter : 4
193
+ } , colors : {
194
+ ...theme . colors ,
195
+ // `primary50`??? it's crazy but apparently, without this, we would get a light-blueish
196
+ // color when selecting an option in the select by clicking and then not releasing the button.
197
+ // https://react-select.com/styles#overriding-the-theme
198
+ primary50 : 'var(--theia-accent-color4)' ,
193
199
}
194
200
} ) ;
195
- const DropdownIndicator = ( ) => {
196
- return (
197
- < span className = 'fa fa-caret-down caret' > </ span >
198
- ) ;
199
- } ;
201
+ const DropdownIndicator = ( ) => < span className = 'fa fa-caret-down caret' /> ;
200
202
return < Select
201
203
options = { options }
202
204
defaultValue = { defaultValue }
You can’t perform that action at this time.
0 commit comments