@serenity-is/corelib / textColor

Function: textColor()

textColor(color): string

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

Returns the CSS class for the specified text color.

Parameters

color

TextColor

The text color.

Returns

string

The CSS class for the specified text color.