(theme: ActiveTheme)
| 24 | theme.type === 'advanced' ? theme.path : theme.id; |
| 25 | |
| 26 | const persistActiveTheme = async (theme: ActiveTheme) => { |
| 27 | await setSetting('core.theme.active.type', theme.type); |
| 28 | await setSetting('core.theme.active.id', activeThemeId(theme)); |
| 29 | }; |
| 30 | |
| 31 | type ThemeStoreState = { |
| 32 | advancedThemes: AdvancedThemeFile[]; |
no test coverage detected