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(theme): round the top corners of underline tab triggers

joshistoastbf37077ceef2
diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts b/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts
index 6a2b613422..d41c788da4 100644
--- a/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts
+++ b/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts
@@ -94,6 +94,9 @@ export const tabsSlotRecipe = defineSlotRecipe({
...chakraSlotRecipes.tabs.variants?.variant?.line,
trigger: {
...chakraSlotRecipes.tabs.variants?.variant?.line?.trigger,
+ // Rounded only at the top: the trigger's hover fill should read as
+ // rising from the underline, not as a floating pill.
+ roundedTop: 'sm',
_hover: {
'&:not([data-selected])': { bg: 'bg.muted/60', color: 'fg' },
},