Docs (4.0.0)
Themes and colors

class UIStyle

A class that defines a set of styles that can be applied to UI components.

class UIStyle<TDefinition>

Notes

  • Do not use this class directly; use the ui.style factory function to create a new style object, or preferably use one of the base styles defined on ui.style.
  • For custom styles used by an application, extend base styles using the extend() method, or create override objects using the override() method.

Constructor

Type Members

Static Members

Instance Members

  • id readonlyUnique style ID.
  • name readonlyStyle type identifier.
  • base readonlyBase styles, read from the current theme.
  • getStyles()Returns the list of styles that should be applied to a UI component.