feat: add Tailwind semantic design tokens

This commit is contained in:
donghyeon-ka
2026-07-25 21:09:07 +09:00
parent a023c3b645
commit 9a92c11792
11 changed files with 491 additions and 28 deletions
+14
View File
@@ -0,0 +1,14 @@
// @vitest-environment jsdom
import { render, screen } from "@testing-library/react";
import { describe, expect, it } from "vitest";
import { DesignTokenShowcase } from "../../src/sample/contract-fixture/design-token-showcase.jsx";
describe("design-token fixture", () => {
it("uses static semantic primitive classes", () => {
render(<DesignTokenShowcase />);
expect(screen.getByRole("region")).toHaveClass("ui-panel");
expect(screen.getByRole("button")).toHaveClass("ui-button");
});
});