@lucsoft/webgen
Version:
Collection of lucsofts Components
22 lines (21 loc) • 616 B
TypeScript
import { SupportedThemes } from './SupportedThemes';
import { WebGenOptions } from "../webgen";
import { ColorDef } from "../types/Colors";
export declare class Style {
private theme;
private current;
private mediaQuery;
private options;
constructor(options: WebGenOptions);
setImage(src: String): void;
clearImage(): void;
getTheme: () => SupportedThemes;
getColors: () => ColorDef;
overrideTheme(data: {
[key in string]: string;
}): void;
private mapColorDef;
private applyStyles;
updateTheme(theme: SupportedThemes): void;
private getMapping;
}