chore: scaffold phase 0 workspace

This commit is contained in:
2026-03-19 13:42:43 +08:00
parent a099912dac
commit 937855362b
24 changed files with 4908 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
export { cn } from "./lib/cn";
export { cva, cx, type VariantProps } from "./lib/cva";
export { motionDurations, motionEasings } from "./lib/motion";
+7
View File
@@ -0,0 +1,7 @@
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
+2
View File
@@ -0,0 +1,2 @@
export { cva, cx, type VariantProps } from "class-variance-authority";
+11
View File
@@ -0,0 +1,11 @@
export const motionDurations = {
fast: "var(--dur-fast)",
base: "var(--dur-base)",
slow: "var(--dur-slow)"
} as const;
export const motionEasings = {
standard: "var(--ease-standard)",
emphasized: "var(--ease-emphasized)"
} as const;