Function getColorStatusFromString

  • If the status is 'unknown' or not passed, it will return with '--unknown' css color variable value. Otherwise it will generate a hexa color in string based on the passed status.

    Parameters

    • status: undefined | string

      The status which a color string will be generated

    Returns string

    Color string in hexa format

Generated using TypeDoc