@chakra-v2/styled-system
Version:
Style function for css-in-js building component libraries
13 lines (12 loc) • 535 B
TypeScript
import * as CSS from "csstype";
import { StyleObjectOrFn } from "./system.types";
import { Config } from "./utils/prop-config";
import { CssTheme } from "./utils/types";
interface GetCSSOptions {
theme: CssTheme;
configs?: Config;
pseudos?: Record<string, CSS.Pseudos | (string & {})>;
}
export declare function getCss(options: GetCSSOptions): (stylesOrFn: Record<string, any>, nested?: boolean) => Record<string, any>;
export declare const css: (styles: StyleObjectOrFn) => (theme: any) => Record<string, any>;
export {};