MCPcopy Create free account
hub / github.com/anomalyco/opencode / ids

Function ids

packages/ui/src/theme/context.tsx:220–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

218 }
219
220 const ids = () => {
221 const extra = Object.keys(store.themes)
222 .filter((id) => !knownThemes().has(id))
223 .sort()
224 const all = themeIDs()
225 if (extra.length === 0) return all
226 return [...all, ...extra]
227 }
228
229 const loadThemes = () => Promise.all(themeIDs().map(load)).then(() => store.themes)
230

Callers 1

TerminalPanelFunction · 0.85

Calls 2

knownThemesFunction · 0.85
themeIDsFunction · 0.85

Tested by

no test coverage detected