UNPKG

tpa-style-webpack-plugin

Version:

A Webpack plugin that handles wix tpa styles, it separates static css file that injects dynamic style at runtime.

18 lines (17 loc) 519 B
import { IOptions, ISiteColor, ISiteTextPreset, IStyleParams } from './types'; export interface ITPAParams { colors: { [index: string]: { value: string; }; }; numbers: { [index: string]: number; }; booleans: { [index: string]: boolean; }; fonts: Object; strings: Object; } export declare function generateTPAParams(siteColors: ISiteColor[], siteTextPresets: ISiteTextPreset, styleParams: IStyleParams, options: Partial<IOptions>): ITPAParams;