Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
import darken from './darken';
* Lightens a color by a given amount. This is equivalent to
* `darken(color, -amount)`
* @param amount The amount to darken, given as a decimal between 0 and 1
function lighten(color: string, amount: number): string {
return darken(color, -amount);
export default lighten;