survey-creator-core
Version:
A framework-independent core package of the SurveyJS Survey Creator component. With Survey Creator, you can visually design complex, interactive JSON forms and surveys in a drag-and-drop interface.
22 lines (21 loc) • 869 B
TypeScript
import { ConfigsHash } from "../utils/configs";
export interface ICreatorTheme {
themeName?: string;
iconSet?: string;
isLight?: boolean;
cssVariables?: {
[index: string]: string | any;
};
}
export declare const PredefinedCreatorThemes: string[];
export declare const defaultCreatorThemesOrder: string[];
/**
* Registers Survey Creator themes to make them available for customization in the Survey Creator UI.
*
* [View Demo](https://surveyjs.io/survey-creator/examples/dynamic-ui-customization/ (linkStyle))
* @param themes One or more Survey Creator theme configuations separated by commas, or an object containing multiple configurations.
*/
export declare function registerCreatorTheme(...themes: Array<ConfigsHash<ICreatorTheme> | ICreatorTheme>): void;
export declare const CreatorThemes: {
[index: string]: ICreatorTheme;
};