UNPKG

@artsy/palette-tokens

Version:

The design tokens for Artsy's palette

17 lines (16 loc) 614 B
export interface TextTreatment { fontSize: string; lineHeight: string; letterSpacing?: string; fontWeight?: "normal" | "bold"; } /** Available fonts */ export declare const TEXT_FONTS: { sans: string; }; /** Available text variant names */ export declare const TEXT_VARIANT_NAMES: readonly ["xxxl", "xxl", "xl", "lg", "lg-display", "md", "sm", "sm-display", "xs", "xxs", "bq"]; /** Available text variants */ export declare const TEXT_VARIANTS: Record<typeof TEXT_VARIANT_NAMES[number], TextTreatment>; /** Name of typographic treatment */ export type TextVariant = keyof typeof TEXT_VARIANTS;