@chakra-v2/styled-system
Version:
Style function for css-in-js building component libraries
11 lines (10 loc) • 414 B
TypeScript
import type { ThemeScale } from "../create-theme-vars";
import type { Transform } from "./types";
interface CreateTransformOptions {
scale: ThemeScale;
compose?: Transform;
transform?: Transform;
}
export declare const tokenToCSSVar: (scale: ThemeScale, value: any) => (theme: Record<string, any>) => any;
export declare function createTransform(options: CreateTransformOptions): Transform;
export {};