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) 1.17 kB
import { FontKeys } from '../keys.js'; import { ThemeSystemType, CSSProperties, AddProperty } from '../types.js'; import 'csstype'; import '@kuma-ui/sheet'; type FontProps<T extends ThemeSystemType = ThemeSystemType> = Partial<CSSProperties<"font"> & AddProperty<CSSProperties<"fontFamily">, T["fonts"]> & CSSProperties<"fontFeatureSettings"> & CSSProperties<"fontKerning"> & CSSProperties<"fontLanguageOverride"> & CSSProperties<"fontOpticalSizing"> & CSSProperties<"fontPalette"> & AddProperty<CSSProperties<"fontSize", true>, T["fontSizes"]> & CSSProperties<"fontSizeAdjust"> & CSSProperties<"fontStretch"> & CSSProperties<"fontStyle"> & CSSProperties<"fontSynthesis"> & CSSProperties<"fontVariant"> & CSSProperties<"fontVariantAlternates"> & CSSProperties<"fontVariantCaps"> & CSSProperties<"fontVariantEastAsian"> & CSSProperties<"fontVariantEmoji"> & CSSProperties<"fontVariantLigatures"> & CSSProperties<"fontVariantNumeric"> & CSSProperties<"fontVariantPosition"> & CSSProperties<"fontVariationSettings"> & AddProperty<CSSProperties<"fontWeight", true>, T["fontWeights"]>>; declare const fontMappings: Record<FontKeys, string>; export { FontProps, fontMappings };