@@ -15,7 +15,7 @@ div.dialogContent.select-board-dialog > div.head .title {
1515 font-weight : 400 ;
1616 letter-spacing : 0.02em ;
1717 font-size : 1.2em ;
18- color : var (--theia-arduino-branding-primary );
18+ color : var (--theia-editorWidget-foreground );
1919 margin-bottom : 10px ;
2020}
2121
@@ -24,7 +24,7 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected {
2424}
2525
2626div # select-board-dialog .selectBoardContainer .body .list .item .selected i {
27- color : var (--theia-arduino-branding-primary );
27+ color : var (--theia-list-activeSelectionIconForeground );
2828}
2929
3030# select-board-dialog .selectBoardContainer .search ,
@@ -77,7 +77,7 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
7777
7878# select-board-dialog .selectBoardContainer .body .container .content .loading {
7979 font-size : var (--theia-ui-font-size1 );
80- color : var (--theia-arduino-branding-secondary );
80+ color : var (--theia-editorWidget-foreground );
8181 padding : 10px 5px 10px 10px ;
8282 text-transform : uppercase;
8383 /* The max, min-height comes from `.body .list` 200px + 47px top padding - 2 * 10px top padding */
@@ -145,9 +145,10 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
145145
146146.arduino-boards-toolbar-item-container {
147147 align-items : center;
148- background : var (--theia-arduino-toolbar- dropdown-background );
148+ background : var (--theia-dropdown-background );
149149 border-radius : 1px ;
150- color : var (--theia-arduino-toolbar-dropdown-label );
150+ color : var (--theia-dropdown-foreground );
151+ border : 1px solid var (--theia-dropdown-border );
151152 display : flex;
152153 gap : 10px ;
153154 height : 28px ;
@@ -164,12 +165,9 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
164165 font-size : 16px ;
165166}
166167
167- .arduino-boards-toolbar-item--protocol {
168- color : var (--theia-arduino-toolbar-dropdown-label );
169- }
170-
168+ .arduino-boards-toolbar-item--protocol ,
171169.arduino-boards-dropdown-item--protocol {
172- color : var (--theia-arduino-toolbar- dropdown-label );
170+ color : var (--theia-dropdown-foreground );
173171}
174172
175173.arduino-boards-toolbar-item-container
@@ -198,25 +196,28 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
198196.arduino-boards-dropdown-list {
199197 margin : -1px ;
200198 z-index : 1 ;
201- border : 1px solid var (--theia-arduino-toolbar- dropdown-border );
199+ border : 1px solid var (--theia-dropdown-border );
202200}
203201
204202.arduino-boards-dropdown-list : focus {
205- border : 1px solid var (--theia-arduino-toolbar-dropdown-borderActive );
203+ border-style : solid;
204+ border-width : 1px ;
205+ border-color : var (--theia-focus-border );
206206}
207207
208208.arduino-boards-dropdown-list--items-container {
209209 overflow : auto;
210210 max-height : 404px ;
211+ background : var (--theia-dropdown-background );
211212}
212213
213214.arduino-boards-dropdown-list--items-container ::-webkit-scrollbar {
214- background : var (--theia-arduino-toolbar-dropdown-background );
215+ background : var (--theia-list-activeSelectionBackground );
215216}
216217
217218.arduino-boards-dropdown-item {
218- background : var (--theia-arduino-toolbar- dropdown-background );
219- color : var (--theia-arduino-toolbar- dropdown-label );
219+ background : var (--theia-dropdown-background );
220+ color : var (--theia-dropdown-foreground );
220221 cursor : default;
221222 display : flex;
222223 font-size : var (--theia-ui-font-size1 );
@@ -238,29 +239,29 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
238239}
239240
240241.arduino-boards-dropdown-item : hover {
241- background : var (--theia-arduino-toolbar-dropdown-option-backgroundHover );
242+ background : var (--theia-list-hoverBackground );
242243}
243244
244245.arduino-boards-dropdown-item--selected ,
245246.arduino-boards-dropdown-item--selected : hover {
246- background : var (--theia-arduino-toolbar-dropdown-option-backgroundSelected );
247- border : 1px solid var (--theia-arduino-toolbar-dropdown-option-backgroundSelected );
247+ background : var (--theia-list-activeSelectionBackground );
248+ border : 1px solid var (--theia-list-activeSelectionBackground );
248249}
249250
250251.arduino-boards-dropdown-item--selected
251- .arduino-boards-dropdown-item--port-label {
252- color : var (--theia-arduino-toolbar-dropdown-label );
252+ .arduino-boards-dropdown-item--port-label {
253+ color : var (--theia-list-activeSelectionForeground );
253254}
254255
255256.arduino-boards-dropdown-item--selected .fa {
256- color : var (--theia-arduino-toolbar-dropdown-iconSelected );
257+ color : var (--theia-list-activeSelectionIconForeground );
257258}
258259
259260.arduino-boards-dropdown-item .fa-check {
260261 align-self : center;
261262}
262263
263264.arduino-board-dropdown-footer {
264- color : var (--theia-arduino-branding-primary );
265- border-top : 1px solid var (--theia-arduino-toolbar- dropdown-border );
265+ color : var (--theia-textLink-foreground );
266+ border-top : 1px solid var (--theia-dropdown-border );
266267}
0 commit comments