Skip to content

Commit 5fbf3f9

Browse files
Alberto Iannacconefrancescospissu
Alberto Iannaccone
authored andcommitted
use new color variables
1 parent 56898e8 commit 5fbf3f9

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

Diff for: arduino-ide-extension/src/browser/style/boards-config-dialog.css

+18-15
Original file line numberDiff line numberDiff line change
@@ -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-tab-unfocusedActiveBackground);
148+
background: var(--theia-arduino-toolbar-dropdown-background);
149149
border-radius: 1px;
150-
color: var(--theia-foreground);
150+
color: var(--theia-arduino-toolbar-dropdown-label);
151151
display: flex;
152152
gap: 10px;
153153
height: 24px;
@@ -165,11 +165,11 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
165165
}
166166

167167
.arduino-boards-toolbar-item--protocol {
168-
color: var(--theia-foreground);
168+
color: var(--theia-arduino-toolbar-dropdown-label);
169169
}
170170

171171
.arduino-boards-dropdown-item--protocol {
172-
color: var(--theia-activityBar-inactiveForeground);
172+
color: var(--theia-arduino-toolbar-dropdown-label);
173173
}
174174

175175
.arduino-boards-toolbar-item-container
@@ -198,7 +198,11 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
198198
.arduino-boards-dropdown-list {
199199
margin: -1px;
200200
z-index: 1;
201-
border: 1px solid var(--theia-menu-selectionBackground);
201+
border: 1px solid var(--theia-arduino-toolbar-dropdown-border);
202+
}
203+
204+
.arduino-boards-dropdown-list:focus {
205+
border: 1px solid var(--theia-arduino-toolbar-dropdown-borderActive);
202206
}
203207

204208
.arduino-boards-dropdown-list--items-container {
@@ -207,12 +211,12 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
207211
}
208212

209213
.arduino-boards-dropdown-list--items-container::-webkit-scrollbar {
210-
background: var(--theia-tab-unfocusedActiveBackground);
214+
background: var(--theia-arduino-toolbar-dropdown-background);
211215
}
212216

213217
.arduino-boards-dropdown-item {
214-
background: var(--theia-tab-unfocusedActiveBackground);
215-
color: var(--theia-foreground);
218+
background: var(--theia-arduino-toolbar-dropdown-background);
219+
color: var(--theia-arduino-toolbar-dropdown-label);
216220
cursor: default;
217221
display: flex;
218222
font-size: var(--theia-ui-font-size1);
@@ -230,27 +234,26 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
230234
}
231235

232236
.arduino-boards-dropdown-item--port-label {
233-
color: #95A5A6;
234237
font-size: 12px;
235238
}
236239

237240
.arduino-boards-dropdown-item:hover {
238-
background: var(--theia-list-hoverBackground);
241+
background: var(--theia-arduino-toolbar-dropdown-option-backgroundHover);
239242
}
240243

241244
.arduino-boards-dropdown-item--selected,
242245
.arduino-boards-dropdown-item--selected:hover {
243-
background: var(--theia-menu-selectionBackground);
244-
border: 1px solid var(--theia-menu-selectionBackground);
246+
background: var(--theia-arduino-toolbar-dropdown-option-backgroundSelected);
247+
border: 1px solid var(--theia-arduino-toolbar-dropdown-option-backgroundSelected);
245248
}
246249

247250
.arduino-boards-dropdown-item--selected
248251
.arduino-boards-dropdown-item--port-label {
249-
color: var(--theia-foreground);
252+
color: var(--theia-arduino-toolbar-dropdown-label);
250253
}
251254

252255
.arduino-boards-dropdown-item--selected .fa {
253-
color: #1DA086;
256+
color: var(--theia-arduino-toolbar-dropdown-iconSelected);
254257
}
255258

256259
.arduino-boards-dropdown-item .fa-check {
@@ -259,5 +262,5 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
259262

260263
.arduino-board-dropdown-footer {
261264
color: var(--theia-arduino-branding-primary);
262-
border-top: 1px solid var(--theia-menu-selectionBackground);
265+
border-top: 1px solid var(--theia-arduino-toolbar-dropdown-border);
263266
}

0 commit comments

Comments
 (0)