shineout
Version:
Shein 前端组件库
22 lines (21 loc) • 762 B
TypeScript
import { cleanCache } from './css-accessors';
import { ThemeConfig } from './vars-inject';
declare const types: string[];
declare type ObjectProps = {
[x: string]: any;
};
declare function getClassname(data: ObjectProps): string;
declare function getInjectType(): "body" | "tag";
declare function setInjectType(type: ThemeConfig['injectType']): void;
declare function setStyle(options: ObjectProps, custom?: ObjectProps, config?: Partial<ThemeConfig>): () => void;
declare const style: {
getClassname: typeof getClassname;
setStyle: typeof setStyle;
cleanCache: typeof cleanCache;
setInjectType: typeof setInjectType;
getInjectType: typeof getInjectType;
};
declare const color: {
[x: string]: any;
};
export { color, style, types };