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.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
fix(webv2): soften row hover and drop project list dividers
joshistoastdfbebe4173a6
diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts b/invokeai/frontend/webv2/src/platform/ui/theme/recipes.tsindex a71b42f5fd..97931f226c 100644--- a/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts+++ b/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts@@ -686,7 +686,9 @@ export const rowRecipe = defineRecipe({textAlign: 'start',transition: 'background var(--wb-motion-duration-fast) ease, color var(--wb-motion-duration-fast) ease',w: 'full',- _hover: { bg: 'bg.emphasized' },+ // A pointer hint, not a state: it stays under the `muted` (selected)+ // variant's own `bg.muted` so hovering never reads as selecting.+ _hover: { bg: 'bg.muted/60' },_focusVisible: {outline: '2px solid',outlineColor: 'accent.solid',diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsxindex 92870b2f16..0c80195f57 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsx@@ -260,9 +260,10 @@ const VirtualProjectsRow = ({</SimpleGrid>) : (row.projects.map((project) => (- // The wrapper owns the virtualizer's full row pitch and the hairline- // divider, so rows sit flush against each other.- <Box borderBottomWidth="1px" borderColor="border.subtle" h={`${PROJECT_ROW_HEIGHT_PX}px`} key={project.id}>+ // The wrapper owns the virtualizer's full row pitch. No divider: the+ // row's own rounded hover fill separates the items, and a hairline+ // running under a rounded fill only cuts across its corners.+ <Box h={`${PROJECT_ROW_HEIGHT_PX}px`} key={project.id}><ProjectRow isPinned={pinnedIds.includes(project.id)} summary={project} onTogglePin={onTogglePin} /></Box>))