(options?: Partial<CreateThemeOptions>)
| 32 | ]; |
| 33 | |
| 34 | export 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 | |
| 46 | export const githubLight = githubLightInit(); |
| 47 |
no test coverage detected
searching dependent graphs…