MCPcopy Index your code
hub / github.com/tinyplex/tinybase / px

Function px

src/common/inspector/style.ts:67–67  ·  view source on GitHub ↗
(...pxs: number[])

Source from the content-addressed store, hash-verified

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`;
69const vh = (vh: number = 100) => `${vh}vh`;
70

Callers 1

style.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected