UNPKG

igniteui-webcomponents

Version:

Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.

18 lines (17 loc) 497 B
import type { Theme, ThemeVariant } from './types.js'; export declare function getTheme(): { theme: Theme; themeVariant: ThemeVariant; }; export declare function setTheme(value: Theme, variant: ThemeVariant): void; /** * Allows the global configuration of the active theme. * * Usage: * ```ts * import { configureTheme } from 'igniteui-webcomponents'; * * configureTheme('material', 'light'); * ``` */ export declare function configureTheme(t: Theme, v?: ThemeVariant): void;