indoqa-react-fela
Version:
This project components to use [Fela](https://fela.js.org) in React projects:
30 lines (29 loc) • 935 B
TypeScript
export declare const typeScale: (level: number) => number;
export declare interface BaseFontSizes {
readonly verySmall: number | string;
readonly small: number | string;
readonly text: number | string;
readonly big: number | string;
readonly veryBig: number | string;
}
export declare interface BaseFonts {
readonly text: string;
}
export declare interface BaseColors {
readonly text: string;
}
export declare interface BaseSpacing {
readonly space0: number | string;
readonly space1: number | string;
readonly space2: number | string;
readonly space3: number | string;
readonly space4: number | string;
}
export declare interface BaseTheme {
readonly fontSizes: Partial<BaseFontSizes>;
readonly fonts: Partial<BaseFonts>;
readonly colors: Partial<BaseColors>;
readonly spacing: Partial<BaseSpacing>;
readonly layout: {};
}
export declare const baseTheme: BaseTheme;