Skip to content

Commit

Permalink
fix: temp now works as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
xmlwizard committed Dec 17, 2024
1 parent f2556a0 commit c681cb6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/utils.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { alpha, family, mc, temp, token } from "../lib/utils.ts";
import { achromatic, alpha, family, mc, temp, token } from "../lib/utils.ts";
import runner, { type Spec } from "./runner.ts";


Expand Down Expand Up @@ -103,6 +103,11 @@ const specs: Spec[] = [{
description: 'gets the estimated color temperature of a color token',
params: [str],
callback: temp
},
{
description: 'checks if a color is grayscale or not',
params: [str],
callback: achromatic
}

];
Expand Down

0 comments on commit c681cb6

Please sign in to comment.