Update buttons style (#1122)

* Buttons updated to reflect the design system.
This commit is contained in:
Francesco Spissu
2022-07-08 10:43:10 +02:00
committed by GitHub
parent a36524e02a
commit d7a2d83990
15 changed files with 68 additions and 157 deletions

View File

@@ -72,7 +72,10 @@ export class ListItemRenderer<T extends ArduinoComponent> {
);
const onClickInstall = () => install(item);
const installButton = item.installable && (
<button className="theia-button install" onClick={onClickInstall}>
<button
className="theia-button secondary install"
onClick={onClickInstall}
>
{nls.localize('arduino/component/install', 'INSTALL')}
</button>
);
@@ -121,8 +124,8 @@ export class ListItemRenderer<T extends ArduinoComponent> {
</div>
<div className="info">{moreInfo}</div>
<div className="footer">
{installButton}
{versions}
{installButton}
</div>
</div>
);