MCPcopy
hub / github.com/CaliCastle/cali.so / setProperty

Function setProperty

app/(main)/Header.tsx:49–51  ·  view source on GitHub ↗
(property: string, value: string | null)

Source from the content-addressed store, hash-verified

47 const upDelay = 64
48
49 function setProperty(property: string, value: string | null) {
50 document.documentElement.style.setProperty(property, value)
51 }
52
53 function removeProperty(property: string) {
54 document.documentElement.style.removeProperty(property)

Callers 2

updateHeaderStylesFunction · 0.85
updateAvatarStylesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected