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

Function loadThemes

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

Source from the content-addressed store, hash-verified

227 }
228
229 const loadThemes = () => Promise.all(themeIDs().map(load)).then(() => store.themes)
230
231 const onStorage = (e: StorageEvent) => {
232 if (e.key === STORAGE_KEYS.THEME_ID && e.newValue) {

Callers

nothing calls this directly

Calls 2

themeIDsFunction · 0.85
allMethod · 0.45

Tested by

no test coverage detected