Package com.vaadin.flow.theme.lumo
Class Lumo
java.lang.Object
com.vaadin.flow.theme.lumo.Lumo
- All Implemented Interfaces:
com.vaadin.flow.theme.AbstractTheme,Serializable
@NpmPackage(value="@vaadin/vaadin-themable-mixin",version="25.1.0-alpha1") @NpmPackage(value="@vaadin/vaadin-lumo-styles",version="25.1.0-alpha1")
@CssImport("@vaadin/vaadin-lumo-styles/lumo.css")
public class Lumo
extends Object
implements com.vaadin.flow.theme.AbstractTheme
Lumo component theme class implementation.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe path to the stylesheet that contains the Lumo compact preset.static final Stringstatic final Stringstatic final StringThe path to the Lumo stylesheet.static final StringThe path to the stylesheet that contains the Lumo utility classes. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.theme.AbstractTheme
getHeaderInlineContents, translateUrl
-
Field Details
-
LIGHT
- See Also:
-
DARK
- See Also:
-
STYLESHEET
The path to the Lumo stylesheet. Can be used as argument to aStyleSheeton anAppShellConfiguratorclass to apply the Lumo theme to an application.- See Also:
-
UTILITY_STYLESHEET
The path to the stylesheet that contains the Lumo utility classes. Can be used as argument to aStyleSheeton anAppShellConfiguratorclass to apply the utility classes to an application.- See Also:
-
COMPACT_STYLESHEET
The path to the stylesheet that contains the Lumo compact preset. Can be used as argument to aStyleSheeton anAppShellConfiguratorclass to apply the compact preset to an application.The compact preset needs to be loaded in addition to the main Lumo stylesheet referenced by
STYLESHEET, not instead of it. Make sure to load the compact preset after the main Lumo stylesheet so that it can override the relevant CSS custom properties.- See Also:
-
-
Constructor Details
-
Lumo
public Lumo()
-
-
Method Details
-
getBaseUrl
- Specified by:
getBaseUrlin interfacecom.vaadin.flow.theme.AbstractTheme
-
getThemeUrl
- Specified by:
getThemeUrlin interfacecom.vaadin.flow.theme.AbstractTheme
-
getHtmlAttributes
- Specified by:
getHtmlAttributesin interfacecom.vaadin.flow.theme.AbstractTheme
-