( themeName: string, projectPath?: string | undefined | null | undefined, )
| 134 | } |
| 135 | |
| 136 | async function isKnownTheme( |
| 137 | themeName: string, |
| 138 | projectPath?: string | undefined | null | undefined, |
| 139 | ) { |
| 140 | const themeState = await loadPiThemeStateInHost(projectPath) |
| 141 | return themeState.themes.some((theme) => theme.name === themeName) |
| 142 | } |
| 143 | |
| 144 | async function updateThemeSetting( |
| 145 | settingsManager: PiSettingsManager, |
no test coverage detected