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) 500 B
import type { Theme, ThemeVariant } from './types.js'; export declare const getTheme: () => { theme: Theme; themeVariant: ThemeVariant; }; export declare const 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 const configureTheme: (t: Theme, v?: ThemeVariant) => void;