how can I change the appearance of visual components.
For example how you can change the border and background colors of an hbox
Hi!
All visual components can be styled using CSS.
For example:
<hbox height="50%" width="50%" classNames="styled-hbox"/>
CSS:
.styled-hbox {
background-color: var(--lumo-contrast);
border: 2px solid;
border-color: var(--lumo-contrast-20pct);
border-radius: var(--lumo-border-radius-l);
}
Result:
Regards,
Dmitriy