@serenity-is/corelib / textColor
Function: textColor()
textColor(
color):string
Defined in: src/base/icons.ts:37
Returns the text utility class for a TextColor.
Parameters
color
Text color token.
Returns
string
CSS class name such as "text-primary" or "text-teal".
Example
textColor("warning"); // "text-warning"