Expose currently active color palette (#3304)

This commit is contained in:
Chenlei Hu
2025-04-01 14:04:57 -04:00
committed by GitHub
parent 594fc5945c
commit 7b7d9905a7

View File

@@ -181,6 +181,7 @@ export const useColorPaletteService = () => {
}
return {
getActiveColorPalette: () => colorPaletteStore.completedActivePalette,
addCustomColorPalette: wrapWithErrorHandling(addCustomColorPalette),
deleteCustomColorPalette: wrapWithErrorHandling(deleteCustomColorPalette),
loadColorPalette: wrapWithErrorHandlingAsync(loadColorPalette),