How to use a Vaadin Valo theme settings

I am fine using halo but on occasion would like to use something from Valo, e.g. BUTTON_BORDERLESS. How can I access this in cuba-platform? I gather halo is based on valo but seems to be more limited than valo?

Hi,

you can use all the Vaadin Valo styles either by String name or by ValoTheme constant:


<button id="testButton"
        stylename="borderless-colored"/>

import com.vaadin.ui.themes.ValoTheme;
...
@Inject
private Button testButton;
...
testButton.setStyleName(ValoTheme.BUTTON_BORDERLESS_COLORED);
// or
testButton.setStyleName("borderless-colored");

Please note that you can import ValoTheme class only from web module.

Hi
Any possibility that we can change the theme selection globally without hard-coding ?