Point color, radius, stroke, focus, and type tokens at the Figma scale so later sections use the same values.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
63d5d21ae0
commit
e808fe70bf
162 files changed
+1385
-1377
No files matched your search
@@ -118,7 +118,7 @@ describe("FeatureGrid (behavioral tests)", () => {
|
||||
render(<FeatureGrid title="Test Title" subtitle="Test Subtitle" />);
|
||||
const title = screen.getByRole("heading", { name: "Test Title" });
|
||||
expect(title.className).toMatch(/text-\[18px\]/);
|
||||
expect(title.className).toMatch(/md:text-\[length:var\(--sizing-600,24px\)\]/);
|
||||
expect(title.className).toMatch(/md:text-\[length:var\(--sizing-600\)\]/);
|
||||
const subtitle = screen.getByText("Test Subtitle");
|
||||
expect(subtitle.tagName).toBe("P");
|
||||
expect(subtitle).toHaveClass("text-small-paragraph", "md:text-medium-paragraph");
|
||||
|
||||
Reference in new issue
Block a user