@serenity-is/corelib / bgColor

Function: bgColor()

bgColor(color): string

Defined in: src/base/icons.ts:20

Returns the CSS class name for the background color based on the provided UtilityColor.

Parameters

color

UtilityColor

The UtilityColor to generate the CSS class name for.

Returns

string

The CSS class name for the background color.