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
feat(theme): one compact dialog look from the recipe, per-dialog styling stripped
Josh Corbett80792f6d2793
diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardMenu.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardMenu.tsxindex b8a04700e6..0e340f8401 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardMenu.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardMenu.tsx@@ -181,8 +181,8 @@ export const GalleryBoardMenu = ({onKeyDown={handleRenameKeyDown}/></Dialog.Body>- <Dialog.Footer gap="2">- <Button size="xs" variant="outline" onClick={handleCancelRename}>+ <Dialog.Footer>+ <Button size="xs" variant="ghost" onClick={handleCancelRename}>{t('common.cancel')}</Button><Button disabled={renameValue.trim().length === 0} size="xs" onClick={submitRename}>@@ -217,8 +217,8 @@ export const GalleryBoardMenu = ({</Text></Stack></Dialog.Body>- <Dialog.Footer gap="2">- <Button size="xs" variant="outline" onClick={handleCancelDelete}>+ <Dialog.Footer>+ <Button size="xs" variant="ghost" onClick={handleCancelDelete}>{t('common.cancel')}</Button><Button colorPalette="red" size="xs" variant="outline" onClick={handleDeleteBoardOnly}>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCropDialog.tsx b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCropDialog.tsxindex ddd14b8f67..ba52f9ebdb 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCropDialog.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCropDialog.tsx@@ -19,7 +19,7 @@ import {isAccountScopeCurrent,type AccountScope,} from '@platform/state/accountLifecycle';-import { Button } from '@platform/ui';+import { Button, CloseButton } from '@platform/ui';import { useCallback, useMemo, useRef, useState } from 'react';import { useTranslation } from 'react-i18next';@@ -298,7 +298,7 @@ export const ReferenceImageCropDialog = ({}, [close, cropBox, gallery, image, notifications, onApply, onClose]);return (- <Dialog.Root lazyMount open={isOpen} placement="center" size="lg" unmountOnExit onOpenChange={handleOpenChange}>+ <Dialog.Root lazyMount open={isOpen} size="lg" unmountOnExit onOpenChange={handleOpenChange}><Portal><Dialog.Backdrop /><Dialog.Positioner>@@ -306,6 +306,9 @@ export const ReferenceImageCropDialog = ({<Dialog.Header><Dialog.Title>{t('widgets.generate.cropReferenceImage')}</Dialog.Title></Dialog.Header>+ <Dialog.CloseTrigger asChild>+ <CloseButton disabled={isApplying} />+ </Dialog.CloseTrigger><Dialog.Body><Stack gap="3"><Text color="fg.muted" fontSize="xs">@@ -396,7 +399,7 @@ export const ReferenceImageCropDialog = ({>{t('common.reset')}</Button>- <Button disabled={isApplying} size="xs" variant="outline" onClick={close}>+ <Button disabled={isApplying} size="xs" variant="ghost" onClick={close}>{t('common.cancel')}</Button><Button loading={isApplying} size="xs" onClick={applyCrop}>diff --git a/invokeai/frontend/webv2/src/features/identity/ui/ProfileDialog.tsx b/invokeai/frontend/webv2/src/features/identity/ui/ProfileDialog.tsxindex 367a8a44f2..04ce96b9ea 100644--- a/invokeai/frontend/webv2/src/features/identity/ui/ProfileDialog.tsx+++ b/invokeai/frontend/webv2/src/features/identity/ui/ProfileDialog.tsx@@ -1,4 +1,4 @@-import { Dialog, HStack, Input, Portal, Stack, Text } from '@chakra-ui/react';+import { Dialog, HStack, Input, Portal, Stack } from '@chakra-ui/react';import { createProfileSchema, PASSWORD_RULES_HINT, type ProfileFormValues } from '@features/identity/core/schemas';import {generatePassword,@@ -34,7 +34,6 @@ export const ProfileDialog = ({ isOpen, onClose, user }: { isOpen: boolean; onCl<Dialog.RootlazyMountopen={isOpen}- placement="center"scrollBehavior="inside"size="sm"unmountOnExit@@ -47,14 +46,12 @@ export const ProfileDialog = ({ isOpen, onClose, user }: { isOpen: boolean; onCl<Dialog.Header borderBottomWidth="1px" borderColor="border.subtle"><Stack gap="0.5"><Dialog.Title>{t('auth.account')}</Dialog.Title>- <Text color="fg.subtle" fontSize="xs">- {t('auth.signedInAs', { email: user.email })}- </Text>+ <Dialog.Description>{t('auth.signedInAs', { email: user.email })}</Dialog.Description></Stack></Dialog.Header><ProfileForm user={user} onClose={onClose} /><Dialog.CloseTrigger asChild>- <CloseButton color="fg.muted" size="sm" />+ <CloseButton /></Dialog.CloseTrigger></Dialog.Content></Dialog.Positioner>@@ -146,7 +143,7 @@ const ProfileForm = ({ onClose, user }: { onClose: () => void; user: UserDTO })return (<><Dialog.Body>- <Stack gap="5" py="2">+ <Stack gap="5">{form.formError ? <AuthFormAlert message={form.formError} tone="error" /> : null}<Field helpText={t('auth.profileDisplayNameHelp')} label={t('users.displayName')}><Input@@ -198,7 +195,7 @@ const ProfileForm = ({ onClose, user }: { onClose: () => void; user: UserDTO })</Stack></Stack></Dialog.Body>- <Dialog.Footer gap="2">+ <Dialog.Footer><Button size="xs" variant="ghost" onClick={onClose}>{t('common.cancel')}</Button>diff --git a/invokeai/frontend/webv2/src/features/identity/ui/UserFormDialog.tsx b/invokeai/frontend/webv2/src/features/identity/ui/UserFormDialog.tsxindex 3034c9a5f3..0e716f46e7 100644--- a/invokeai/frontend/webv2/src/features/identity/ui/UserFormDialog.tsx+++ b/invokeai/frontend/webv2/src/features/identity/ui/UserFormDialog.tsx@@ -52,7 +52,6 @@ export const UserFormDialog = ({<Dialog.RootlazyMountopen={target !== null}- placement="center"scrollBehavior="inside"size="sm"unmountOnExit@@ -67,18 +66,14 @@ export const UserFormDialog = ({<Dialog.Header borderBottomWidth="1px" borderColor="border.subtle"><Stack gap="0.5"><Dialog.Title>{target.mode === 'create' ? t('users.addUser') : t('users.editUser')}</Dialog.Title>- {target.mode === 'edit' ? (- <Text color="fg.subtle" fontSize="xs">- {target.user.email}- </Text>- ) : null}+ {target.mode === 'edit' ? <Dialog.Description>{target.user.email}</Dialog.Description> : null}</Stack></Dialog.Header><UserForm key={getTargetKey(target)} target={target} onClose={onClose} onSaved={onSaved} /></>) : null}<Dialog.CloseTrigger asChild>- <CloseButton color="fg.muted" size="sm" />+ <CloseButton /></Dialog.CloseTrigger></Dialog.Content></Dialog.Positioner>@@ -199,7 +194,7 @@ const UserForm = ({return (<><Dialog.Body>- <Stack gap="4" py="2">+ <Stack gap="4">{form.formError ? <AuthFormAlert message={form.formError} tone="error" /> : null}{isCreate ? (<Field error={form.errors.email} label={t('users.email')}>@@ -268,7 +263,7 @@ const UserForm = ({</Switch.Root></Stack></Dialog.Body>- <Dialog.Footer gap="2">+ <Dialog.Footer><Button size="xs" variant="ghost" onClick={onClose}>{t('common.cancel')}</Button>diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/UpdatePathDialog.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/UpdatePathDialog.tsxindex 35c5412109..3a21de7307 100644--- a/invokeai/frontend/webv2/src/features/models/ui/detail/UpdatePathDialog.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/UpdatePathDialog.tsx@@ -55,7 +55,6 @@ export const UpdatePathDialog = ({return (<Dialog.Rootopen- placement="center"size="md"onOpenChange={(event) => {if (!event.open) {@@ -70,13 +69,11 @@ export const UpdatePathDialog = ({<Dialog.Header borderBottomWidth="1px" borderColor="border.subtle"><Stack gap="0.5"><Dialog.Title>{t('models.updatePath')}</Dialog.Title>- <Text color="fg.subtle" fontSize="2xs">- {t('models.updatePathDescription')}- </Text>+ <Dialog.Description>{t('models.updatePathDescription')}</Dialog.Description></Stack></Dialog.Header><Dialog.Body>- <Stack gap="3" py="2">+ <Stack gap="3"><Field label={t('models.currentPath')}><Text color="fg.muted" fontSize="2xs" overflowWrap="anywhere">{model.path}@@ -96,7 +93,7 @@ export const UpdatePathDialog = ({</Field></Stack></Dialog.Body>- <Dialog.Footer gap="2">+ <Dialog.Footer><Button disabled={isBusy} size="xs" variant="ghost" onClick={onClose}>{t('common.cancel')}</Button>@@ -111,7 +108,7 @@ export const UpdatePathDialog = ({</Button></Dialog.Footer><Dialog.CloseTrigger asChild>- <CloseButton color="fg.muted" size="sm" />+ <CloseButton /></Dialog.CloseTrigger></Dialog.Content></Dialog.Positioner>diff --git a/invokeai/frontend/webv2/src/features/models/ui/library/OrphanedModelsDialog.tsx b/invokeai/frontend/webv2/src/features/models/ui/library/OrphanedModelsDialog.tsxindex 0bd018c2f0..6c723396fd 100644--- a/invokeai/frontend/webv2/src/features/models/ui/library/OrphanedModelsDialog.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/library/OrphanedModelsDialog.tsx@@ -112,7 +112,6 @@ export const OrphanedModelsDialog = ({ onClose }: { onClose: () => void }) => {return (<Dialog.Rootopen- placement="center"scrollBehavior="inside"size="md"onOpenChange={(event) => {@@ -128,9 +127,7 @@ export const OrphanedModelsDialog = ({ onClose }: { onClose: () => void }) => {<Dialog.Header borderBottomWidth="1px" borderColor="border.subtle"><Stack gap="0.5"><Dialog.Title>{t('models.orphanedTitle')}</Dialog.Title>- <Text color="fg.subtle" fontSize="2xs">- {t('models.orphanedDescription')}- </Text>+ <Dialog.Description>{t('models.orphanedDescription')}</Dialog.Description></Stack></Dialog.Header><Dialog.Body>@@ -147,7 +144,7 @@ export const OrphanedModelsDialog = ({ onClose }: { onClose: () => void }) => {{t('models.noOrphaned')}</Text>) : (- <Stack gap="1.5" py="2">+ <Stack gap="1.5"><Checkbox.Rootchecked={selectedPaths.size === 0 ? false : selectedPaths.size === orphans.length ? true : 'indeterminate'@@ -193,7 +190,7 @@ export const OrphanedModelsDialog = ({ onClose }: { onClose: () => void }) => {</Stack>)}</Dialog.Body>- <Dialog.Footer gap="2">+ <Dialog.Footer><Button disabled={isDeleting} size="xs" variant="ghost" onClick={onClose}>{t('common.close')}</Button>@@ -209,7 +206,7 @@ export const OrphanedModelsDialog = ({ onClose }: { onClose: () => void }) => {</Button></Dialog.Footer><Dialog.CloseTrigger asChild>- <CloseButton color="fg.muted" size="sm" />+ <CloseButton /></Dialog.CloseTrigger></Dialog.Content></Dialog.Positioner>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/editor/AddNodeDialog.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/editor/AddNodeDialog.tsxindex c1de2d6ed4..588cf45295 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/editor/AddNodeDialog.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/editor/AddNodeDialog.tsx@@ -229,7 +229,6 @@ export const AddNodeDialog = ({<Dialog.RootlazyMountopen={isOpen}- placement="center"scrollBehavior="inside"size="md"unmountOnExitdiff --git a/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewDialog.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewDialog.tsxindex 896c3ec1a6..ce5527ada2 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewDialog.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewDialog.tsx@@ -196,13 +196,7 @@ export const GraphPreviewDialog = ({}, [t, sourceLabel, source.isLive]);return (- <Dialog.Root- open={isOpen}- placement="center"- size="xl"- onExitComplete={onExitComplete}- onOpenChange={handleOpenChange}- >+ <Dialog.Root open={isOpen} size="xl" onExitComplete={onExitComplete} onOpenChange={handleOpenChange}><Portal><Dialog.Backdrop /><Dialog.Positioner>@@ -214,9 +208,7 @@ export const GraphPreviewDialog = ({<Dialog.Header alignItems="center" flexDirection="row" justifyContent="space-between"><Stack gap="0.5" minW="0"><Dialog.Title>{t('graphPreview.title')}</Dialog.Title>- <Text color="fg.muted" fontSize="xs">- {subtitle}- </Text>+ <Dialog.Description>{subtitle}</Dialog.Description></Stack><SegmentTabsactiveId={mode}@@ -314,7 +306,7 @@ export const GraphPreviewDialog = ({{t('graphPreview.invokeRoute', { route: dialogRoute.label })}</Button>) : null}- <Button size="xs" variant="outline" onClick={closeDialog}>+ <Button size="xs" variant="ghost" onClick={closeDialog}>{t('common.close')}</Button></Box>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsxindex 2c813d6227..03516e31df 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsx@@ -214,7 +214,7 @@ export const WorkflowLibraryDialog = ({return (<>- <Dialog.Root open={isOpen} placement="center" size="xl" onOpenChange={handleDialogOpenChange}>+ <Dialog.Root open={isOpen} size="xl" onOpenChange={handleDialogOpenChange}><Portal><Dialog.Backdrop /><Dialog.Positioner>@@ -271,12 +271,10 @@ export const WorkflowLibraryDialog = ({across both bands instead of reading as part of either. */}<Dialog.CloseTrigger asChild><CloseButton- color="fg.muted"disabled={isLoadPending}flexShrink={0}insetEnd="auto"position="static"- size="sm"top="auto"/></Dialog.CloseTrigger>diff --git a/invokeai/frontend/webv2/src/platform/ui/Button.tsx b/invokeai/frontend/webv2/src/platform/ui/Button.tsxindex be62b86c24..602c267afe 100644--- a/invokeai/frontend/webv2/src/platform/ui/Button.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/Button.tsx@@ -43,7 +43,8 @@ export const IconButton = ({ colorPalette, ...props }: IconButtonProps) => (<ChakraIconButton colorPalette={colorPalette ?? defaultPalette(props.variant)} {...props} />);-export const CloseButton = (props: CloseButtonProps) => <ChakraCloseButton {...props} />;+/** Chakra defaults close buttons to a full `md` control; dismissal chrome here is small and muted. */+export const CloseButton = (props: CloseButtonProps) => <ChakraCloseButton color="fg.muted" size="xs" {...props} />;export interface ToggleIconButtonProps extends Omit<IconButtonProps,diff --git a/invokeai/frontend/webv2/src/platform/ui/ConfirmDialog.tsx b/invokeai/frontend/webv2/src/platform/ui/ConfirmDialog.tsxindex efa0007cf0..895227ebd2 100644--- a/invokeai/frontend/webv2/src/platform/ui/ConfirmDialog.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/ConfirmDialog.tsx@@ -70,7 +70,6 @@ export const ConfirmDialog = ({closeOnEscape={!isPending}closeOnInteractOutside={!isPending}open={isOpen}- placement="center"role="alertdialog"size="sm"onOpenChange={handleOpenChange}@@ -78,14 +77,14 @@ export const ConfirmDialog = ({<Portal><Dialog.Backdrop /><Dialog.Positioner>- <Dialog.Content bg="bg.subtle" borderColor="border.subtle" borderWidth="1px" color="fg">+ <Dialog.Content><Dialog.Header><Dialog.Title>{title}</Dialog.Title></Dialog.Header><Dialog.Body><Stack gap="2">{typeof body === 'string' ? <Text fontSize="xs">{body}</Text> : body}</Stack></Dialog.Body>- <Dialog.Footer gap="2">+ <Dialog.Footer><Button disabled={isPending} size="xs" variant="ghost" onClick={handleClose}>Cancel</Button>@@ -101,7 +100,7 @@ export const ConfirmDialog = ({</Button></Dialog.Footer><Dialog.CloseTrigger asChild>- <CloseButton color="fg.muted" disabled={isPending} size="sm" />+ <CloseButton disabled={isPending} /></Dialog.CloseTrigger></Dialog.Content></Dialog.Positioner>diff --git a/invokeai/frontend/webv2/src/platform/ui/RenameDialog.tsx b/invokeai/frontend/webv2/src/platform/ui/RenameDialog.tsxindex bef425faeb..210f0b533c 100644--- a/invokeai/frontend/webv2/src/platform/ui/RenameDialog.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/RenameDialog.tsx@@ -74,11 +74,11 @@ export const RenameDialog = ({);return (- <Dialog.Root lazyMount open={isOpen} placement="center" size="xs" unmountOnExit onOpenChange={handleOpenChange}>+ <Dialog.Root lazyMount open={isOpen} size="xs" unmountOnExit onOpenChange={handleOpenChange}><Portal><Dialog.Backdrop /><Dialog.Positioner>- <Dialog.Content bg="bg.subtle" borderColor="border.subtle" borderWidth="1px" color="fg">+ <Dialog.Content><chakra.form onSubmit={handleSubmit}><Dialog.Header><Dialog.Title>{title}</Dialog.Title>@@ -90,7 +90,7 @@ export const RenameDialog = ({</Field></Stack></Dialog.Body>- <Dialog.Footer gap="2">+ <Dialog.Footer><Button disabled={isPending} size="xs" type="button" variant="ghost" onClick={onClose}>Cancel</Button>@@ -100,7 +100,7 @@ export const RenameDialog = ({</Dialog.Footer></chakra.form><Dialog.CloseTrigger asChild>- <CloseButton color="fg.muted" size="sm" />+ <CloseButton /></Dialog.CloseTrigger></Dialog.Content></Dialog.Positioner>diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts b/invokeai/frontend/webv2/src/platform/ui/theme/recipes.tsindex 9ac063a5b6..84e9a62676 100644--- a/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts+++ b/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts@@ -628,22 +628,61 @@ export const comboboxSlotRecipe = defineSlotRecipe({},});+/**+ * The one dialog look: compact tool windows on a single surface. Density and+ * chrome live here — a dialog file should carry structure, not styling.+ * Chakra's stock 24px gutters, `lg` title, and top placement all read as a+ * marketing modal rather than a desktop app's dialog.+ */export const dialogSlotRecipe = defineSlotRecipe({...chakraSlotRecipes.dialog,base: {...chakraSlotRecipes.dialog.base,content: {...chakraSlotRecipes.dialog.base?.content,+ bg: 'bg.subtle',borderColor: 'border.subtle',borderWidth: '1px',+ color: 'fg',+ },+ header: {+ ...chakraSlotRecipes.dialog.base?.header,+ px: '4',+ pt: '3',+ pb: '2',+ },+ body: {+ ...chakraSlotRecipes.dialog.base?.body,+ px: '4',+ pt: '1.5',+ pb: '4',+ },+ footer: {+ ...chakraSlotRecipes.dialog.base?.footer,+ gap: '2',+ px: '4',+ pt: '1',+ pb: '3',},- // Chakra's stock `lg` title reads as a page heading; dialogs here are- // compact tool windows, so titles match the app's `sm`/700 convention.title: {...chakraSlotRecipes.dialog.base?.title,fontWeight: '700',- textStyle: 'sm',+ textStyle: 'xs',+ },+ description: {+ ...chakraSlotRecipes.dialog.base?.description,+ color: 'fg.subtle',+ textStyle: 'xs',},+ closeTrigger: {+ ...chakraSlotRecipes.dialog.base?.closeTrigger,+ top: '1.5',+ insetEnd: '1.5',+ },+ },+ defaultVariants: {+ ...chakraSlotRecipes.dialog.defaultVariants,+ placement: 'center',},});diff --git a/invokeai/frontend/webv2/src/workbench/projects/components/OpenProjectDialog.tsx b/invokeai/frontend/webv2/src/workbench/projects/components/OpenProjectDialog.tsxindex 304f5080fe..064e3a2a12 100644--- a/invokeai/frontend/webv2/src/workbench/projects/components/OpenProjectDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/projects/components/OpenProjectDialog.tsx@@ -151,7 +151,7 @@ export const OpenProjectDialog = ({ isOpen, onClose }: { isOpen: boolean; onClosconst startImport = useCallback(() => void handleImport(), [handleImport]);return (- <Dialog.Root lazyMount open={isOpen} placement="center" size="sm" unmountOnExit onOpenChange={handleOpenChange}>+ <Dialog.Root lazyMount open={isOpen} size="sm" unmountOnExit onOpenChange={handleOpenChange}>{isOpen ? <ProjectLibraryRefresh /> : null}<Portal><Dialog.Backdrop />@@ -180,7 +180,7 @@ export const OpenProjectDialog = ({ isOpen, onClose }: { isOpen: boolean; onClos</Stack></Scrollable></Dialog.Body>- <Dialog.Footer gap="2" justifyContent="space-between">+ <Dialog.Footer justifyContent="space-between"><Button size="xs" variant="outline" onClick={startImport}><FileUpIcon />{t('projects.importWithEllipsis')}@@ -190,7 +190,7 @@ export const OpenProjectDialog = ({ isOpen, onClose }: { isOpen: boolean; onClos</Button></Dialog.Footer><Dialog.CloseTrigger asChild>- <CloseButton color="fg.muted" size="sm" />+ <CloseButton /></Dialog.CloseTrigger></Dialog.Content></Dialog.Positioner>diff --git a/invokeai/frontend/webv2/src/workbench/queue-integration/QueueItemActions.tsx b/invokeai/frontend/webv2/src/workbench/queue-integration/QueueItemActions.tsxindex 64bcc9b238..dee76e74f1 100644--- a/invokeai/frontend/webv2/src/workbench/queue-integration/QueueItemActions.tsx+++ b/invokeai/frontend/webv2/src/workbench/queue-integration/QueueItemActions.tsx@@ -125,11 +125,11 @@ export const QueueItemActions = ({ item }: { item: QueueItemReadModel }) => {</Button></RecallActionButtons>- <Dialog.Root open={jsonOpen} placement="center" scrollBehavior="inside" size="lg" onOpenChange={closeJson}>+ <Dialog.Root open={jsonOpen} scrollBehavior="inside" size="lg" onOpenChange={closeJson}><Portal><Dialog.Backdrop /><Dialog.Positioner>- <Dialog.Content bg="bg.subtle" borderColor="border.subtle" borderWidth="1px" color="fg">+ <Dialog.Content><Dialog.Header><Dialog.Title>{t('widgets.queue.itemTitle', { id: item.id })}</Dialog.Title></Dialog.Header>@@ -137,7 +137,7 @@ export const QueueItemActions = ({ item }: { item: QueueItemReadModel }) => {<JsonPreview label={t('widgets.queue.itemJsonLabel', { id: item.id })} maxH="60vh" value={item} /></Dialog.Body><Dialog.CloseTrigger asChild>- <CloseButton color="fg.muted" size="sm" />+ <CloseButton /></Dialog.CloseTrigger></Dialog.Content></Dialog.Positioner>diff --git a/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsx b/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsxindex 349c443d1c..2ea3315352 100644--- a/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsx@@ -111,7 +111,6 @@ export const SettingsDialog = ({ isOpen, onClose }: { isOpen: boolean; onClose:closeOnInteractOutside={false}lazyMountopen={isOpen}- placement="center"scrollBehavior="inside"size="xl"unmountOnExit@@ -161,7 +160,7 @@ const SettingsDialogContent = ({ onClose }: { onClose: () => void }) => {<SettingsTabs /></Dialog.Body><Dialog.CloseTrigger asChild>- <CloseButton size="sm" />+ <CloseButton /></Dialog.CloseTrigger></Dialog.Content></Dialog.Positioner>diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetDialog.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetDialog.tsxindex caf61de31f..c51fb4f9a1 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetDialog.tsx@@ -184,7 +184,7 @@ export const LayoutPresetDialog = ({<Dialog.Header><Dialog.Title>{title}</Dialog.Title><Dialog.CloseTrigger asChild>- <CloseButton size="sm" type="button" />+ <CloseButton type="button" /></Dialog.CloseTrigger></Dialog.Header><Dialog.Body>@@ -252,7 +252,7 @@ export const LayoutPresetDialog = ({</Stack></Dialog.Body><Dialog.Footer>- <Button size="xs" type="button" variant="outline" onClick={onClose}>+ <Button size="xs" type="button" variant="ghost" onClick={onClose}>{t('common.cancel')}</Button><Button disabled={!canSubmit} size="xs" type="submit">diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetManagerDialogBody.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetManagerDialogBody.tsxindex 6cb3782c28..ef23b5e149 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetManagerDialogBody.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetManagerDialogBody.tsx@@ -75,7 +75,7 @@ export const LayoutPresetManagerDialogBody = () => {<Dialog.Header><Dialog.Title>{t('topbar.presets.manage')}</Dialog.Title><Dialog.CloseTrigger asChild>- <CloseButton size="sm" />+ <CloseButton /></Dialog.CloseTrigger></Dialog.Header><Dialog.Body>@@ -99,7 +99,7 @@ export const LayoutPresetManagerDialogBody = () => {</DndContext></Dialog.Body><Dialog.Footer>- <Button size="xs" variant="outline" onClick={closeLayoutPresetManager}>+ <Button size="xs" variant="ghost" onClick={closeLayoutPresetManager}>{t('common.done')}</Button></Dialog.Footer>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/RunLayerWorkflowDialog.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/RunLayerWorkflowDialog.tsxindex 6c86c67015..8b07468e13 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/RunLayerWorkflowDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/RunLayerWorkflowDialog.tsx@@ -437,11 +437,11 @@ export const RunLayerWorkflowDialog = ({const canRun = engine !== null && !isRunning && readinessMessage === null;return (- <Dialog.Root lazyMount open={isOpen} placement="center" size="sm" unmountOnExit onOpenChange={handleOpenChange}>+ <Dialog.Root lazyMount open={isOpen} size="sm" unmountOnExit onOpenChange={handleOpenChange}><Portal><Dialog.Backdrop /><Dialog.Positioner>- <Dialog.Content ref={contentRef} bg="bg.subtle" borderColor="border.subtle" borderWidth="1px" color="fg">+ <Dialog.Content ref={contentRef}><chakra.form onSubmit={handleSubmit}><Dialog.Header><Dialog.Title>{t('widgets.layers.runWorkflow.title')}</Dialog.Title>@@ -498,7 +498,7 @@ export const RunLayerWorkflowDialog = ({) : null}</Stack></Dialog.Body>- <Dialog.Footer gap="2">+ <Dialog.Footer><Button size="xs" type="button" variant="ghost" onClick={close}>{t('widgets.layers.runWorkflow.cancel')}</Button>@@ -508,7 +508,7 @@ export const RunLayerWorkflowDialog = ({</Dialog.Footer></chakra.form><Dialog.CloseTrigger asChild>- <CloseButton aria-label={t('widgets.layers.runWorkflow.cancel')} color="fg.muted" size="sm" />+ <CloseButton aria-label={t('widgets.layers.runWorkflow.cancel')} /></Dialog.CloseTrigger></Dialog.Content></Dialog.Positioner>