@NpmPackage(value="@vaadin/vaadin-themable-mixin",version="22.1.0") @NpmPackage(value="@vaadin/polymer-legacy-adapter",version="22.1.0") @NpmPackage(value="@vaadin/vaadin-lumo-styles",version="22.1.0") @JsModule(value="@vaadin/polymer-legacy-adapter/style-modules.js") @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") @JsModule(value="./lumo-includes.ts") 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.
|
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, wait
translateUrl
public static final String LIGHT
public static final String DARK
public String getBaseUrl()
AbstractTheme
e.g. src/
getBaseUrl
in interface AbstractTheme
public String getThemeUrl()
AbstractTheme
e.g. theme/lumo/
getThemeUrl
in interface AbstractTheme
public List<String> getHeaderInlineContents()
AbstractTheme
This will usually be the any <custom-style>
declarations, see
CustomStyle
For importing theme files, use
JsModule
on the
corresponding theme subclass.
getHeaderInlineContents
in interface AbstractTheme
public Map<String,String> getHtmlAttributes(String variant)
AbstractTheme
<html>
element when
the Theme variant is applied.getHtmlAttributes
in interface AbstractTheme
variant
- the variant defined in the Theme
annotation, not
null
Copyright © 2024. All rights reserved.