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

Function basicLightInit

themes/basic/src/light.ts:69–79  ·  view source on GitHub ↗
(options?: Partial<CreateThemeOptions>)

Source from the content-addressed store, hash-verified

67];
68
69export const basicLightInit = (options?: Partial<CreateThemeOptions>) => {
70 const { theme = 'light', settings = {}, styles = [] } = options || {};
71 return createTheme({
72 theme: theme,
73 settings: {
74 ...defaultSettingsBasicLight,
75 ...settings,
76 },
77 styles: [...basicLightStyle, ...styles],
78 });
79};
80
81export const basicLight = basicLightInit();

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…