MCPcopy Create free account
hub / github.com/uiwjs/react-codemirror / consoleLightInit

Function consoleLightInit

themes/console/src/light.ts:15–25  ·  view source on GitHub ↗
(options?: Partial<CreateThemeOptions>)

Source from the content-addressed store, hash-verified

13};
14
15export const consoleLightInit = (options?: Partial<CreateThemeOptions>) => {
16 const { theme = 'light', settings = {}, styles = [] } = options || {};
17 return createTheme({
18 theme: theme,
19 settings: {
20 ...defaultSettingsConsoleLight,
21 ...settings,
22 },
23 styles: [...styles],
24 });
25};
26
27export const consoleLight = consoleLightInit();

Callers 1

light.tsFile · 0.85

Calls 1

createThemeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…