From 1a710a4c1249f636a5dfb1e490a6f7eae166728f Mon Sep 17 00:00:00 2001
From: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
Date: Sat, 6 Jan 2024 00:08:36 +1100
Subject: [PATCH] fix(ui): restore prev colors for workflow editor
Brand colors are now prefixed with "invoke".
---
.../InvAccordion/InvAccordionButton.tsx | 2 +-
.../components/InvButton/InvButton.stories.tsx | 2 +-
.../common/components/InvButton/InvButton.tsx | 4 ++--
.../src/common/components/InvHeading/theme.ts | 6 +++---
.../components/InvIconButton/InvIconButton.tsx | 4 ++--
.../components/IAICanvasStagingAreaToolbar.tsx | 10 +++++-----
.../features/embedding/EmbeddingPopover.tsx | 2 +-
.../gallery/components/Boards/AutoAddIcon.tsx | 2 +-
.../Boards/BoardsList/GalleryBoard.tsx | 2 +-
.../Boards/BoardsList/NoBoardBoard.tsx | 2 +-
.../AddModelsPanel/FoundModelsList.tsx | 6 +++---
.../flow/AddNodePopover/AddNodePopover.tsx | 2 +-
.../flow/panels/MinimapPanel/MinimapPanel.tsx | 2 +-
.../queue/components/PruneQueueButton.tsx | 2 +-
.../features/system/components/ProgressBar.tsx | 2 +-
.../components/WorkflowLibraryListItem.tsx | 2 +-
invokeai/frontend/web/src/theme/colors.ts | 18 +++++++++---------
invokeai/frontend/web/src/theme/types.ts | 12 ++++++------
18 files changed, 41 insertions(+), 41 deletions(-)
diff --git a/invokeai/frontend/web/src/common/components/InvAccordion/InvAccordionButton.tsx b/invokeai/frontend/web/src/common/components/InvAccordion/InvAccordionButton.tsx
index 4cb45a99f6..667a6de460 100644
--- a/invokeai/frontend/web/src/common/components/InvAccordion/InvAccordionButton.tsx
+++ b/invokeai/frontend/web/src/common/components/InvAccordion/InvAccordionButton.tsx
@@ -21,7 +21,7 @@ export const InvAccordionButton = (props: InvAccordionButtonProps) => {
{children}
{badges?.map((b, i) => (
-
+
{b}
))}
diff --git a/invokeai/frontend/web/src/common/components/InvButton/InvButton.stories.tsx b/invokeai/frontend/web/src/common/components/InvButton/InvButton.stories.tsx
index 80a31b5b25..c317c3b84d 100644
--- a/invokeai/frontend/web/src/common/components/InvButton/InvButton.stories.tsx
+++ b/invokeai/frontend/web/src/common/components/InvButton/InvButton.stories.tsx
@@ -28,7 +28,7 @@ const meta: Meta = {
export default meta;
type Story = StoryObj;
-const colorSchemes = ['base', 'invokeYellow', 'red', 'green', 'blue'] as const;
+const colorSchemes = ['base', 'invokeYellow', 'invokeRed', 'invokeGreen', 'invokeBlue'] as const;
const variants = ['solid', 'outline', 'ghost', 'link'] as const;
const sizes = ['xs', 'sm', 'md', 'lg'] as const;
diff --git a/invokeai/frontend/web/src/common/components/InvButton/InvButton.tsx b/invokeai/frontend/web/src/common/components/InvButton/InvButton.tsx
index ffd2bbca86..945e7258cf 100644
--- a/invokeai/frontend/web/src/common/components/InvButton/InvButton.tsx
+++ b/invokeai/frontend/web/src/common/components/InvButton/InvButton.tsx
@@ -12,7 +12,7 @@ export const InvButton = memo(