configureTheme

Allows the global configuration of the active theme.

Usage:

import { configureTheme } from 'igniteui-webcomponents';

configureTheme('material', 'light');

Signature

configureTheme(t: "material" | "bootstrap" | "indigo" | "fluent", v: "light" | "dark"): void

Defined in src/theming/config.ts:94

Parameters

  • t: "material" | "bootstrap" | "indigo" | "fluent"
  • v: "light" | "dark"

Returns

void