(options?: Partial<CreateThemeOptions>)
| 30 | ]; |
| 31 | |
| 32 | export const eclipseInit = (options?: Partial<CreateThemeOptions>) => { |
| 33 | const { theme = 'light', settings = {}, styles = [] } = options || {}; |
| 34 | return createTheme({ |
| 35 | theme: theme, |
| 36 | settings: { |
| 37 | ...defaultSettingsEclipse, |
| 38 | ...settings, |
| 39 | }, |
| 40 | styles: [...eclipseLightStyle, ...styles], |
| 41 | }); |
| 42 | }; |
| 43 | |
| 44 | export const eclipse = eclipseInit(); |
no test coverage detected
searching dependent graphs…