Documentation

API Referencefunction

function setWebTheme()

Applies a theme to the web application.

function setWebTheme(theme: WebTheme): void;

Notes

Parameters

Examples

// Apply a theme with custom colors
setWebTheme(new WebTheme()
  .colors({ accent: "#FF5722" })
  .darkColors({ accent: "#FF7043" })
);