MCPcopy Create free account
hub / github.com/tinyplex/tinybase / cssVar

Function cssVar

src/common/inspector/style.ts:65–65  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

63const oklch = (lPercent: number, remainder = '% 0.01 ' + cssVar('hue')) =>
64 `oklch(${lPercent}${remainder})`;
65const cssVar = (name: string) => `var(--${name})`;
66const rem = (...rems: number[]) => `${rems.join('rem ')}rem`;
67const px = (...pxs: number[]) => `${pxs.join('px ')}px`;
68const vw = (vw: number = 100) => `${vw}vw`;

Callers 2

oklchFunction · 0.70
style.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…