Skip to content

Commit bcb297f

Browse files
remove hard-coded colors
1 parent 14e5a33 commit bcb297f

File tree

6 files changed

+20
-9
lines changed

6 files changed

+20
-9
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
6666
}
6767

6868
#select-board-dialog .selectBoardContainer .body .container .content .title {
69-
color: #7f8c8d;
69+
color: var(--theia-editorWidget-foreground);
7070
padding: 0px 0px 10px 0px;
7171
text-transform: uppercase;
7272
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
}
77

88
.monaco-list-row.show-file-icons.focused {
9-
background-color: #d6ebff;
9+
background-color: var(--theia-quickInputList-focusBackground);
1010
}
1111

1212
.monaco-editor .view-overlays .compiler-error {

arduino-ide-extension/src/browser/style/ide-updater-dialog.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
}
4040

4141
.ide-updater-dialog .changelog-container a {
42-
color: #018184;
42+
color: var(--theia-textLink-foreground);
4343
}
4444

4545
.ide-updater-dialog .changelog-container a:hover {
@@ -48,13 +48,13 @@
4848
}
4949

5050
.ide-updater-dialog .changelog-container code {
51-
background: #ecf1f1;
51+
background: var(--theia-textBlockQuote-background);
5252
border-radius: 2px;
5353
padding: 0 2px;
5454
}
5555

5656
.ide-updater-dialog .changelog-container a code {
57-
color: #018184;
57+
color: var(--theia-textLink-foreground);
5858
}
5959

6060
.ide-updater-dialog .buttons-container {

arduino-ide-extension/src/browser/style/progress-bar.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
}
44

55
.progress-bar--outer {
6-
background: #e5e5e5;
6+
background: var(--theia-editorWidget-background);
77
border-radius: 11px;
88
height: 6px;
99
position: relative;
@@ -13,7 +13,7 @@
1313
.progress-bar--inner {
1414
transition: width 1s;
1515
height: 100%;
16-
background: #008184;
16+
background: var(--theia-progressBar-background);
1717
border-radius: 11px;
1818
}
1919

arduino-ide-extension/src/browser/style/settings-dialog.css

+11
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,17 @@
6666
color: var(--theia-textLink-activeForeground);
6767
}
6868

69+
.arduino-settings-dialog .react-tabs__tab--selected {
70+
background: var(--theia-tab-activeBackground);
71+
border-color: var(--theia-tab-activeBorder);
72+
color: var(--theia-tab-activeForeground);
73+
border-radius: 5px 5px 0 0;
74+
}
75+
76+
.arduino-settings-dialog .react-tabs__tab-list {
77+
border-bottom: 1px solid var(--theia-editorGroupHeader-tabsBorder);
78+
}
79+
6980
.arduino-settings-dialog .react-tabs__tab-panel {
7081
padding-bottom: 8px;
7182
}

arduino-ide-extension/src/browser/style/user-fields-dialog.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515

1616
.user-fields-dialog-content .field-label {
17-
color: #2c353a;
17+
color: var(--theia-editorWidget-foreground);
1818
font-size: 14px;
1919
font-style: normal;
2020
font-weight: 400;
@@ -29,4 +29,4 @@
2929

3030
.user-fields-dialog-content .button-container {
3131
justify-content: flex-end;
32-
}
32+
}

0 commit comments

Comments
 (0)