- lib/utils.ts: shadcn/ui cn() utility (clsx + tailwind-merge) - config.py: accept comma-separated strings for CORS_ORIGINS and TRUSTED_HOSTS (e.g. "https://example.com,http://localhost:3000") Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
6 lines
169 B
TypeScript
6 lines
169 B
TypeScript
import { type ClassValue, clsx } from 'clsx';
|
|
import { twMerge } from 'tailwind-merge';
|
|
|
|
export function cn(...inputs: ClassValue[]) {
|
|
return twMerge(clsx(inputs));
|
|
}
|