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

Function themeIDs

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

Source from the content-addressed store, hash-verified

30}
31
32function themeIDs() {
33 if (ids) return ids
34 ids = Object.keys(getFiles())
35 .map((path) => path.slice("./themes/".length, -".json".length))
36 .sort()
37 return ids
38}
39
40function knownThemes() {
41 if (known) return known

Callers 3

knownThemesFunction · 0.85
idsFunction · 0.85
loadThemesFunction · 0.85

Calls 1

getFilesFunction · 0.70

Tested by

no test coverage detected