Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

fix(webv2): give model type badges a solid background

joshistoaste7e65f153418
diff --git a/invokeai/frontend/webv2/src/features/models/ui/add-models/StarterList.tsx b/invokeai/frontend/webv2/src/features/models/ui/add-models/StarterList.tsx
index 630ea38b22..ecb73197ce 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/add-models/StarterList.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/add-models/StarterList.tsx
@@ -121,7 +121,7 @@ export const StarterList = ({
>
{getModelBaseLabel(model.base)}
</Badge>
- <Badge colorPalette="gray" flexShrink={0} fontSize="2xs" size="sm" variant="outline">
+ <Badge colorPalette="gray" flexShrink={0} fontSize="2xs" size="sm" variant="surface">
{getModelTypeLabel(model.type)}
</Badge>
</>
diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.tsx
index 3545dc1fb3..a48cf3c10f 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.tsx
@@ -12,7 +12,7 @@ export const ModelBaseBadge = ({ base }: { base: ModelConfig['base'] }) => (
);
export const ModelFormatBadge = ({ format }: { format: ModelConfig['format'] }) => (
- <Badge colorPalette="gray" flexShrink={0} fontSize="2xs" size="sm" variant="outline">
+ <Badge colorPalette="gray" flexShrink={0} fontSize="2xs" size="sm" variant="surface">
{getModelFormatLabel(format)}
</Badge>
);
diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/RelatedModelsSection.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/RelatedModelsSection.tsx
index 474103f0d1..96f2c72b6b 100644
--- a/invokeai/frontend/webv2/src/features/models/ui/detail/RelatedModelsSection.tsx
+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/RelatedModelsSection.tsx
@@ -161,7 +161,7 @@ const RelatedModelsForModel = ({ model, onError }: RelatedModelsSectionProps) =>
>
{getModelBaseLabel(relatedModel.base)}
</Badge>
- <Badge colorPalette="gray" flexShrink={0} fontSize="2xs" size="sm" variant="outline">
+ <Badge colorPalette="gray" flexShrink={0} fontSize="2xs" size="sm" variant="surface">
{getModelTypeLabel(relatedModel.type)}
</Badge>
</>