(theme: ActiveTheme)
| 21 | export type ActiveTheme = BasicTheme | AdvancedTheme | MarketplaceTheme; |
| 22 | |
| 23 | const activeThemeId = (theme: ActiveTheme): string => |
| 24 | theme.type === 'advanced' ? theme.path : theme.id; |
| 25 | |
| 26 | const persistActiveTheme = async (theme: ActiveTheme) => { |
| 27 | await setSetting('core.theme.active.type', theme.type); |
no outgoing calls
no test coverage detected