Skip to content

Commit b67ac0e

Browse files
committed
Try to use nicer colors
1 parent bce0eba commit b67ac0e

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/tests/TestsDataProvider.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,18 @@ class Test implements Element {
2727
// @ts-expect-error: ColorFormat is a value —not a type. TypeScript is complaining otherwise.
2828
const format = ColorFormat.rgb;
2929

30-
const failedColorComponents: ColorComponents = [1, 0, 0, 1];
31-
const passedColorComponents: ColorComponents = [0, 1, 0, 1];
30+
const failedColorComponents: ColorComponents = [
31+
0.88671875,
32+
0.23828125,
33+
0.23828125,
34+
1,
35+
];
36+
const passedColorComponents: ColorComponents = [
37+
0.30859375,
38+
0.91796875,
39+
0.20312500,
40+
1,
41+
];
3242

3343
item.color = new Color(
3444
format,

0 commit comments

Comments
 (0)