Skip to content

Commit b4e3b50

Browse files
committed
speed up canonicalization tests a bit
1 parent e624028 commit b4e3b50

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

packages/tailwindcss/src/canonicalize-candidates.test.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,25 @@ const designSystems = new DefaultMap((base: string) => {
2121
@tailwind utilities;
2222
2323
${defaultTheme}
24+
25+
/* TODO(perf): Only here to speed up the tests */
26+
@theme {
27+
--*: initial;
28+
--breakpoint-lg: 64rem;
29+
--breakpoint-md: 48rem;
30+
--color-blue-200: oklch(88.2% 0.059 254.128);
31+
--color-blue-500: oklch(62.3% 0.214 259.815);
32+
--color-red-500: oklch(63.7% 0.237 25.331);
33+
--color-white: #fff;
34+
--container-md: 28rem;
35+
--font-weight-normal: 400;
36+
--leading-relaxed: 1.625;
37+
--spacing: 0.25rem;
38+
--text-sm--line-height: calc(1.25 / 0.875);
39+
--text-sm: 0.875rem;
40+
--text-xs--line-height: calc(1 / 0.75);
41+
--text-xs: 0.75rem;
42+
}
2443
`,
2544
}
2645
},

0 commit comments

Comments
 (0)