Skip to content

Function: clothVars() ​

ts
function clothVars(cloth): Record<`--kk-${string}`, string>;

Defined in: src/ui/cloth.ts:23

A cloth as the tray's CSS variables; nothing for a name that is not a cloth, so the tray keeps its own.

Parameters ​

cloth ​

string | null | undefined

Returns ​

Record<`--kk-${string}`, string>

MIT © John Morris