Skip to content

Commit 39b8a60

Browse files
Akos Kittakittaakos
Akos Kitta
authored andcommitted
[UX]: Fixed button styles with the HC theme.
Signed-off-by: Akos Kitta <[email protected]>
1 parent 57c50fe commit 39b8a60

File tree

2 files changed

+25
-12
lines changed

2 files changed

+25
-12
lines changed

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

-12
Original file line numberDiff line numberDiff line change
@@ -135,18 +135,6 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
135135
width: 740px;
136136
}
137137

138-
button.theia-button {
139-
height: 31px;
140-
}
141-
142-
button.theia-button.secondary {
143-
background-color: var(--theia-secondaryButton-background);
144-
color: var(--theia-foreground);
145-
}
146-
147-
button.theia-button.main {
148-
color: var(--theia-button-foreground);
149-
}
150138

151139
.dialogControl {
152140
margin: 0 20px 30px 0;

Diff for: arduino-ide-extension/src/browser/style/index.css

+25
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,28 @@
3636
color: var(--theia-warningForeground);
3737
background-color: var(--theia-warningBackground);
3838
}
39+
40+
/* Overrule the default Theia CSS button styles. */
41+
42+
button.theia-button,
43+
.theia-button {
44+
border: 1px solid var(--theia-dropdown-border);
45+
}
46+
47+
button.theia-button:hover,
48+
.theia-button:hover {
49+
border: 1px solid var(--theia-focusBorder);
50+
}
51+
52+
button.theia-button {
53+
height: 31px;
54+
}
55+
56+
button.theia-button.secondary {
57+
background-color: var(--theia-secondaryButton-background);
58+
color: var(--theia-foreground);
59+
}
60+
61+
button.theia-button.main {
62+
color: var(--theia-button-foreground);
63+
}

0 commit comments

Comments
 (0)