diff --git a/src/lib/ColorLint.ts b/src/lib/ColorLint.ts index 77d3d1b3..05179837 100644 --- a/src/lib/ColorLint.ts +++ b/src/lib/ColorLint.ts @@ -21,7 +21,6 @@ export class ColorLint { checkData: CheckData; palette: Palette; message: string = ""; - config: { val?: ParamType } = {}; isCustom: false | string = false; group: string = ""; description: string = ""; diff --git a/src/lib/api-calls.ts b/src/lib/api-calls.ts index 470f02b1..5eb4f0c9 100644 --- a/src/lib/api-calls.ts +++ b/src/lib/api-calls.ts @@ -158,8 +158,8 @@ export function lint(pal: Palette) { type: "run-lint", content: JSON.stringify({ ...pal, - background: pal.background.toHex(), - colors: pal.colors.map((x) => x.toHex()), + background: pal.background.toString(), + colors: pal.colors.map((x) => x.toString()), }), }).then((x) => { return x as unknown as any[];