(options?: Partial<CreateThemeOptions>)
| 72 | ]; |
| 73 | |
| 74 | export 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 | |
| 86 | export const githubDark = githubDarkInit(); |
no test coverage detected
searching dependent graphs…