Class IncodeThemeConfig.Builder
-
- All Implemented Interfaces:
public final class IncodeThemeConfig.Builder
-
-
Constructor Summary
Constructors Constructor Description IncodeThemeConfig.Builder()
-
Method Summary
Modifier and Type Method Description final IncodeThemeConfig.BuildersetTypography(IncodeTypography typography)Sets the typography configuration for the theme. final IncodeThemeConfig.BuildersetColorPalette(IncodeColorPalette colorPalette)Sets the color palette configuration for the theme. final IncodeThemeConfig.BuildersetDisplayMode(DisplayMode displayMode)Sets the display mode for the theme. final IncodeThemeConfig.BuildersetComponents(IncodeComponents components)Sets the components configuration for the theme. final IncodeThemeConfigbuild()Builds and returns an instance of IncodeThemeConfig using the configured values. -
-
Method Detail
-
setTypography
final IncodeThemeConfig.Builder setTypography(IncodeTypography typography)
Sets the typography configuration for the theme.
- Parameters:
typography- The typography to be used.- Returns:
The current instance of the builder for chaining.
-
setColorPalette
final IncodeThemeConfig.Builder setColorPalette(IncodeColorPalette colorPalette)
Sets the color palette configuration for the theme.
- Parameters:
colorPalette- The color palette to be used.- Returns:
The current instance of the builder for chaining.
-
setDisplayMode
final IncodeThemeConfig.Builder setDisplayMode(DisplayMode displayMode)
Sets the display mode for the theme.
- Parameters:
displayMode- The display mode to be used (e.g., light or dark).- Returns:
The current instance of the builder for chaining.
-
setComponents
final IncodeThemeConfig.Builder setComponents(IncodeComponents components)
Sets the components configuration for the theme.
- Parameters:
components- The components configuration to be used.- Returns:
The current instance of the builder for chaining.
- Since:
-
build
final IncodeThemeConfig build()
Builds and returns an instance of IncodeThemeConfig using the configured values.
- Returns:
A new instance of IncodeThemeConfig.
-
-
-
-