Set font size for label in jmix 2

I wanted to change size of the label in Flow UI Jmix 2.0.0 but unable to do so. I was able to do same in JMIX 1.5 refer the below code.

Jmix 2.0.0 : Not working

<label height="2%" text=" Instructions"/>

Jmix 1.5: Working

<label id="label" value="Instructions" css="color : #cc0606;line-height: 3;font-weight: bold;font-size: 110%;" htmlEnabled="true" width="100%">
            </label>

Hello!

In Jmix 2.0.0 the <label> component is a native HTML element - <label>: The Label element - HTML: HyperText Markup Language | MDN that is used together with inputs. To show a text use <span>, <div> and header (h1, h2 and so on) elements.

Note, that in Jmix 2.1.0 label is renamed to nativeLabel.

Also, take a look at Lumo theme documentation about fonts: Typography | Lumo Style Properties | Lumo | Styling | Vaadin Docs