Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
233
export
function
getThemeEditor(doc: Doc) {
234
return
(doc.meta?.themeEditor as FFTheme) || defaultTheme;
235
}
236
237
export
function
useThemeEditor() {
238
return
useDoc(
Callers
3
getGraphUpdater
Function · 0.90
getBackground
Function · 0.85
updateThemeEditor
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected