18 lines
250 B
TypeScript
18 lines
250 B
TypeScript
|
interface Color {
|
||
|
[key: string]: string;
|
||
|
}
|
||
|
interface HSL {
|
||
|
h: number;
|
||
|
s: number;
|
||
|
l: number;
|
||
|
}
|
||
|
interface Palette {
|
||
|
[key: string]: Color;
|
||
|
}
|
||
|
interface Shade {
|
||
|
name: string;
|
||
|
lightness: number;
|
||
|
}
|
||
|
|
||
|
export type { Color, HSL, Palette, Shade };
|