@NpmPackage(value="@vaadin/vaadin-lumo-styles", version="1.6.1") @JsModule(value="@vaadin/vaadin-lumo-styles/color.js") @JsModule(value="@vaadin/vaadin-lumo-styles/typography.js") @JsModule(value="@vaadin/vaadin-lumo-styles/sizing.js") @JsModule(value="@vaadin/vaadin-lumo-styles/spacing.js") @JsModule(value="@vaadin/vaadin-lumo-styles/style.js") @JsModule(value="@vaadin/vaadin-lumo-styles/icons.js") public class Lumo extends Object implements AbstractTheme
| Constructor and Description |
|---|
Lumo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseUrl()
The url for the base component implementation.
|
Map<String,String> |
getBodyAttributes(String variant)
Deprecated.
|
List<String> |
getHeaderInlineContents()
Return a list of contents to inline to the bootstrap header.
|
Map<String,String> |
getHtmlAttributes(String variant)
Gets the attributes that should be set on the
<html> element when
the Theme variant is applied. |
String |
getThemeUrl()
The url for the components themed version implementation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittranslateUrlpublic static final String LIGHT
public static final String DARK
public String getBaseUrl()
AbstractThemee.g. src/
getBaseUrl in interface AbstractThemepublic String getThemeUrl()
AbstractThemee.g. theme/lumo/
getThemeUrl in interface AbstractThemepublic List<String> getHeaderInlineContents()
AbstractTheme
This will usually be the any <custom-style> declarations, see
CustomStyle
For importing theme files, use
HtmlImport on the
corresponding theme subclass.
getHeaderInlineContents in interface AbstractTheme@Deprecated public Map<String,String> getBodyAttributes(String variant)
AbstractTheme<body> element when
the Theme variant is applied.getBodyAttributes in interface AbstractThemevariant - the variant defined in the Theme annotation, not
nullpublic Map<String,String> getHtmlAttributes(String variant)
AbstractTheme<html> element when
the Theme variant is applied.getHtmlAttributes in interface AbstractThemevariant - the variant defined in the Theme annotation, not
nullCopyright © 2025. All rights reserved.