Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "theme/Font"

Index

Type aliases

ThemeFontBase

ThemeFontBase: Partial<IThemeFontStyle> | IStyles

The base interfaces that can be provided for a font style

Functions

convert

themeFontRatio

  • themeFontRatio(__namedParameters: object, delta: number): Style
  • Calculates the fontWeight ratios for a style. Can be used with a Weight<IFontStyle> class.

    Parameters

    • __namedParameters: object
      • normal: object
        • fontWeight: "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"
        • rest: rest
    • delta: number

    Returns Style