mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 03:01:54 +00:00
Expose currently active color palette (#3304)
This commit is contained in:
@@ -181,6 +181,7 @@ export const useColorPaletteService = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
getActiveColorPalette: () => colorPaletteStore.completedActivePalette,
|
||||||
addCustomColorPalette: wrapWithErrorHandling(addCustomColorPalette),
|
addCustomColorPalette: wrapWithErrorHandling(addCustomColorPalette),
|
||||||
deleteCustomColorPalette: wrapWithErrorHandling(deleteCustomColorPalette),
|
deleteCustomColorPalette: wrapWithErrorHandling(deleteCustomColorPalette),
|
||||||
loadColorPalette: wrapWithErrorHandlingAsync(loadColorPalette),
|
loadColorPalette: wrapWithErrorHandlingAsync(loadColorPalette),
|
||||||
|
|||||||
Reference in New Issue
Block a user