diff options
| author | Somhairle H. Marisol <[email protected]> | 2026-09-18 15:49:44 +0800 |
|---|---|---|
| committer | Somhairle H. Marisol <[email protected]> | 2026-09-18 15:49:44 +0800 |
| commit | 375584174fb7191a57c5423fea45924ad6d812d5 (patch) | |
| tree | 76042d5d38b8aafc8bb7b30caa6f8e04fc3305c1 /frontend/src/lib/utils.ts | |
| parent | fc952a2876362bf834a60c35ef0f70b0278df197 (diff) | |
| download | strategy-lab-375584174fb7191a57c5423fea45924ad6d812d5.tar.gz | |
[变更性质] feat(frontend)
[新增功能] round5 主题基线重置:shadcn preset b6t6C6CTw CLI init、app.css 仅保留 tailwind + shadcn 主题变量层
[实现方案] 删除 round3 自定义 token/布局原语/legacy 别名;theme.ts 删除;mobileCss 守门测试重写
[影响范围] src/app.css、components.json、lib/utils.ts、lib/theme.ts、测试
Diffstat (limited to 'frontend/src/lib/utils.ts')
| -rw-r--r-- | frontend/src/lib/utils.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/frontend/src/lib/utils.ts b/frontend/src/lib/utils.ts index 8048253..97aaf12 100644 --- a/frontend/src/lib/utils.ts +++ b/frontend/src/lib/utils.ts @@ -1,9 +1,4 @@ -import { clsx, type ClassValue } from 'clsx'; -import { twMerge } from 'tailwind-merge'; - -export function cn(...inputs: ClassValue[]): string { - return twMerge(clsx(inputs)); -} +export { cn } from "cn"; // eslint-disable-next-line @typescript-eslint/no-explicit-any export type WithoutChild<T> = T extends { child?: any } ? Omit<T, "child"> : T; |
