refactor: v3 ui slots connection dots (#5316)

* refactor: v3 ui slots connection dots

* fix: use the new useTemplateRef

* fix: slot dark-theme border and hover styles

---------

Co-authored-by: Christian Byrne <cbyrne@comfy.org>
This commit is contained in:
Rizumu Ayaka
2025-09-05 02:48:48 +08:00
committed by GitHub
parent 1dbbf20124
commit 32cffa6a83
8 changed files with 118 additions and 61 deletions

View File

@@ -1,6 +1,8 @@
import clsx, { type ClassArray } from 'clsx'
import { twMerge } from 'tailwind-merge'
export type { ClassValue, ClassArray, ClassDictionary } from 'clsx'
export function cn(...inputs: ClassArray) {
return twMerge(clsx(inputs))
}