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): make non-active tab hover visible on muted chrome

Josh Corbett12a109b9e6ec
diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts b/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts
index d614c1964e..5f40878165 100644
--- a/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts
+++ b/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts
@@ -132,8 +132,10 @@ export const tabsSlotRecipe = defineSlotRecipe({
...chakraSlotRecipes.tabs.variants?.variant?.subtle,
trigger: {
...chakraSlotRecipes.tabs.variants?.variant?.subtle?.trigger,
+ // `bg.muted` disappears against muted-family chrome (the topbar
+ // preset strip); one surface step up reads everywhere.
_hover: {
- '&:not([data-selected])': { bg: 'bg.muted' },
+ '&:not([data-selected])': { bg: 'bg.emphasized/60' },
},
},
},