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

Function xcodeDarkInit

themes/xcode/src/index.ts:63–73  ·  view source on GitHub ↗
(options?: Partial<CreateThemeOptions>)

Source from the content-addressed store, hash-verified

61];
62
63export const xcodeDarkInit = (options?: Partial<CreateThemeOptions>) => {
64 const { theme = 'dark', settings = {}, styles = [] } = options || {};
65 return createTheme({
66 theme: theme,
67 settings: {
68 ...defaultSettingsXcodeDark,
69 ...settings,
70 },
71 styles: [...xcodeDarkStyle, ...styles],
72 });
73};
74
75export const xcodeDark = xcodeDarkInit();

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…