@cfxjs/react-ui
Version:
Modern and minimalist React UI library.
21 lines (20 loc) • 642 B
TypeScript
import { CardColors, CardVariants } from '../utils/prop-types';
import { CfxUIThemesPalette } from '../styles/themes';
export declare type CardStyles = {
color: string;
bgColor: string;
hoverBgColor: string;
borderColor: string;
hoverBorderColor: string;
};
export declare type SolidCardStyles = {
color: string;
bgColor: string;
hoverBgColor: string;
};
export declare type LineCardStyles = {
color: string;
borderColor: string;
hoverBorderColor: string;
};
export declare const getStyles: (color: CardColors, palette: CfxUIThemesPalette, variant: CardVariants, hoverable: boolean) => CardStyles;