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:
adilalloandCursor committed 2026-11-02 17:03:43 -07:00
1 parent 63d5d21ae0
commit e808fe70bf
162 files changed
+1385 -1377

No files matched your search

+6 -6
View File
@@ -75,7 +75,7 @@ describe("ContentContainer", () => {
"font-bricolage-grotesque",
"font-medium",
"text-xx-small-display",
"text-[var(--color-content-inverse-brand-royal)]",
"text-[var(--color-content-invert-brand-royal)]",
);
});
@@ -86,7 +86,7 @@ describe("ContentContainer", () => {
expect(description).toBeInTheDocument();
expect(description).toHaveClass(
"text-x-small-paragraph",
"text-[var(--color-content-inverse-brand-royal)]",
"text-[var(--color-content-invert-brand-royal)]",
);
});
@@ -132,7 +132,7 @@ describe("ContentContainer", () => {
// Check the content container (parent of icon)
expect(iconContainer.parentElement).toHaveClass(
"gap-[var(--measures-spacing-008)]",
"gap-[var(--space-200)]",
);
// Check the text container (parent of title) - it has responsive gap classes
expect(textContainer.parentElement).toHaveClass("flex", "flex-col");
@@ -146,7 +146,7 @@ describe("ContentContainer", () => {
"flex",
"min-w-0",
"items-end",
"gap-[var(--measures-spacing-008)]",
"gap-[var(--space-200)]",
);
});
@@ -156,13 +156,13 @@ describe("ContentContainer", () => {
const author = screen.getByText("Test Author");
expect(author).toHaveClass(
"text-xx-small-paragraph",
"text-[var(--color-content-inverse-brand-royal)]",
"text-[var(--color-content-invert-brand-royal)]",
);
const date = screen.getByText("April 2025");
expect(date).toHaveClass(
"text-xx-small-paragraph",
"text-[var(--color-content-inverse-brand-royal)]",
"text-[var(--color-content-invert-brand-royal)]",
);
});