Styles: {
    getColorForAbilityType(type: number): string;
    getColorForActorType(type: string): string;
}

Type declaration

  • getColorForAbilityType:function
    • Get the CSS color for a given ability type.

      Parameters

      • type: number

        The ability type whose color should be retrieved

      Returns string

      The color to use for the type in charts and tables.

  • getColorForActorType:function
    • Get the CSS color for a given actor subtype.

      Parameters

      • type: string

        The actor subtype whose color should be retrieved

      Returns string

      The color to use for the subtype in charts and tables.