MCPcopy
hub / github.com/tone-row/flowchart-fun / getThemeEditor

Function getThemeEditor

app/src/lib/toTheme.ts:233–235  ·  view source on GitHub ↗
(doc: Doc)

Source from the content-addressed store, hash-verified

231}
232
233export function getThemeEditor(doc: Doc) {
234 return (doc.meta?.themeEditor as FFTheme) || defaultTheme;
235}
236
237export function useThemeEditor() {
238 return useDoc(

Callers 3

getGraphUpdaterFunction · 0.90
getBackgroundFunction · 0.85
updateThemeEditorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected