UNPKG

@twilio/flex-ui

Version:

Twilio Flex UI

31 lines (30 loc) 850 B
/** * @typedef {object} ThemeColorsDefinition * @property {boolean} isLight If the definition is light themed * @memberof ThemeColorsDefinitionCreator */ export interface ThemeColorsDefinition { isLight: boolean; } /** * Static class used to create a theme colors object * * @category Theme * @ignore * @class ThemeColorsDefinitionCreator * @hideconstructor */ export declare class ThemeColorsDefinitionCreator { /** * Gets predefined theme * * @method * @param {string} [name] Theme name * @returns {ThemeColorsDefinition} Predefined theme * @static * @example * import { ThemeColorsDefinitionCreator } from "@twilio/flex-ui"; * const themeDefinition = ThemeColorsDefinitionCreator.getPredefined("lightTheme"); */ static getPredefined(name?: string): ThemeColorsDefinition; }