I recently downloaded the Business Starter App and took a look through its source code, and have a few questions about Lumo.
-
All the views in the Vaadin Business Starter app use a
MainLayout
as their layouts, andMainLayout
uses@HtmlImport("frontend://styles/shared-styles.html")
. Thisshared-styles.html
file in turn imports all the Lumo files stored undersrc/main/webapp
. But is this really the best way to import Lumo into a project? Is Lumo available via CDN, or as a webjar (if so what are the Maven coordinates,vaadin-lumo-styles
maybe)? -
Is Lumo open source and available for general use or is it only for Pro/Prime/Enterprise customers?
-
I noticed in the Business Starter app there were a lot of Java classes under the
ui.layout.size.*
andui.util.css.lumo.*
packages (such asSize
,BadgeColor
, etc.) that are essentially enums representing specific Lumo styles. I don’t mind following suit in my own apps but it would great if there was an entire Java API for precisely this. Does anything like this exist or being planned on the Vaadin roadmap? I love Java, and hate CSS!