Skip to content

@ui5/builder/processors/ThemeBuilder

Classes

Methods

(static) default(parameters) → {Promise<Array<@ui5/fs/Resource>>}

Description: Builds a library theme.

Source: builder/lib/processors/themeBuilder.js, line 138

Parameters:
NameTypeDescription
parametersobjectParameters
Properties:
NameTypeAttributesDescription
resourcesArray<@ui5/fs/Resource>List of library.source.less
resources to be processed
fsfs | module:@ui5/fs/fsInterfaceNode fs or custom
fs interface
optionsmodule:@ui5/builder/processors/ThemeBuilder~ThemeBuilderOptionsoptionalOptions
Returns:

Promise resolving with theme resources

Type: Promise<Array<@ui5/fs/Resource>>

Type Definitions

ThemeBuilderOptions

Source: builder/lib/processors/themeBuilder.js, line 128

Properties:
NameTypeAttributesDefaultDescription
compressbooleanoptionalfalseCompress build output (CSS / JSON)
cssVariablesbooleanoptionalfalseGenerates the CSS variables
(css-variables.css, css-variables.source.less) and the skeleton for a theme
(library-skeleton.css, [library-skeleton-RTL.css])
Type:
  • object