MCPcopy Create free account
hub / github.com/chieapp/chie / setBackgroundColor

Method setBackgroundColor

src/view/appearance-aware.ts:26–29  ·  view source on GitHub ↗
(light: string, dark: string)

Source from the content-addressed store, hash-verified

24 }
25
26 setBackgroundColor(light: string, dark: string) {
27 this.view.setBackgroundColor(this.darkMode ? dark : light);
28 this.backgroundColor = {light, dark};
29 }
30}

Callers 6

constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
onColorSchemeChangeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected