Function parseColor

  • Parses an authored color value, which can be either color (foreground only) or color on color (foreground and background).

    Parameters

    • Optional source: string

    Returns Pick<CSSStyleDeclaration, "color" | "backgroundColor">

Generated using TypeDoc