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.

16 lines (15 loc) 451 B
import type { CSSResult } from 'lit'; export type Theme = 'material' | 'bootstrap' | 'indigo' | 'fluent'; export type ThemeVariant = 'light' | 'dark'; export type Themes = { light: { [K in Theme | 'shared']?: CSSResult; }; dark: { [K in Theme | 'shared']?: CSSResult; }; }; export type ThemeChangedCallback = (theme: Theme) => unknown; export type ThemingControllerConfig = { themeChange?: ThemeChangedCallback; };