Questions tagged [vaadin-lumo]

5 questions
7
votes
3 answers

Extensive list of Lumo Variables in Vaadin

I would like to do custom theme variations for my Vaadin 20 app. For that I am going to give custom values to Lumo CSS variables available, like --lumo-base-color and --lumo-primary-color. The problem is that I can't find an extensive list of…
Jens Jansson
  • 4,626
  • 4
  • 25
  • 29
1
vote
1 answer

Vaadin 23: different themes for different deliveries

https://vaadin.com/docs/latest/ds/customization/custom-theme describes how to use a custom theme in Vaadin 23. The current theme is selected by writing its name into the Theme annotation like this: @Theme("my-theme"). The system I'm currently…
S. Doe
  • 685
  • 1
  • 6
  • 25
0
votes
1 answer

TreeGrid Vaadin ClassNameGenerator LumoUtility styling

I have a Problem regarding styling a TreeGrid rowise. I want use the ClassNameGenerator to generate classes regarding a POJO object. The problem is, that TreeGrid does not define the "bg-error" class of the Lumo styling locally. Is there a way to…
0
votes
1 answer

Select vaadin flow lumo compact theme based on user logged in?

in Vaadin 23 there exists the Lumo compact theme. In the examples/documentation https://vaadin.com/docs/latest/styling/lumo/variants/compact it's shown how to activate this in the main layout via some JS…
André Schild
  • 4,592
  • 5
  • 28
  • 42
0
votes
1 answer

Style Grid border in case Grid height is calculated

I have a case which want to get vaadin-grid the maximum height possible in screen. So, this is easy. the problem is that despite the vaadin-grid size is ok, the tbody might be shorter than vaadin-grid. So, whenever there is not enough rows we get…