MCPcopy Create free account
hub / github.com/PenguLoader/PenguLoader / setTheme

Function setTheme

plugins/src/preload/api/Effect.ts:125–130  ·  view source on GitHub ↗
(theme)

Source from the content-addressed store, hash-verified

123 },
124
125 setTheme(theme) {
126 if (theme === 'light')
127 native.SetWindowTheme(false)
128 else (theme === 'dark')
129 native.SetWindowTheme(true)
130 },
131
132}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected