Typography fix

This commit is contained in:
adilallo
2026-08-15 21:21:17 -06:00
parent 2bc190e0c5
commit fad06d9e23
13 changed files with 64 additions and 65 deletions
+1 -2
View File
@@ -112,8 +112,7 @@ describe("FeatureGrid (behavioral tests)", () => {
expect(title.className).toMatch(/text-\[18px\]/);
expect(title.className).toMatch(/md:text-\[length:var\(--sizing-600,24px\)\]/);
const subtitle = screen.getByRole("heading", { name: "Test Subtitle" });
expect(subtitle.className).toMatch(/text-\[length:var\(--sizing-350,14px\)\]/);
expect(subtitle.className).toMatch(/md:text-\[length:var\(--sizing-400,16px\)\]/);
expect(subtitle).toHaveClass("text-small-paragraph", "md:text-medium-paragraph");
});
it("applies grain texture to feature grid icons", () => {
+2 -2
View File
@@ -70,13 +70,13 @@ describe("InputLabel behaviour specifics", () => {
it("applies size s styling", () => {
render(<InputLabel label="Test Label" size="s" />);
const label = screen.getByText("Test Label");
expect(label).toHaveClass("text-[length:var(--sizing-350,14px)]");
expect(label).toHaveClass("text-small-paragraph");
});
it("applies size m styling", () => {
render(<InputLabel label="Test Label" size="m" />);
const label = screen.getByText("Test Label");
expect(label).toHaveClass("text-[length:var(--sizing-400,16px)]");
expect(label).toHaveClass("text-medium-paragraph");
});
it("applies default palette styling", () => {