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

Function githubLightInit

themes/github/src/index.ts:34–44  ·  view source on GitHub ↗
(options?: Partial<CreateThemeOptions>)

Source from the content-addressed store, hash-verified

32];
33
34export const githubLightInit = (options?: Partial<CreateThemeOptions>) => {
35 const { theme = 'light', settings = {}, styles = [] } = options || {};
36 return createTheme({
37 theme: theme,
38 settings: {
39 ...defaultSettingsGithubLight,
40 ...settings,
41 },
42 styles: [...githubLightStyle, ...styles],
43 });
44};
45
46export const githubLight = githubLightInit();
47

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…