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

Function setFont

apps/desktop/src/renderer/export-window.tsx:188–191  ·  view source on GitHub ↗
(name: string, value: string | null, fallback: string)

Source from the content-addressed store, hash-verified

186 )
187
188 const setFont = (name: string, value: string | null, fallback: string): void => {
189 if (value) html.style.setProperty(name, `"${value}", ${fallback}`)
190 else html.style.removeProperty(name)
191 }
192 setFont(
193 '--z-interface-font',
194 prefs.interfaceFont,

Callers 1

applyExportPrefsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected