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

Function eclipseInit

themes/eclipse/src/index.ts:32–42  ·  view source on GitHub ↗
(options?: Partial<CreateThemeOptions>)

Source from the content-addressed store, hash-verified

30];
31
32export const eclipseInit = (options?: Partial<CreateThemeOptions>) => {
33 const { theme = 'light', settings = {}, styles = [] } = options || {};
34 return createTheme({
35 theme: theme,
36 settings: {
37 ...defaultSettingsEclipse,
38 ...settings,
39 },
40 styles: [...eclipseLightStyle, ...styles],
41 });
42};
43
44export const eclipse = eclipseInit();

Callers 1

index.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…