feat(skin): add audio skins for HTML and React presets (#772)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sam Potts
2026-03-09 12:12:49 +11:00
committed by GitHub
co-authored by Claude Opus 4.6
parent 038ad8b4f5
commit d751fdabea
125 changed files with 4174 additions and 2264 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
import { isPlainObject, isString } from '../predicate';
type ClassValue = string | Record<string, unknown> | undefined;
type ClassPrimitive = string | Record<string, unknown> | undefined;
type ClassValue = ClassPrimitive | readonly string[] | readonly ClassPrimitive[];
/**
* A (very basic) utility to merge class names and make them a little easier to read.
@@ -17,7 +18,7 @@ type ClassValue = string | Record<string, unknown> | undefined;
export function cn(...classes: ClassValue[]): string {
const result: string[] = [];
for (const value of classes) {
for (const value of classes.flat()) {
if (isString(value) && value) {
result.push(value);
} else if (isPlainObject(value)) {