fannypack-v5
Version:
An accessible, composable, and friendly React UI Kit
44 lines (43 loc) • 1.57 kB
TypeScript
import { ThemeConfig } from '../types';
export declare function theme(themeKey: string, path?: string, defaultValue?: any): (props: {
theme?: ThemeConfig;
overrides?: any;
colorMode?: string;
variant?: string;
}) => any;
export declare function altitude(selector?: string, defaultValue?: any): (props: {
altitude?: string;
theme?: ThemeConfig;
}) => any;
export declare function border(selector?: string, defaultValue?: any): (props: {
border?: string;
theme?: ThemeConfig;
}) => any;
export declare function borderRadius(selector?: string, defaultValue?: any): (props: {
borderRadius?: string;
theme?: ThemeConfig;
}) => any;
export declare function font(selector?: string, defaultValue?: any): (props: {
font?: string;
theme?: ThemeConfig;
}) => any;
export declare function fontSize(selector?: string, defaultValue?: any): (props: {
fontSize?: string;
theme?: ThemeConfig;
}) => any;
export declare function fontWeight(selector?: string, defaultValue?: any): (props: {
fontWeight?: string;
theme?: ThemeConfig;
}) => any;
export declare function palette(selector?: string, defaultValue?: any): (props: {
palette?: string;
colorMode?: string;
theme?: ThemeConfig;
}) => any;
export declare function space(_scalar: number | string | void, _scaleType?: 'minor' | 'major'): (props: {
theme?: ThemeConfig;
}) => any;
export declare function breakpoint(breakpoint: string, cssStyle: any, config?: {
show?: boolean;
else?: any;
}): (props: any) => import("@emotion/utils").SerializedStyles;