MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / setFont

Function setFont

apps/web/src/export-window.tsx:88–91  ·  view source on GitHub ↗
(name: string, value: string | null, fallback: string)

Source from the content-addressed store, hash-verified

86 )
87
88 const setFont = (name: string, value: string | null, fallback: string): void => {
89 if (value) html.style.setProperty(name, `"${value}", ${fallback}`)
90 else html.style.removeProperty(name)
91 }
92 setFont(
93 '--z-interface-font',
94 prefs.interfaceFont,

Callers 1

applyExportPrefsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected