Make app work again
This commit is contained in:
parent
a9ad628488
commit
938f3def1f
30 changed files with 236 additions and 155 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { IColor } from '../interfaces/persistance/color';
|
||||
import { IColor } from '../interfaces/color';
|
||||
|
||||
export const lighten = (by: number, { h, s, l }: IColor): IColor => {
|
||||
let newL = l + by;
|
||||
|
|
@ -8,7 +8,7 @@ export const lighten = (by: number, { h, s, l }: IColor): IColor => {
|
|||
newL = 0;
|
||||
}
|
||||
|
||||
return { h, s, l: newL, type: 'Color' };
|
||||
return { h, s, l: newL };
|
||||
};
|
||||
|
||||
export const toHslString = ({ h, s, l }: IColor): string => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue