UNPKG

@kuma-ui/system

Version:

🐻 Kuma UI is a utility-first, zero-runtime CSS-in-JS library that offers an outstanding developer experience and optimized performance.

10 lines (7 loc) 923 B
import { TypographyKeys } from '../keys.js'; import { ThemeSystemType, CSSProperties, AddProperty } from '../types.js'; import 'csstype'; import '@kuma-ui/sheet'; type TypographyProps<T extends ThemeSystemType = ThemeSystemType> = Partial<CSSProperties<"hyphenateCharacter" | "hyphens"> & CSSProperties<"hyphenateLimitChars", true> & CSSProperties<"hangingPunctuation"> & AddProperty<CSSProperties<"lineHeight", true>, T["lineHeights"]> & CSSProperties<"lineBreak"> & CSSProperties<"orphans", true> & CSSProperties<"quotes"> & CSSProperties<"rubyPosition"> & CSSProperties<"unicodeBidi"> & CSSProperties<"widows", true> & CSSProperties<"whiteSpace"> & AddProperty<CSSProperties<"letterSpacing", true>, T["letterSpacings"]> & CSSProperties<"wordSpacing", true> & CSSProperties<"wordBreak" | "writingMode">>; declare const typographyMappings: Record<TypographyKeys, string>; export { TypographyProps, typographyMappings };