Function: textColorForVariant()
textColorForVariant(
variant,disabled?):string
Defined in: lib/base/Button.tsx:146
Returns the appropriate text color for a button variant.
Parameters
variant
The button variant
"destructive" | "secondary" | "default"
disabled?
boolean
Whether the button is disabled
Returns
string
The color value for the text