2026-02-15 21:22:05 -08:00
|
|
|
import { type ClassValue, clsx } from "clsx";
|
|
|
|
|
import { twMerge } from "tailwind-merge";
|
|
|
|
|
|
|
|
|
|
export function cn(...inputs: ClassValue[]) {
|
|
|
|
|
return twMerge(clsx(inputs));
|
|
|
|
|
}
|
2026-02-26 10:25:31 -08:00
|
|
|
|
|
|
|
|
export function getArchetypeDisplayChar(archetype: { icon?: string; name: string }): string {
|
|
|
|
|
return archetype.icon || archetype.name.charAt(0) || '?';
|
|
|
|
|
}
|