Skip to content

Commit b86b4bd

Browse files
chore: fix cn
1 parent bc4b7f5 commit b86b4bd

File tree

1 file changed

+9
-1
lines changed
  • apps/sim/lib/core/utils

1 file changed

+9
-1
lines changed

apps/sim/lib/core/utils/cn.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
import { type ClassValue, clsx } from 'clsx'
2-
import { twMerge } from 'tailwind-merge'
2+
import { extendTailwindMerge } from 'tailwind-merge'
3+
4+
const twMerge = extendTailwindMerge({
5+
extend: {
6+
classGroups: {
7+
'font-size': [{ text: ['micro', 'caption', 'small', 'md'] }],
8+
},
9+
},
10+
})
311

412
/**
513
* Combines class names using clsx and tailwind-merge

0 commit comments

Comments
 (0)