Updated Arduino App to new theming system

Signed-off-by: Jan Bicker <jan.bicker@typefox.io>
This commit is contained in:
Jan Bicker
2020-01-10 11:48:21 +00:00
committed by Akos Kitta
parent b220ce4c5f
commit cbe603a99f
18 changed files with 522 additions and 611 deletions

View File

@@ -16,7 +16,7 @@ export class ArduinoSelect<T> extends Select<T> {
control: styles => ({
...styles,
minWidth: 120,
color: 'var(--theia-ui-font-color1)'
color: 'var(--theia-foreground)'
}),
dropdownIndicator: styles => ({
...styles,
@@ -45,7 +45,7 @@ export class ArduinoSelect<T> extends Select<T> {
// `primary50`??? it's crazy but apparently, without this, we would get a light-blueish
// color when selecting an option in the select by clicking and then not releasing the button.
// https://react-select.com/styles#overriding-the-theme
primary50: 'var(--theia-accent-color4)',
primary50: 'var(--theia-arduino-selectItemHoverBackground)',
}
});
const DropdownIndicator = () => <span className='fa fa-caret-down caret' />;