import { z } from 'zod'; import { ThemeColors } from './createColors'; /** @beta */ export interface ThemeTypography extends ThemeTypographyVariantTypes { fontFamily: string; fontFamilyMonospace: string; fontSize: number; fontWeightLight: number; fontWeightRegular: number; fontWeightMedium: number; fontWeightBold: number; htmlFontSize?: number; /** * @deprecated * from legacy old theme * */ size: { base: string; xs: string; sm: string; md: string; lg: string; }; pxToRem: (px: number) => string; } export interface ThemeTypographyVariant { fontSize: string; fontWeight: number; lineHeight: number; fontFamily: string; letterSpacing?: string; } export declare const ThemeTypographyInputSchema: z.ZodObject<{ fontFamily: z.ZodOptional; fontFamilyMonospace: z.ZodOptional; fontSize: z.ZodOptional; fontWeightLight: z.ZodOptional; fontWeightRegular: z.ZodOptional; fontWeightMedium: z.ZodOptional; fontWeightBold: z.ZodOptional; htmlFontSize: z.ZodOptional; }, z.core.$strip>; export type ThemeTypographyInput = z.infer; export declare function createTypography(colors: ThemeColors, typographyInput?: ThemeTypographyInput): ThemeTypography; export interface ThemeTypographyVariantTypes { h1: ThemeTypographyVariant; h2: ThemeTypographyVariant; h3: ThemeTypographyVariant; h4: ThemeTypographyVariant; h5: ThemeTypographyVariant; h6: ThemeTypographyVariant; body: ThemeTypographyVariant; bodySmall: ThemeTypographyVariant; code: ThemeTypographyVariant; }