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

Function githubDarkInit

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

Source from the content-addressed store, hash-verified

72];
73
74export const githubDarkInit = (options?: Partial<CreateThemeOptions>) => {
75 const { theme = 'dark', settings = {}, styles = [] } = options || {};
76 return createTheme({
77 theme: theme,
78 settings: {
79 ...defaultSettingsGithubDark,
80 ...settings,
81 },
82 styles: [...githubDarkStyle, ...styles],
83 });
84};
85
86export const githubDark = githubDarkInit();

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…