@carton-org/react-neumorphism
Version:
A React component library implementing the neumorphism design style
15 lines • 622 B
TypeScript
import { CSSProperties } from 'react';
import { SerializedStyles, Theme } from '@emotion/react';
import { Sizes } from '../../constants';
export type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span";
export declare const TYPOGRAPHY_STYLES: Record<Sizes, CSSProperties>;
export declare const defaultStyle: ({ variant, size, theme, bold, italic, underline, ellipsis, }: {
variant: TypographyVariant;
theme: Theme;
size: Sizes;
bold: boolean;
italic: boolean;
underline: boolean;
ellipsis?: boolean;
}) => SerializedStyles;
//# sourceMappingURL=typography.styles.d.ts.map