Skip to content

Commit 9899e27

Browse files
author
Alberto Iannaccone
committed
register new toolbar button colors and use list.activeSelectionBackground for active tree items
1 parent 44329d2 commit 9899e27

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

arduino-ide-extension/src/browser/arduino-frontend-contribution.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ export class ArduinoFrontendContribution
598598
'Color of the Arduino IDE foreground which is used for dialogs, such as the Select Board dialog.',
599599
},
600600
{
601-
id: 'arduino.toolbar.background',
601+
id: 'arduino.toolbar.button.background',
602602
defaults: {
603603
dark: 'button.background',
604604
light: 'button.background',
@@ -608,7 +608,7 @@ export class ArduinoFrontendContribution
608608
'Background color of the toolbar items. Such as Upload, Verify, etc.',
609609
},
610610
{
611-
id: 'arduino.toolbar.hoverBackground',
611+
id: 'arduino.toolbar.button.hoverBackground',
612612
defaults: {
613613
dark: 'button.hoverBackground',
614614
light: 'button.foreground',

arduino-ide-extension/src/browser/style/main.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
align-items: center;
2121
height: 24px;
2222
width: 24px;
23-
background: var(--theia-arduino-toolbar-background);
23+
background: var(--theia-arduino-toolbar-button-background);
2424
}
2525

2626
.p-TabBar-toolbar .item.arduino-tool-item.enabled:hover > div {
27-
background: var(--theia-arduino-toolbar-hoverBackground);
27+
background: var(--theia-arduino-toolbar-button-hoverBackground);
2828
}
2929

3030
.arduino-verify-sketch--toolbar,
@@ -178,7 +178,7 @@
178178
}
179179

180180
#arduino-open-sketch-control--toolbar--container {
181-
background-color: var(--theia-arduino-toolbar-background);
181+
background-color: var(--theia-arduino-toolbar-button-background);
182182
border-radius: 1px;
183183
}
184184

arduino-ide-extension/src/browser/style/sketchbook.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
.active-sketch {
4646
font-weight: 500;
47-
background-color: var(--theia-button-disabledBackground) !important;
47+
background-color: var(--theia-list-activeSelectionBackground) !important;
4848
color: var(--theia-list-inactiveSelectionForeground) !important;
4949

5050
}

0 commit comments

Comments
 (0)