MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getSystemEditorTheme

Function getSystemEditorTheme

src/theme/preInstalled.js:235–241  ·  view source on GitHub ↗
(darkTheme)

Source from the content-addressed store, hash-verified

233const system = createBuiltInTheme("System", "dark", "free");
234
235export function getSystemEditorTheme(darkTheme) {
236 if (darkTheme) {
237 return "one_dark";
238 } else {
239 return "noctisLilac";
240 }
241}
242
243/**
244 * Update the system theme based on the user's preference.

Callers 3

initMethod · 0.90
preInstalled.jsFile · 0.85
updateSystemThemeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected