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

Function applyTheme

packages/ui/src/theme/context.tsx:215–218  ·  view source on GitHub ↗
(theme: DesktopTheme, themeId: string, mode: "light" | "dark")

Source from the content-addressed store, hash-verified

213 }
214
215 const applyTheme = (theme: DesktopTheme, themeId: string, mode: "light" | "dark") => {
216 applyThemeCss(theme, themeId, mode)
217 props.onThemeApplied?.(theme, mode)
218 }
219
220 const ids = () => {
221 const extra = Object.keys(store.themes)

Callers 1

context.tsxFile · 0.70

Calls 1

applyThemeCssFunction · 0.85

Tested by

no test coverage detected