adjustLightness
adjustLightness(
hexColor,percent):string
Defined in: src/theme.ts:115
Lighten (percent > 0) or darken (percent < 0) a hex color; non-hex inputs pass through.
Parameters
Section titled “Parameters”hexColor
Section titled “hexColor”string
percent
Section titled “percent”number
Returns
Section titled “Returns”string