@@ -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,9 @@ 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 );
151151 border : 1px solid var (--theia-dropdown-border );
152152 display : flex;
153153 gap : 10px ;
@@ -165,12 +165,9 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
165165 font-size : 16px ;
166166}
167167
168- .arduino-boards-toolbar-item--protocol {
169- color : var (--theia-arduino-toolbar-dropdown-label );
170- }
171-
168+ .arduino-boards-toolbar-item--protocol ,
172169.arduino-boards-dropdown-item--protocol {
173- color : var (--theia-arduino-toolbar- dropdown-label );
170+ color : var (--theia-dropdown-foreground );
174171}
175172
176173.arduino-boards-toolbar-item-container
@@ -199,25 +196,28 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
199196.arduino-boards-dropdown-list {
200197 margin : -1px ;
201198 z-index : 1 ;
202- border : 1px solid var (--theia-arduino-toolbar- dropdown-border );
199+ border : 1px solid var (--theia-dropdown-border );
203200}
204201
205202.arduino-boards-dropdown-list : focus {
206- border : 1px solid var (--theia-arduino-toolbar-dropdown-borderActive );
203+ border-style : solid;
204+ border-width : 1px ;
205+ border-color : var (--theia-focus-border );
207206}
208207
209208.arduino-boards-dropdown-list--items-container {
210209 overflow : auto;
211210 max-height : 404px ;
211+ background : var (--theia-dropdown-background );
212212}
213213
214214.arduino-boards-dropdown-list--items-container ::-webkit-scrollbar {
215- background : var (--theia-arduino-toolbar-dropdown-background );
215+ background : var (--theia-list-activeSelectionBackground );
216216}
217217
218218.arduino-boards-dropdown-item {
219- background : var (--theia-arduino-toolbar- dropdown-background );
220- color : var (--theia-arduino-toolbar- dropdown-label );
219+ background : var (--theia-dropdown-background );
220+ color : var (--theia-dropdown-foreground );
221221 cursor : default;
222222 display : flex;
223223 font-size : var (--theia-ui-font-size1 );
@@ -239,31 +239,31 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
239239}
240240
241241.arduino-boards-dropdown-item : hover {
242- background : var (--theia-arduino-toolbar-dropdown-option-backgroundHover );
242+ background : var (--theia-list-hoverBackground );
243243}
244244
245245.arduino-boards-dropdown-item--selected ,
246246.arduino-boards-dropdown-item--selected : hover {
247- background : var (--theia-arduino-toolbar-dropdown-option-backgroundSelected );
248- border : 1px solid var (--theia-arduino-toolbar-dropdown-option-backgroundSelected );
247+ background : var (--theia-list-activeSelectionBackground );
248+ border : 1px solid var (--theia-list-activeSelectionBackground );
249249}
250250
251251.arduino-boards-dropdown-item--selected
252- .arduino-boards-dropdown-item--port-label {
253- color : var (--theia-arduino-toolbar-dropdown-label );
252+ .arduino-boards-dropdown-item--port-label {
253+ color : var (--theia-list-activeSelectionForeground );
254254}
255255
256256.arduino-boards-dropdown-item--selected .fa {
257- color : var (--theia-arduino-toolbar-dropdown-iconSelected );
257+ color : var (--theia-list-activeSelectionIconForeground );
258258}
259259
260260.arduino-boards-dropdown-item .fa-check {
261261 align-self : center;
262262}
263263
264264.arduino-board-dropdown-footer {
265- color : var (--theia-arduino-branding-primary );
266- 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 );
267267}
268268
269269/* High Contrast Theme rules */
0 commit comments