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(ui): rename the size scales so md is the workbench's working size
Josh Corbettd109cd39e627
diff --git a/invokeai/frontend/webv2/performance/architecture-baseline.json b/invokeai/frontend/webv2/performance/architecture-baseline.jsonindex b429ad3867..bb44fb3116 100644--- a/invokeai/frontend/webv2/performance/architecture-baseline.json+++ b/invokeai/frontend/webv2/performance/architecture-baseline.json@@ -258,7 +258,9 @@"source:src/platform/ui/list/listLayout.ts","source:src/platform/ui/settings/contracts.ts","source:src/platform/ui/theme/applyTheme.ts",+ "source:src/platform/ui/theme/rebase.ts","source:src/platform/ui/theme/recipes.ts",+ "source:src/platform/ui/theme/scale.ts","source:src/platform/ui/theme/system.ts","source:src/platform/ui/theme/themes.ts","source:src/platform/ui/toaster.tsx",@@ -783,7 +785,9 @@"source:src/platform/ui/list/listLayout.ts","source:src/platform/ui/settings/contracts.ts","source:src/platform/ui/theme/applyTheme.ts",+ "source:src/platform/ui/theme/rebase.ts","source:src/platform/ui/theme/recipes.ts",+ "source:src/platform/ui/theme/scale.ts","source:src/platform/ui/theme/system.ts","source:src/platform/ui/theme/themes.ts","source:src/platform/ui/toaster.tsx",diff --git a/invokeai/frontend/webv2/src/features/fonts/launchpad.tsx b/invokeai/frontend/webv2/src/features/fonts/launchpad.tsxindex 0e53765bea..28452bc3a5 100644--- a/invokeai/frontend/webv2/src/features/fonts/launchpad.tsx+++ b/invokeai/frontend/webv2/src/features/fonts/launchpad.tsx@@ -6,7 +6,7 @@ const LazyFontsPage = lazy(() => import('./ui/FontsPage').then((module) => ({ deconst FALLBACK = (<Center h="full">- <Spinner color="fg.muted" size="sm" />+ <Spinner color="fg.muted" size="lg" /></Center>);diff --git a/invokeai/frontend/webv2/src/features/fonts/ui/FontsPage.tsx b/invokeai/frontend/webv2/src/features/fonts/ui/FontsPage.tsxindex b3fe12dcca..e0b700feab 100644--- a/invokeai/frontend/webv2/src/features/fonts/ui/FontsPage.tsx+++ b/invokeai/frontend/webv2/src/features/fonts/ui/FontsPage.tsx@@ -132,7 +132,7 @@ const FontPreview = ({ font, compact = false }: { font: FontRecord; compact?: booverflow="hidden"w="9">- <Text fontFamily={family} fontSize="xl" fontStyle={font.style} fontWeight={font.weight} lineHeight="1">+ <Text fontFamily={family} fontSize="3xl" fontStyle={font.style} fontWeight={font.weight} lineHeight="1">Aa</Text></Box>@@ -144,7 +144,7 @@ const FontPreview = ({ font, compact = false }: { font: FontRecord; compact?: bo<Textcss={PREVIEW_TEXT_SX}fontFamily={family}- fontSize="3xl"+ fontSize="5xl"fontStyle={font.style === 'italic' || font.style === 'oblique' ? font.style : 'normal'}fontWeight={font.weight}lineHeight="1.25"@@ -154,11 +154,11 @@ const FontPreview = ({ font, compact = false }: { font: FontRecord; compact?: bo</Text>{loadState === 'loading' ? (<HStack color="fg.muted" gap="1.5" mt="2">- <Spinner size="xs" />- <Text fontSize="2xs">{t('fonts.loadingPreview')}</Text>+ <Spinner size="md" />+ <Text fontSize="xs">{t('fonts.loadingPreview')}</Text></HStack>) : loadState === 'error' ? (- <Button size="2xs" variant="ghost" onClick={load}>+ <Button size="sm" variant="ghost" onClick={load}>{t('fonts.retryPreview')}</Button>) : null}@@ -184,10 +184,10 @@ const FontDetail = ({<Stack gap="4" p="3"><Flex align="flex-start" gap="2" justify="space-between" minW="0"><Stack gap="0.5" minW="0">- <Text as="h3" fontSize="lg" fontWeight="600" overflowWrap="anywhere">+ <Text as="h3" fontSize="2xl" fontWeight="600" overflowWrap="anywhere">{font.label || font.family}</Text>- <Text color="fg.muted" fontSize="2xs" overflowWrap="anywhere">+ <Text color="fg.muted" fontSize="xs" overflowWrap="anywhere">{font.filename} · {variantLabel}</Text></Stack>@@ -195,7 +195,7 @@ const FontDetail = ({<Buttonaria-label={t('fonts.deleteNamed', { name: font.label || font.family })}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={() => onDelete(font)}>@@ -204,45 +204,45 @@ const FontDetail = ({) : null}</Flex><HStack gap="1.5" wrap="wrap">- <Badge colorPalette={font.scope === 'shared' ? 'purple' : 'gray'} fontSize="2xs" variant="surface">+ <Badge colorPalette={font.scope === 'shared' ? 'purple' : 'gray'} fontSize="xs" variant="surface">{scopeLabel}</Badge>- <Badge fontSize="2xs" variant="surface">+ <Badge fontSize="xs" variant="surface">{sourceLabel}</Badge>{font.axes.length > 0 ? (- <Badge fontSize="2xs" variant="surface">+ <Badge fontSize="xs" variant="surface">{t('fonts.axisCount', { count: font.axes.length })}</Badge>) : null}</HStack><FontPreview key={`${font.id}:${font.contentHash}:${font.family}:${font.style}:${font.weight}`} font={font} /><HStack align="center" color="fg.muted" gap="2" minW="0" wrap="wrap">- <Text fontSize="2xs" overflowWrap="anywhere">+ <Text fontSize="xs" overflowWrap="anywhere">{font.instances.length > 0? t('fonts.namedInstances', { count: font.instances.length }): t('fonts.fileSize', { bytes: formatBytes(font.byteSize) })}</Text>{font.axes.length > 0 ? (- <Text fontSize="2xs" overflowWrap="anywhere">+ <Text fontSize="xs" overflowWrap="anywhere">{font.axes.map((axis) => axis.tag).join(', ')}</Text>) : null}</HStack>{font.axes.length > 0 ? (<Stack gap="2">- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{t('fonts.axesTitle')}</Text>{font.axes.map((axis) => (<HStack key={axis.tag} borderBottomWidth="1px" gap="3" justify="space-between" py="2" wrap="wrap">- <Text fontSize="xs">+ <Text fontSize="md">{axis.label}{' '}<Text as="span" color="fg.muted">{axis.tag}</Text></Text>- <Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums">+ <Text color="fg.muted" fontSize="md" fontVariantNumeric="tabular-nums">{axis.minimum} – {axis.maximum} · {t('fonts.axisDefault', { value: axis.default })}</Text></HStack>@@ -251,7 +251,7 @@ const FontDetail = ({) : null}{font.instances.length > 0 ? (<Stack gap="2">- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{t('fonts.instancesTitle')}</Text><HStack gap="1.5" wrap="wrap">@@ -279,14 +279,14 @@ const UploadStatusList = ({ items }: { items: readonly UploadItem[] }) => {{items.map((item) => (<HStack key={item.id} color={item.status === 'error' ? 'fg.error' : 'fg.muted'} gap="2">{item.status === 'uploading' ? (- <Spinner size="xs" />+ <Spinner size="md" />) : (<Icon as={item.status === 'error' ? CircleAlertIcon : FileTypeIcon} />)}- <Text fontSize="2xs" overflowWrap="anywhere">+ <Text fontSize="xs" overflowWrap="anywhere">{item.name}</Text>- <Text fontSize="2xs">+ <Text fontSize="xs">{item.status === 'queued' || item.status === 'uploading'? t('fonts.uploading'): item.status === 'created'@@ -504,7 +504,7 @@ const FontLibrary = () => {<Buttonaria-label={t('fonts.rescan')}disabled={isRescanning}- size="2xs"+ size="sm"variant="ghost"onClick={handleRescan}>@@ -521,7 +521,7 @@ const FontLibrary = () => {<Inputaria-label={t('fonts.searchLabel')}placeholder={t('fonts.searchPlaceholder')}- size="xs"+ size="md"value={search}onChange={(event) => {setSearch(event.currentTarget.value);@@ -534,7 +534,7 @@ const FontLibrary = () => {<IconButtonaria-label={t('fonts.filterMenu')}color={filter !== 'all' ? 'accent.solid' : 'fg.muted'}- size="xs"+ size="md"variant="outline"><Icon as={SlidersHorizontalIcon} boxSize="4" />@@ -550,13 +550,13 @@ const FontLibrary = () => {setOffset(0);}}>- <Menu.ItemGroupLabel color="fg" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg" fontSize="xs" textTransform="uppercase">{t('fonts.filterLabel')}</Menu.ItemGroupLabel>{filterOptions.map((option) => (<Menu.RadioItem key={option.value} value={option.value}><Menu.ItemIndicator />- <Menu.ItemText fontSize="xs">{option.label}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{option.label}</Menu.ItemText></Menu.RadioItem>))}</Menu.RadioItemGroup>@@ -577,7 +577,7 @@ const FontLibrary = () => {>{search.trim() ? (<Button- size="xs"+ size="md"variant="outline"onClick={() => {setSearch('');@@ -587,7 +587,7 @@ const FontLibrary = () => {{t('common.clearSearch')}</Button>) : (- <Button size="sm" onClick={() => setActiveTab('add')}>+ <Button size="lg" onClick={() => setActiveTab('add')}>{t('fonts.addFonts')}<Icon as={ArrowRightIcon} /></Button>@@ -601,7 +601,7 @@ const FontLibrary = () => {icon={ERROR_ICON}title={t('fonts.couldNotLoad')}>- <Button size="xs" variant="outline" onClick={handleRetry}>+ <Button size="md" variant="outline" onClick={handleRetry}>{t('common.retry')}</Button></EmptyState>@@ -616,7 +616,7 @@ const FontLibrary = () => {}title={font.label || font.family}trailing={- <Badge fontSize="2xs" variant="surface">+ <Badge fontSize="xs" variant="surface">{t(getScopeLabelKey(font.scope))}</Badge>}@@ -643,7 +643,7 @@ const FontLibrary = () => {<Tabs.RootasChildlazyMount- size="sm"+ size="xl"unmountOnExitvalue={activeTab}onValueChange={(event) => setActiveTab(event.value)}@@ -672,10 +672,10 @@ const FontLibrary = () => {) : (<Flex align="center" direction="column" gap="2" h="full" justify="center" p="6"><Icon as={FileTypeIcon} boxSize="8" color="fg.subtle" />- <Text color="fg.muted" fontSize="sm" fontWeight="600">+ <Text color="fg.muted" fontSize="lg" fontWeight="600">{t('fonts.selectFont')}</Text>- <Text color="fg.muted" fontSize="xs" maxW="22rem" textAlign="center">+ <Text color="fg.muted" fontSize="md" maxW="22rem" textAlign="center">{t('fonts.selectFontDescription')}</Text></Flex>@@ -685,13 +685,13 @@ const FontLibrary = () => {<Scrollable h="full" label={t('fonts.addFonts')} minH="0" p="3"><Stack align="start" gap="4" maxW="xl"><Stack gap="1">- <Text as="h3" fontSize="sm" fontWeight="600">+ <Text as="h3" fontSize="lg" fontWeight="600">{t('fonts.upload')}</Text>- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('fonts.description')}</Text>- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('fonts.uploadDescription')}</Text></Stack>@@ -704,7 +704,7 @@ const FontLibrary = () => {onChange={(value) => setUploadScope(value as FontScope)}/>) : null}- <Button size="xs" onClick={() => inputRef.current?.click()}>+ <Button size="md" onClick={() => inputRef.current?.click()}><UploadIcon />{effectiveUploadScope === 'shared' ? t('fonts.uploadShared') : t('fonts.upload')}</Button>diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/FindInGalleryButton.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/FindInGalleryButton.tsxindex d40634b756..e853107401 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/FindInGalleryButton.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/FindInGalleryButton.tsx@@ -24,7 +24,7 @@ export const FindInGalleryButton = ({ name, onFind, ...buttonProps }: FindInGallreturn (<Tooltip content={label}>- <IconButton aria-label={label} size="2xs" {...buttonProps} onClick={onFind}>+ <IconButton aria-label={label} size="sm" {...buttonProps} onClick={onFind}><CrosshairIcon /></IconButton></Tooltip>diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardFilters.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardFilters.tsxindex 67eaf0f65d..3069755dbc 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardFilters.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardFilters.tsx@@ -20,7 +20,7 @@ import { useTranslation } from 'react-i18next';import { useMenuTriggerIds } from './galleryMenuIds';import { useGalleryWidget } from './GalleryWidgetContext';-const SEARCH_START_ELEMENT = <Icon as={SearchIcon} size="xs" />;+const SEARCH_START_ELEMENT = <Icon as={SearchIcon} size="md" />;const SORT_MENU_POSITIONING = { placement: 'bottom-end' } as const;export const GalleryBoardFilters = ({@@ -93,7 +93,7 @@ export const GalleryBoardFilters = ({const clearSearchButton = useMemo(() =>searchTerm ? (- <CloseButton aria-label={t('common.clearSearch')} me="-2" size="2xs" onClick={handleClearSearch} />+ <CloseButton aria-label={t('common.clearSearch')} me="-2" size="sm" onClick={handleClearSearch} />) : null,[searchTerm, handleClearSearch, t]);@@ -105,7 +105,7 @@ export const GalleryBoardFilters = ({ref={ref}aria-label={t('widgets.gallery.searchOrCreateBoards')}placeholder={t('widgets.gallery.searchOrCreateBoards')}- size="xs"+ size="md"value={searchTerm}onChange={handleSearchChange}onKeyDown={handleSearchKeyDown}@@ -117,7 +117,7 @@ export const GalleryBoardFilters = ({<IconButtonaria-label={t('widgets.gallery.filterAndSortBoards')}color={isVisibilityFiltered ? 'fg' : 'fg.muted'}- size="xs"+ size="md"variant="ghost"><Icon as={SlidersHorizontalIcon} boxSize="3.5" />@@ -203,6 +203,6 @@ const BoardVisibilityItem = ({<Menu.Item aria-checked={isChecked} closeOnSelect={false} role="menuitemcheckbox" value={value} onClick={onSelect}><Icon as={CheckIcon} boxSize="3" opacity={isChecked ? 1 : 0} /><Icon as={icon} boxSize="3.5" color="fg.subtle" />- <Menu.ItemText fontSize="xs">{label}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{label}</Menu.ItemText></Menu.Item>);diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardMenu.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardMenu.tsxindex 751a43b955..9fe14edb58 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardMenu.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardMenu.tsx@@ -179,17 +179,17 @@ export const GalleryBoardMenu = ({<Inputaria-label={t('widgets.gallery.boardName')}autoFocus- size="sm"+ size="lg"value={renameValue}onChange={handleRenameValueChange}onKeyDown={handleRenameKeyDown}/></Dialog.Body><Dialog.Footer>- <Button size="xs" variant="ghost" onClick={handleCancelRename}>+ <Button size="md" variant="ghost" onClick={handleCancelRename}>{t('common.cancel')}</Button>- <Button disabled={renameValue.trim().length === 0} size="xs" onClick={submitRename}>+ <Button disabled={renameValue.trim().length === 0} size="md" onClick={submitRename}>{t('common.rename')}</Button></Dialog.Footer>@@ -209,10 +209,10 @@ export const GalleryBoardMenu = ({</Dialog.Header><Dialog.Body><Stack gap="2">- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{t('widgets.gallery.deleteBoardDescription')}</Text>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('widgets.gallery.boardItemCounts', {assets: t('widgets.gallery.assetCount', { count: deleteTarget?.assetCount ?? 0 }),images: t('widgets.gallery.imageCount', { count: deleteTarget?.imageCount ?? 0 }),@@ -222,13 +222,13 @@ export const GalleryBoardMenu = ({</Stack></Dialog.Body><Dialog.Footer>- <Button size="xs" variant="ghost" onClick={handleCancelDelete}>+ <Button size="md" variant="ghost" onClick={handleCancelDelete}>{t('common.cancel')}</Button>- <Button colorPalette="red" size="xs" variant="outline" onClick={handleDeleteBoardOnly}>+ <Button colorPalette="red" size="md" variant="outline" onClick={handleDeleteBoardOnly}>{t('widgets.gallery.deleteBoardOnly')}</Button>- <Button colorPalette="red" size="xs" onClick={handleDeleteBoardAndImages}>+ <Button colorPalette="red" size="md" onClick={handleDeleteBoardAndImages}>{t('widgets.gallery.deleteBoardAndMedia')}</Button></Dialog.Footer>@@ -361,7 +361,7 @@ const BoardMenuItem = ({<Menu.Item data-danger={isDanger ? '' : undefined} value={value} onClick={onClick}><HStack gap="2" minW="0" w="full"><Icon as={icon} boxSize="3.5" color={isDanger ? undefined : 'fg.subtle'} flexShrink={0} />- <Text flex="1" fontSize="xs">+ <Text flex="1" fontSize="md">{label}</Text></HStack>diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRow.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRow.tsxindex 14502fc16d..b0fbe1738f 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRow.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRow.tsx@@ -104,7 +104,7 @@ export const GalleryBoardRow = ({board.ownerName ? (<MiddleTruncatecolor={isSelected ? 'inherit' : 'fg.muted'}- fontSize="2xs"+ fontSize="xs"lineHeight="shorter"minW="0"text={board.ownerName}@@ -122,7 +122,7 @@ export const GalleryBoardRow = ({// Its menu anchors to this button, so it must not fade out beneath it.opacity={isMenuOpen ? 1 : 0}// 24px: the target-size floor, and short enough for the 28px row.- size="2xs"+ size="sm"transition="opacity var(--wb-motion-duration-medium) ease"variant="ghost"onClick={handleActionsClick}@@ -161,13 +161,13 @@ export const GalleryBoardRow = ({>{isAutoAddTarget ? (<Tooltip content={t('widgets.gallery.autoAddBadgeTooltip')}>- <Badge colorPalette={isSelected ? undefined : 'accent'} flexShrink={0} size="xs" variant="subtle">+ <Badge colorPalette={isSelected ? undefined : 'accent'} flexShrink={0} size="md" variant="subtle">{t('widgets.gallery.autoAddBadge')}</Badge></Tooltip>) : null}{board.projectId !== null ? (- <Badge colorPalette={isSelected ? undefined : 'accent'} flexShrink={0} size="xs" variant="subtle">+ <Badge colorPalette={isSelected ? undefined : 'accent'} flexShrink={0} size="md" variant="subtle">{t('common.project')}</Badge>) : null}@@ -176,7 +176,7 @@ export const GalleryBoardRow = ({aria-label={countsBreakdown}flexShrink={0}fontVariantNumeric="tabular-nums"- size="xs"+ size="md"variant="subtle">{mediaCount} | {counts.assetCount}diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRowShell.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRowShell.tsxindex 8294193a00..cf2a146e86 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRowShell.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRowShell.tsx@@ -79,7 +79,7 @@ export const GalleryBoardRowShell = ({{cover}<Stack align="stretch" flex="1" gap="0" minW="0" textAlign="start"><MiddleTruncate- fontSize="xs"+ fontSize="md"fontWeight={labelWeight ?? (isSelected ? '600' : '500')}minW="0"text={label}diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardSection.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardSection.tsxindex 45a47418ff..e2ae48ff1b 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardSection.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardSection.tsx@@ -50,7 +50,7 @@ export const GalleryBoardSection = ({</Collapsible.Indicator><Textas="span"- fontSize="2xs"+ fontSize="xs"fontWeight="600"letterSpacing="wide"lineHeight="1"diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardsPanel.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardsPanel.tsxindex 78b485da90..a18bffa03e 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardsPanel.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardsPanel.tsx@@ -126,7 +126,7 @@ export const GalleryBoardsPanel = () => {<IconButtonaria-label={t('widgets.gallery.createBoard')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={handleAddBoard}>@@ -145,7 +145,7 @@ export const GalleryBoardsPanel = () => {onSearchChange={setSearchTerm}onSubmitSearch={handleSubmitSearch}/>- <ScrollArea.Root flex="1" minH="0" size="xs" variant="hover" w="full">+ <ScrollArea.Root flex="1" minH="0" size="md" variant="hover" w="full"><ScrollArea.Viewport ref={boardsViewportRef} h="full" w="full"><ScrollArea.Content {...SCROLL_CONTENT_PROPS}><GalleryBoardSection@@ -221,7 +221,7 @@ export const GalleryBoardsPanel = () => {{!groups.hasAnyMatch && !groups.canCreateFromSearch ? (<HStack justify="center" py="3">- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('widgets.gallery.noBoardsMatchSearch')}</Text></HStack>diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.tsxindex 19ca418757..f910013fa3 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.tsx@@ -106,7 +106,7 @@ const GalleryStarredSectionHeader = ({<HStack gap="1" minW="0"><Textas="span"- fontSize="2xs"+ fontSize="xs"fontWeight="600"letterSpacing="wide"lineHeight="1"@@ -115,7 +115,7 @@ const GalleryStarredSectionHeader = ({>{t('widgets.gallery.starredItems')}</Text>- <Text as="span" color="currentColor" fontSize="2xs" fontVariantNumeric="tabular-nums" lineHeight="1">+ <Text as="span" color="currentColor" fontSize="xs" fontVariantNumeric="tabular-nums" lineHeight="1">{total}</Text></HStack>@@ -125,7 +125,7 @@ const GalleryStarredSectionHeader = ({aria-label={t('widgets.gallery.showAllStarredItems')}color="fg.muted"flexShrink={0}- size="2xs"+ size="sm"variant="ghost"onClick={onShowAll}>@@ -628,15 +628,15 @@ export const GalleryImageGrid = () => {>{gallery.anchoredWindowPage > 0 ? (<Flex align="center" bg="bg.panel" gap="2" justify="space-between" px="2" py="1">- <Text color="fg.muted" fontSize="2xs" truncate>+ <Text color="fg.muted" fontSize="xs" truncate>{t('widgets.gallery.windowAnchored', { index: anchoredWindowFirstItem })}</Text>- <Button flexShrink={0} size="2xs" variant="ghost" onClick={handleReturnToBoardTop}>+ <Button flexShrink={0} size="sm" variant="ghost" onClick={handleReturnToBoardTop}>{t('widgets.gallery.backToBoardTop')}</Button></Flex>) : null}- <ScrollArea.Root h="full" minH="0" size="xs" variant="hover" w="full">+ <ScrollArea.Root h="full" minH="0" size="md" variant="hover" w="full"><ScrollArea.Viewport ref={viewportRef} data-dnd-auto-scroll="false" h="full" outline="none" w="full"><ScrollArea.Content display="flex" flexDirection="column" minH="full">{pinnedHeight > 0 ? (@@ -670,7 +670,7 @@ export const GalleryImageGrid = () => {{isEmpty ? (gallery.isLoading || hasActiveSearch || isVirtualBoard || gallery.starredOnly ? (<Flex align="center" color="fg.muted" flex="1" justify="center" minH="8rem">- <Text fontSize="xs">+ <Text fontSize="md">{gallery.isLoading? t('widgets.gallery.loadingBackendGallery'): gallery.starredOnly && gallery.semanticImageQuery === null@@ -686,7 +686,7 @@ export const GalleryImageGrid = () => {alignItems="center"display="flex"flex="1"- fontSize="xs"+ fontSize="md"isOver={isDropActive}justifyContent="center"role="button"@@ -741,12 +741,12 @@ export const GalleryImageGrid = () => {</Box>{paginationMode === 'infinite' && gallery.isLoading && gallery.items.length > 0 && (<Flex align="center" justify="center" py="2">- <Spinner color="fg.subtle" size="xs" />+ <Spinner color="fg.subtle" size="md" /></Flex>)}{paginationMode === 'infinite' && !gallery.isLoading && isWindowTruncated && (<Flex align="center" justify="center" py="3">- <Text color="fg.subtle" fontSize="xs" textAlign="center">+ <Text color="fg.subtle" fontSize="md" textAlign="center">{gallery.anchoredWindowPage > 0? t('widgets.gallery.windowLimitFrom', {count: gallery.items.length,@@ -779,7 +779,7 @@ export const GalleryImageGrid = () => {zIndex="1"><UploadIcon size="20" />- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{t('widgets.gallery.dropMediaToUploadToBoard', { name: selectedBoardName })}</Text></DropZone>diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSearch.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSearch.tsxindex 50c2b97d48..685d4646b9 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSearch.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSearch.tsx@@ -281,7 +281,7 @@ export const GalleryItemSearch = () => {{isSemanticMode || gallery.searchTerm ? (<CloseButtonaria-label={isSemanticMode ? t('widgets.gallery.clearSemanticSearch') : t('common.clearSearch')}- size="2xs"+ size="sm"onClick={handleClearSearch}/>) : null}@@ -338,7 +338,7 @@ export const GalleryItemSearch = () => {{hint ? (<Textcolor={invalidHint ? 'fg.error' : 'fg.warning'}- fontSize="2xs"+ fontSize="xs"id={SEARCH_HINT_ID}insetInlineStart="0"// Out of flow and inert: it must never shift the header row, nor@@ -386,7 +386,7 @@ const GallerySemanticChip = ({? t('widgets.gallery.clearClusterSearch'): t('widgets.gallery.clearImageSearch')}- size="2xs"+ size="sm"onClick={onClear}/></HStack>@@ -407,7 +407,7 @@ const GallerySemanticChip = ({return (<InputShell endElement={endElement} startElement={kindIcon} title={getSemanticReferenceTitle(reference)}>- <Text color="fg.muted" flex="1" fontSize="xs" minW="0" truncate>+ <Text color="fg.muted" flex="1" fontSize="md" minW="0" truncate>{isText? t('widgets.gallery.semanticTextSearch', { name }): isClusterdiff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsxindex 05b5b62f69..3d4d5789d7 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsx@@ -34,9 +34,9 @@ export const GalleryItemSortMenu = () => {aria-label={t('widgets.gallery.imageSort')}color="fg.muted"flexShrink={0}- fontSize="xs"+ fontSize="md"gap="1"- size="xs"+ size="md"variant="ghost">{imageOrderDir === 'DESC' ? t('widgets.gallery.newest') : t('widgets.gallery.oldest')}diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryProgressSection.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryProgressSection.tsxindex 68ee00bfab..4cda8d7352 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryProgressSection.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryProgressSection.tsx@@ -89,10 +89,10 @@ export const GalleryProgressSection = ({><Icon as={ChevronRightIcon} boxSize="3" transform={progressSectionCollapsed ? undefined : 'rotate(90deg)'} /><Icon as={HourglassIcon} boxSize="3" />- <Text fontSize="2xs" fontWeight="600" letterSpacing="wide" lineHeight="1" textTransform="uppercase">+ <Text fontSize="xs" fontWeight="600" letterSpacing="wide" lineHeight="1" textTransform="uppercase">{t('widgets.gallery.inProgress')}</Text>- <Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums">+ <Text color="fg.muted" fontSize="md" fontVariantNumeric="tabular-nums">· {progressSessions.length}</Text></chakra.button>@@ -276,7 +276,7 @@ const GalleryProgressTile = ({display="flex">{session.state === 'running' ? (- <ProgressCircle.Root aria-label={status} size="xs" value={percentage}>+ <ProgressCircle.Root aria-label={status} size="md" value={percentage}><ProgressCircle.Circle><ProgressCircle.Track /><ProgressCircle.Range />diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GallerySearchField.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GallerySearchField.tsxindex 3d254a70a1..bbfffddc64 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GallerySearchField.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GallerySearchField.tsx@@ -131,7 +131,7 @@ export const GallerySearchField = ({alignItems="center"aria-hidden="true"display="flex"- fontSize="xs"+ fontSize="md"inset="0"pointerEvents="none"position="absolute"@@ -166,7 +166,7 @@ export const GallerySearchField = ({borderRadius="0"caretColor="fg"color="transparent"- fontSize="xs"+ fontSize="md"h="7"minW="0"px="0"diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GallerySearchHelp.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GallerySearchHelp.tsxindex 7f14932ef2..b5d0fdc7f1 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GallerySearchHelp.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GallerySearchHelp.tsx@@ -21,7 +21,7 @@ export const GallerySearchHelp = () => {return (<Popover.Root positioning={HELP_POSITIONING}><Popover.Trigger asChild>- <IconButton aria-label={t('widgets.gallery.searchHelpTitle')} color="fg.subtle" size="2xs" variant="ghost">+ <IconButton aria-label={t('widgets.gallery.searchHelpTitle')} color="fg.subtle" size="sm" variant="ghost"><Icon as={CircleHelpIcon} boxSize="3.5" /></IconButton></Popover.Trigger>@@ -29,19 +29,19 @@ export const GallerySearchHelp = () => {<Popover.Positioner><PopoverContent maxW="18rem" p="3"><Stack gap="2">- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{t('widgets.gallery.searchHelpTitle')}</Text>- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('widgets.gallery.searchHelpIntro')}</Text><Stack gap="1.5">{DATE_TOKEN_EXAMPLES.map(({ descriptionKey, key }) => (<HStack key={key} align="start" gap="2">- <Code flexShrink={0} fontSize="2xs" px="1">+ <Code flexShrink={0} fontSize="xs" px="1">{key}</Code>- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t(descriptionKey)}</Text></HStack>diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GallerySelectionBar.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GallerySelectionBar.tsxindex 42123250e5..3018d8adff 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GallerySelectionBar.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GallerySelectionBar.tsx@@ -77,11 +77,11 @@ export const GallerySelectionBar = () => {aria-label={t('widgets.gallery.selectionActions')}w="full">- <Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums" me="auto">+ <Text color="fg.muted" fontSize="md" fontVariantNumeric="tabular-nums" me="auto">{t('widgets.gallery.selectionCount', { count: selectionCount })}</Text><Tooltip content={starLabel}>- <IconButton aria-label={starLabel} size="2xs" variant="ghost" onClick={handleToggleStarred}>+ <IconButton aria-label={starLabel} size="sm" variant="ghost" onClick={handleToggleStarred}><Icon as={StarIcon} boxSize="3.5" fill={shouldStar ? 'none' : 'currentColor'} /></IconButton></Tooltip>@@ -91,7 +91,7 @@ export const GallerySelectionBar = () => {<IconButtonaria-label={t('widgets.gallery.moveSelectionToBoard')}disabled={moveTargets.length === 0}- size="2xs"+ size="sm"variant="ghost"><Icon as={FolderInputIcon} boxSize="3.5" />@@ -111,7 +111,7 @@ export const GallerySelectionBar = () => {<Tooltip content={t('widgets.gallery.downloadSelection')}><IconButtonaria-label={t('widgets.gallery.downloadSelection')}- size="2xs"+ size="sm"variant="ghost"onClick={handleDownload}>@@ -122,7 +122,7 @@ export const GallerySelectionBar = () => {<IconButtonaria-label={t('widgets.gallery.deleteSelection')}colorPalette="red"- size="2xs"+ size="sm"variant="ghost"onClick={handleDelete}>diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryStarredFilterToggle.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryStarredFilterToggle.tsxindex 8a8e2d8866..859be4f7ea 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryStarredFilterToggle.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryStarredFilterToggle.tsx@@ -31,7 +31,7 @@ export const GalleryStarredFilterToggle = () => {flexShrink={0}icon={StarIcon}label={t('widgets.gallery.starredOnly')}- size="xs"+ size="md"tooltip={t(isRanked ? 'widgets.gallery.starredOnlyUnavailable' : 'widgets.gallery.starredOnlyTooltip')}onCheckedChange={handleCheckedChange}/>diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryThumbnail.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryThumbnail.tsxindex 6404b4642a..468618e87a 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryThumbnail.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryThumbnail.tsx@@ -241,7 +241,7 @@ const GalleryThumbnail = ({opacity={0}pointerEvents="none"position="absolute"- size="xs"+ size="md"top="1"transition="opacity var(--wb-motion-duration-medium) ease"variant="solid"@@ -257,7 +257,7 @@ const GalleryThumbnail = ({insetInlineStart="1"pointerEvents="none"position="absolute"- size="xs"+ size="md"top="1"variant="solid"zIndex="1"@@ -276,7 +276,7 @@ const GalleryThumbnail = ({insetInlineEnd="1"opacity={item.starred ? 1 : 0}position="absolute"- size="2xs"+ size="sm"top="1"transition="opacity var(--wb-motion-duration-medium) ease"variant="solid"diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryTileFrame.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryTileFrame.tsxindex 0442197240..317f8a0166 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryTileFrame.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryTileFrame.tsx@@ -74,7 +74,7 @@ export const GalleryTileFrame = ({opacity={alwaysShowDimensions ? 1 : 0}pointerEvents="none"position="absolute"- size="xs"+ size="md"transition={BADGE_TRANSITION}variant="solid"zIndex="1"@@ -91,7 +91,7 @@ export const GalleryTileFrame = ({insetInlineStart="1"pointerEvents="none"position="absolute"- size="xs"+ size="md"variant="solid"zIndex="1">diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryUploadButton.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryUploadButton.tsxindex 8008c1541a..06fcc74485 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryUploadButton.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryUploadButton.tsx@@ -53,7 +53,7 @@ export const GalleryUploadButton = ({aria-label={label}color="fg.muted"disabled={!isAvailable}- size="xs"+ size="md"variant="ghost"onClick={openPicker}>diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetChrome.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetChrome.tsxindex c0bf91d452..3e24ca2a9f 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetChrome.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetChrome.tsx@@ -64,11 +64,11 @@ export const GalleryWidgetLabel = ({ region }: GalleryChromeProps) => {return (<HStack flex="1" gap="1" minW="0" pe={region === 'center' ? undefined : '2'}>{region === 'center' ? null : (- <Text flexShrink={0} fontSize="xs" fontWeight="700" pe="2">+ <Text flexShrink={0} fontSize="md" fontWeight="700" pe="2">{t('widgets.labels.gallery')}</Text>)}- <Text color="fg.subtle" flexShrink={0} fontSize="xs">+ <Text color="fg.subtle" flexShrink={0} fontSize="md">/</Text>{/* No tooltip: it renders over the button and steals its hover. */}@@ -80,7 +80,7 @@ export const GalleryWidgetLabel = ({ region }: GalleryChromeProps) => {minW="0"// The cover keeps the same 2px inset on every side of the 24px button.ps="0.5"- size="2xs"+ size="sm"variant="ghost"onClick={toggleBoards}>diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetFooter.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetFooter.tsxindex 4135591eb9..ceb4749ab1 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetFooter.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetFooter.tsx@@ -41,7 +41,7 @@ export const GalleryWidgetFooter = () => {siblingCount={1}onPageChange={handlePageChange}>- <ButtonGroup gap="1" size="2xs" variant="ghost">+ <ButtonGroup gap="1" size="sm" variant="ghost"><Pagination.PrevTrigger asChild><IconButton aria-label={t('common.previousPage')}><ChevronLeftIcon />diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/launchpad/RecentOutputs.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/launchpad/RecentOutputs.tsxindex 329a9cc757..745bc83a48 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/launchpad/RecentOutputs.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/launchpad/RecentOutputs.tsx@@ -45,7 +45,7 @@ export const RecentOutputs = () => {return (<Flex direction="column" gap="3">- <Text fontSize="xs" fontWeight="700">+ <Text fontSize="md" fontWeight="700">{t('launchpad.home.recentOutputs')}</Text><SimpleGrid columns={GRID_COLUMNS} gap="2">diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryMediaSlot.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryMediaSlot.tsxindex 4b69cf7135..354c5cedc7 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryMediaSlot.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryMediaSlot.tsx@@ -249,12 +249,12 @@ export const GalleryMediaSlot = ({const removeAction = value ? (isTile ? (<Tooltip content={labels.remove}>- <IconButton aria-label={labels.remove} disabled={isBusy} size="2xs" variant="solid" onClick={handleClear}>+ <IconButton aria-label={labels.remove} disabled={isBusy} size="sm" variant="solid" onClick={handleClear}><XIcon /></IconButton></Tooltip>) : (- <Button disabled={isBusy} size="xs" variant="ghost" onClick={handleClear}>+ <Button disabled={isBusy} size="md" variant="ghost" onClick={handleClear}><Icon as={XIcon} boxSize="3" />{labels.remove}</Button>@@ -267,7 +267,7 @@ export const GalleryMediaSlot = ({<IconButtonaria-label={t('widgets.gallery.picker.upload')}disabled={isBusy}- size="2xs"+ size="sm"variant="solid"onClick={openUploadPicker}>@@ -275,7 +275,7 @@ export const GalleryMediaSlot = ({</IconButton></Tooltip>) : (- <Button disabled={isBusy} size="xs" variant="ghost" onClick={openUploadPicker}>+ <Button disabled={isBusy} size="md" variant="ghost" onClick={openUploadPicker}><Icon as={UploadIcon} boxSize="3" />{t('widgets.gallery.picker.upload')}</Button>@@ -318,11 +318,11 @@ export const GalleryMediaSlot = ({) : (<Stack align="center" color="fg.muted" gap="1.5" h="full" justify="center" px="2" textAlign="center"><Icon as={ImagePlusIcon} boxSize="5" />- <Text color="fg" fontSize="xs" fontWeight="600">+ <Text color="fg" fontSize="md" fontWeight="600">{labels.choose}</Text>{emptyHint && !isBusy ? (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{emptyHint}</Text>) : null}@@ -330,7 +330,7 @@ export const GalleryMediaSlot = ({)}{isBusy ? (<Stack align="center" bg="bg.muted/85" inset="0" justify="center" position="absolute">- <Spinner size="sm" />+ <Spinner size="lg" /></Stack>) : null}</>@@ -340,31 +340,31 @@ export const GalleryMediaSlot = ({{valueThumbnail}</Box><Stack align="start" flex="1" gap="1" justify="center" minW="0">- <MiddleTruncate color="fg" fontSize="xs" fontWeight="semibold" text={value.name} />+ <MiddleTruncate color="fg" fontSize="md" fontWeight="semibold" text={value.name} />{value.width && value.height ? (- <Text color="fg.muted" fontSize="2xs" fontVariantNumeric="tabular-nums">+ <Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums">{value.width} × {value.height}</Text>) : null}<HStack color="fg.muted" gap="1">- {isBusy ? <Spinner size="xs" /> : <Icon as={RefreshCwIcon} boxSize="2.5" />}- <Text fontSize="2xs">{valueHint}</Text>+ {isBusy ? <Spinner size="md" /> : <Icon as={RefreshCwIcon} boxSize="2.5" />}+ <Text fontSize="xs">{valueHint}</Text></HStack></Stack></HStack>) : (<Stack align="center" color="fg.muted" gap="1.5" justify="center" minH="20" px="4">{isBusy ? (- <Spinner size="sm" />+ <Spinner size="lg" />) : (- <HStack color="fg" fontSize="xs" fontWeight="600" gap="1.5">+ <HStack color="fg" fontSize="md" fontWeight="600" gap="1.5"><Icon as={ImagePlusIcon} boxSize="4" />{labels.choose}<Icon as={ChevronDownIcon} boxSize="3" color="fg.subtle" /></HStack>)}{emptyHint || isInDragScope ? (- <Text color="fg.muted" fontSize="2xs" textAlign="center">+ <Text color="fg.muted" fontSize="xs" textAlign="center">{emptyHint ?? t('widgets.gallery.picker.dropHint')}</Text>) : null}@@ -416,7 +416,7 @@ export const GalleryMediaSlot = ({</HStack>) : null}{errorMessage ? (- <Text aria-live="polite" color="fg.error" fontSize="2xs" role="alert" textWrap="pretty">+ <Text aria-live="polite" color="fg.error" fontSize="xs" role="alert" textWrap="pretty">{errorMessage}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerBoards.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerBoards.tsxindex f94383a7f6..8cc9f36309 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerBoards.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerBoards.tsx@@ -38,7 +38,7 @@ const GalleryPickerBoardRow = memo(function GalleryPickerBoardRow({label={getGalleryBoardLabel(board, t)}onSelect={handleSelect}>- <Badge flexShrink={0} fontVariantNumeric="tabular-nums" size="xs" variant="subtle">+ <Badge flexShrink={0} fontVariantNumeric="tabular-nums" size="md" variant="subtle">{getGalleryCountForView(board, galleryView)}</Badge></GalleryBoardRowShell>@@ -97,7 +97,7 @@ export const GalleryPickerBoards = ({<Scrollable flex="1" label={label} minH="0" viewportProps={viewportProps}><Box px="1" py="1" onKeyDown={handleKeyDown}>{groups.length === 0 ? (- <Text color="fg.muted" fontSize="2xs" px="2" py="3" textAlign="center">+ <Text color="fg.muted" fontSize="xs" px="2" py="3" textAlign="center">{emptyMessage}</Text>) : (diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerView.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerView.tsxindex daa6c36dab..ac141362c9 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerView.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryPickerView.tsx@@ -317,7 +317,7 @@ export const GalleryPickerView = ({() => (<HStack flexShrink={0} gap="0">{scope.searchTerm ? (- <CloseButton aria-label={t('common.clearSearch')} size="2xs" onClick={handleClearSearch} />+ <CloseButton aria-label={t('common.clearSearch')} size="sm" onClick={handleClearSearch} />) : null}{scope.pane === 'items' ? <GallerySearchHelp /> : null}</HStack>@@ -357,7 +357,7 @@ export const GalleryPickerView = ({justifyContent="flex-start"minW="0"ps="1"- size="xs"+ size="md"variant="ghost"onClick={togglePane}>@@ -383,7 +383,7 @@ export const GalleryPickerView = ({aria-label={uploadTarget.label}color="fg.muted"disabled={!uploadTarget.isAvailable || isUploading}- size="xs"+ size="md"variant="ghost"onClick={openUploadPicker}>@@ -440,13 +440,13 @@ export const GalleryPickerView = ({) : (<Stack align="center" color="fg.muted" gap="2" justify="center" minH="7rem" px="4" py="6"><Icon as={ImageIcon} boxSize="4" color="fg.subtle" />- <Text fontSize="xs" textAlign="center" textWrap="pretty">+ <Text fontSize="md" textAlign="center" textWrap="pretty">{isSearching? t('widgets.gallery.noImagesMatch'): t('widgets.gallery.picker.empty', { name: boardName })}</Text>{!isSearching && uploadTarget.isAvailable ? (- <Button disabled={isUploading} size="xs" variant="outline" onClick={openUploadPicker}>+ <Button disabled={isUploading} size="md" variant="outline" onClick={openUploadPicker}><Icon as={UploadIcon} boxSize="3.5" />{t('widgets.gallery.picker.upload')}</Button>@@ -455,15 +455,15 @@ export const GalleryPickerView = ({)}</Stack><HStack borderColor="border.subtle" borderTopWidth="1px" gap="2" justify="space-between" pe="1" ps="2" py="1">- <Text color="fg.subtle" fontSize="2xs" fontVariantNumeric="tabular-nums" minW="0" role="status" truncate>+ <Text color="fg.subtle" fontSize="xs" fontVariantNumeric="tabular-nums" minW="0" role="status" truncate>{status}</Text>{isMultiple ? (- <Button flexShrink={0} size="2xs" variant="subtle" onClick={onClose}>+ <Button flexShrink={0} size="sm" variant="subtle" onClick={onClose}>{t('common.done')}</Button>) : revealInGallery ? (- <Button color="fg.muted" flexShrink={0} size="2xs" variant="ghost" onClick={openGallery}>+ <Button color="fg.muted" flexShrink={0} size="sm" variant="ghost" onClick={openGallery}>{t('widgets.gallery.picker.openGallery')}<Icon as={ExternalLinkIcon} boxSize="3" /></Button>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateAdvancedFields.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateAdvancedFields.tsxindex f2ef2cd190..15d801ee37 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateAdvancedFields.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateAdvancedFields.tsx@@ -107,7 +107,7 @@ export const GenerateAdvancedFields = ({const badges =overrideCount > 0 ? (- <Badge size="xs">{t('widgets.generate.overridesCount', { count: overrideCount })}</Badge>+ <Badge size="md">{t('widgets.generate.overridesCount', { count: overrideCount })}</Badge>) : null;return (@@ -130,7 +130,7 @@ export const GenerateAdvancedFields = ({<ModelSelectfilter={(model) => model.base === modelBase}modelTypes={['vae']}- size="xs"+ size="md"placeholder={t('widgets.generate.modelDefault')}value={settings.vae?.key ?? null}onChange={(model) => onCommitImmediate({ vae: isVaeModelConfig(model) ? model : null })}@@ -151,7 +151,7 @@ export const GenerateAdvancedFields = ({aria-label={t('widgets.generate.vaePrecision')}collection={VAE_PRECISION_COLLECTION}flex="1"- size="xs"+ size="md"value={[settings.vaePrecision]}onValueChange={({ value }) => {const vaePrecision = value[0];@@ -298,7 +298,7 @@ export const GenerateAdvancedFields = ({<Selectaria-label={t('widgets.generate.pid')}collection={pidModeCollection}- size="xs"+ size="md"value={[settings.pidMode]}onValueChange={({ value }) => {const mode = value[0];diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsxindex f4252f9c4e..f30cb15ed5 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateComponentsSection.tsx@@ -68,7 +68,7 @@ const ComponentPicker = ({isClearablemodelTypes={modelTypes}placeholder={slot.placeholder ?? 'Model default'}- size="xs"+ size="md"value={selectedValue}onChange={onChange}/>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateConceptsSection.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateConceptsSection.tsxindex 59dc81eba4..e2b36c57aa 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateConceptsSection.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateConceptsSection.tsx@@ -98,14 +98,14 @@ export const GenerateConceptsContent = ({placeholder={selectedModel ? t('widgets.generate.searchCompatibleConcepts') : t('widgets.generate.selectModelFirst')}- size="xs"+ size="md"value={null}onChange={addLora}/></Field>{loras.length === 0 ? (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('widgets.generate.addConceptsHelp')}</Text>) : (diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateConditioningRebalanceField.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateConditioningRebalanceField.tsxindex adf195fafe..e67e212cd4 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateConditioningRebalanceField.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateConditioningRebalanceField.tsx@@ -39,7 +39,7 @@ const SELECT_CONTENT_PROPS = { maxH: '16rem' } as const;const READOUT_PROPS = {color: 'fg.subtle',fontFamily: 'mono',- fontSize: '2xs',+ fontSize: 'xs',// Reserved so the header does not reflow as the readout appears and clears.minH: '4',whiteSpace: 'nowrap',@@ -195,7 +195,7 @@ export const GenerateConditioningRebalanceField = ({<Switch.Rootchecked={isEnabled}ids={{ hiddenInput: switchInputId, label: `${switchInputId}-label` }}- size="sm"+ size="md"onCheckedChange={({ checked }) => onCommitImmediate({ krea2RebalanceEnabled: checked })}><Switch.HiddenInput aria-label={t('widgets.generate.krea2Rebalance')} />@@ -216,7 +216,7 @@ export const GenerateConditioningRebalanceField = ({contentProps={SELECT_CONTENT_PROPS}flex="1"minW="0"- size="xs"+ size="md"value={activePresetId === null ? [] : [activePresetId]}valueText={activePreset?.label ?? t('widgets.generate.krea2RebalancePresetCustom')}onValueChange={({ value }) => handlePresetChange(value)}@@ -226,7 +226,7 @@ export const GenerateConditioningRebalanceField = ({aria-label={t('widgets.generate.krea2RebalanceReset')}color="fg.muted"disabled={isAtDefault}- size="2xs"+ size="sm"variant="ghost"onClick={handleReset}>@@ -238,7 +238,7 @@ export const GenerateConditioningRebalanceField = ({<IconButtonaria-label={t('widgets.generate.krea2RebalancePresetActions')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"><Icon as={MoreHorizontalIcon} boxSize="3" />@@ -295,7 +295,7 @@ export const GenerateConditioningRebalanceField = ({onCommit={handleBarsCommit}onPreview={setPreviewWeights}/>- <HStack color="fg.subtle" fontSize="2xs" justify="space-between">+ <HStack color="fg.subtle" fontSize="xs" justify="space-between"><Text as="span">{t('widgets.generate.krea2RebalanceAxisShallow')}</Text><Text as="span">{t('widgets.generate.krea2RebalanceAxisDeep')}</Text></HStack>@@ -330,7 +330,7 @@ export const GenerateConditioningRebalanceField = ({<Inputaria-label={t('widgets.generate.krea2RebalanceWeights')}fontFamily="mono"- size="xs"+ size="md"value={weightsDraft ??(previewWeights ? serializeRebalanceWeights(previewWeights) : settings.krea2RebalanceWeights)diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateDimensionFields.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateDimensionFields.tsxindex 25ade58029..81480b84f3 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateDimensionFields.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateDimensionFields.tsx@@ -403,11 +403,11 @@ export const GenerateDimensionFields = ({const badges = (<>- <Badge size="xs">+ <Badge size="md">{displayDimensions.width}x{displayDimensions.height}</Badge>{isRatioConstrained && (- <Badge size="xs">+ <Badge size="md"><Icon as={LockIcon} boxSize="3" /></Badge>)}@@ -461,7 +461,7 @@ export const GenerateDimensionFields = ({<svg aria-hidden="true" data-part="bracket" viewBox="0 0 28 64"><path d={LOCK_BRACKET_PATH} /></svg>- <AspectRatioLockButton isLocked={isRatioConstrained} size="2xs" onToggle={toggleLock} />+ <AspectRatioLockButton isLocked={isRatioConstrained} size="sm" onToggle={toggleLock} /></Box></HStack></GenerateFieldContextMenu>@@ -476,7 +476,7 @@ export const GenerateDimensionFields = ({<Tooltip content={t('widgets.generate.swapWidthAndHeight')}><IconButtonaria-label={t('widgets.generate.swapWidthAndHeight')}- size="2xs"+ size="sm"variant="outline"onClick={swapDimensions}>@@ -486,7 +486,7 @@ export const GenerateDimensionFields = ({</Box></HStack><HStack gap="2" justify="space-between" minH="5" mt="auto">- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('widgets.generate.megapixelsValue', { value: megapixels.toFixed(2) })}{isAtRecommendedSize ? ` · ${t('widgets.generate.sizeRecommended')}` : ''}{/* Grounded in this project's recent completed runs, never a guess. */}@@ -496,7 +496,7 @@ export const GenerateDimensionFields = ({</Text>{isAtRecommendedSize ? null : (<Tooltip content={t('widgets.generate.setOptimalSizeDescription')}>- <Button color="fg.muted" size="2xs" variant="ghost" onClick={optimizeSize}>+ <Button color="fg.muted" size="sm" variant="ghost" onClick={optimizeSize}>{t('widgets.generate.setOptimalSize')}</Button></Tooltip>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateGuidanceSection.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateGuidanceSection.tsxindex 22683bc1ab..0f4b4e74c4 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateGuidanceSection.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateGuidanceSection.tsx@@ -52,18 +52,18 @@ export const GenerateGuidanceSection = ({const badges = (<>{hasIncompatible ? (- <Badge colorPalette="orange" size="xs" variant="surface">+ <Badge colorPalette="orange" size="md" variant="surface">{t('widgets.generate.incompatible')}</Badge>) : null}{activeCount > 0 ? (- <Badge size="xs" variant="surface">+ <Badge size="md" variant="surface">{activeCount === totalCount? t('widgets.generate.activeCount', { count: activeCount }): t('widgets.generate.activeOfTotal', { active: activeCount, total: totalCount })}</Badge>) : totalCount > 0 ? (- <Badge size="xs" variant="surface">+ <Badge size="md" variant="surface">{t('widgets.generate.offCount', { count: totalCount })}</Badge>) : null}diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateHeaderActions.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateHeaderActions.tsxindex 98a2c8900a..7ef5b947a9 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateHeaderActions.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateHeaderActions.tsx@@ -73,7 +73,7 @@ export const GenerateHeaderActions = () => {aria-label={resetLabel}color="fg.muted"disabled={!hasSelectedModel || isAtModelDefaults}- size="2xs"+ size="sm"variant="ghost"onClick={resetToModelDefaults}>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateModelCard.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateModelCard.tsxindex a894ca69eb..ff650122e6 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateModelCard.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateModelCard.tsx@@ -81,7 +81,7 @@ export const GenerateModelCard = ({modelTypes={MAIN_MODEL_TYPES}placeholder={t('widgets.generate.selectModel')}value={selectedModel?.key ?? null}- size="xs"+ size="md"onChange={(model) => {if (isGenerateModelConfig(model) && isGenerateModelSelectable(model)) {selectModel(model);@@ -91,19 +91,19 @@ export const GenerateModelCard = ({</Field>{selectedModel ? null : isLoadingModels ? (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('widgets.generate.loadingModels')}</Text>) : loadError ? (- <Text color="fg.error" fontSize="2xs">+ <Text color="fg.error" fontSize="xs">{loadError}</Text>) : hasNoSupportedModels ? (<Stack gap="1.5">- <Text color="fg.error" fontSize="2xs">+ <Text color="fg.error" fontSize="xs">{t('widgets.generate.noSupportedModels')}</Text>- <Button alignSelf="flex-start" size="2xs" variant="outline" onClick={openManagerForMainModels}>+ <Button alignSelf="flex-start" size="sm" variant="outline" onClick={openManagerForMainModels}>{t('widgets.generate.openModelManager')}</Button></Stack>@@ -111,7 +111,7 @@ export const GenerateModelCard = ({<ConfirmDialogbody={- <Text fontSize="sm">+ <Text fontSize="lg">{t('widgets.generate.switchModelBody', {labels: new Intl.ListFormat(i18n.resolvedLanguage, { style: 'long', type: 'conjunction' }).format(pendingSwitchClearedLabelsdiff --git a/invokeai/frontend/webv2/src/features/generation/ui/GeneratePresetsPopover.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GeneratePresetsPopover.tsxindex d489c98152..7f264a8b75 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GeneratePresetsPopover.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GeneratePresetsPopover.tsx@@ -95,7 +95,7 @@ const PresetRow = ({><button type="button" onClick={handleApply}><Icon as={BookmarkIcon} boxSize="3.5" color="fg.subtle" flexShrink={0} />- <Text flex="1" fontSize="xs" fontWeight={isActive ? '600' : undefined} minW="0" textAlign="start" truncate>+ <Text flex="1" fontSize="md" fontWeight={isActive ? '600' : undefined} minW="0" textAlign="start" truncate>{preset.label}</Text>@@ -105,7 +105,7 @@ const PresetRow = ({<Tooltip content={t('common.rename')}><IconButtonaria-label={t('widgets.generate.renamePresetNamed', { name: preset.label })}- size="xs"+ size="md"variant="ghost"onClick={handleRename}>@@ -116,7 +116,7 @@ const PresetRow = ({<IconButtonaria-label={t('widgets.generate.deletePresetNamed', { name: preset.label })}colorPalette="red"- size="xs"+ size="md"variant="ghost"onClick={handleDelete}>@@ -273,13 +273,13 @@ export const GeneratePresetsPopover = () => {aria-label={triggerLabel}color="fg.muted"px={activePreset ? '1' : '0'}- size="2xs"+ size="sm"variant="ghost"w={activePreset ? 'auto' : '6'}><Icon as={BookmarkIcon} boxSize="3.5" />{activePreset ? (- <Text as="span" fontSize="2xs" maxW="8rem" truncate>+ <Text as="span" fontSize="xs" maxW="8rem" truncate>{activePreset.label}</Text>) : null}@@ -295,7 +295,7 @@ export const GeneratePresetsPopover = () => {<Buttondisabled={!canSave}h={PANEL_HEADER_CONTROL_HEIGHT}- size="2xs"+ size="sm"variant="ghost"onClick={openSaveDialog}>@@ -308,18 +308,18 @@ export const GeneratePresetsPopover = () => {<Inputaria-label={t('widgets.generate.searchPresets')}placeholder={t('widgets.generate.searchPresets')}- size="xs"+ size="md"value={searchTerm}onChange={handleSearchChange}/></InputGroup>) : null}{presets.length === 0 ? (- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{t('widgets.generate.presetsEmpty')}</Text>) : filteredPresets.length === 0 ? (- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{t('widgets.generate.presetsNoMatches')}</Text>) : (diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateRenderSection.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateRenderSection.tsxindex 26bcacc936..272afd8f37 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateRenderSection.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateRenderSection.tsx@@ -73,7 +73,7 @@ const Ideogram4SamplingFields = ({ onCommit, settings }: Pick<GenerateRenderSect<Selectaria-label={t('widgets.generate.ideogram4SamplerPreset')}collection={IDEOGRAM4_PRESET_COLLECTION}- size="xs"+ size="md"value={[settings.ideogram4SamplerPreset]}onValueChange={({ value }) => {const preset = value[0];@@ -144,7 +144,7 @@ const Ideogram4SamplingFields = ({ onCommit, settings }: Pick<GenerateRenderSect</Field><Field label={t('widgets.generate.ideogram4ColorPalette')} helpText={t('widgets.generate.ideogram4ColorHelp')}><Input- size="xs"+ size="md"value={settings.ideogram4ColorPalette.join(', ')}onChange={(event) =>onCommit({@@ -252,7 +252,7 @@ const SeedField = ({ onCommit, settings }: Pick<GenerateRenderSectionProps, 'onC>{seedHistory.length > 0 ? (<HStack gap="1" pt="0.5">- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('widgets.generate.recentSeeds')}</Text>{seedHistory.map((item) => (@@ -309,11 +309,11 @@ export const GenerateRenderSection = ({const badges = (<>- <Badge size="xs">+ <Badge size="md">{settings.steps} · {policy.ui.guidanceLabel} {settings.cfgScale}</Badge>{policy.ui.seedVisible ? (- <Badge size="xs">+ <Badge size="md">{settings.seedMode === 'random'? t('common.seedMode.random'): settings.seedMode === 'fixed'@@ -392,7 +392,7 @@ export const GenerateRenderSection = ({aria-label={t('widgets.generate.scheduler')}flex="1"options={policy.scheduler.options}- size="xs"+ size="md"value={settings.scheduler}onValueChange={(scheduler) => onCommit({ scheduler })}/>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerateWidgetView.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerateWidgetView.tsxindex 48bd05bec2..37d8490388 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerateWidgetView.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerateWidgetView.tsx@@ -99,11 +99,11 @@ export const GenerateWidgetView = () => {if (capabilitiesStatus === 'error' || isRetrying) {return (<Stack aria-busy={isRetrying} aria-live="polite" gap="2" justify="center" minH="8rem" p="1" role="alert">- <Text color="fg.error" fontSize="2xs" textWrap="pretty">+ <Text color="fg.error" fontSize="xs" textWrap="pretty">{t('widgets.generate.capabilitiesLoadFailed')}</Text>{capabilitiesError ? (- <Text color="fg.muted" fontSize="2xs" textWrap="pretty">+ <Text color="fg.muted" fontSize="xs" textWrap="pretty">{capabilitiesError}</Text>) : null}@@ -112,11 +112,11 @@ export const GenerateWidgetView = () => {alignSelf="flex-start"aria-busy={isRetrying}aria-disabled={isRetrying}- size="xs"+ size="md"variant="outline"onClick={retryCapabilities}>- {isRetrying ? <Spinner size="xs" /> : null}+ {isRetrying ? <Spinner size="md" /> : null}{t('widgets.generate.retry')}</Button></Stack>@@ -136,8 +136,8 @@ export const GenerateWidgetView = () => {p="1"role="status">- <Spinner size="xs" />- <Text fontSize="2xs">{t('widgets.generate.loadingCapabilities')}</Text>+ <Spinner size="md" />+ <Text fontSize="xs">{t('widgets.generate.loadingCapabilities')}</Text></HStack>);}diff --git a/invokeai/frontend/webv2/src/features/generation/ui/GenerationUiContext.tsx b/invokeai/frontend/webv2/src/features/generation/ui/GenerationUiContext.tsxindex 43f80b4293..888bffb947 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/GenerationUiContext.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/GenerationUiContext.tsx@@ -20,7 +20,7 @@ export interface GenerationModelSelectProps {placeholder?: string;scopeLabel?: string;showManagerButton?: boolean;- size?: 'xs' | 'sm' | 'md';+ size?: 'md' | 'lg' | 'xl';value: string | null;}diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/DynamicPromptsButton.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/DynamicPromptsButton.tsxindex b4305e0446..3ad81b90b6 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/DynamicPromptsButton.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/DynamicPromptsButton.tsx@@ -83,16 +83,16 @@ export const DynamicPromptsButton = ({color={expansion.isError ? 'fg.error' : undefined}opacity={expansion.isDynamic ? undefined : 0.5}px="1"- size="2xs"+ size="sm"variant="ghost"w="auto"><BracesIcon />- <Text as="span" fontSize="2xs">+ <Text as="span" fontSize="xs">{t('widgets.generate.dynamicButton')}</Text>{countLabel ? (- <Text as="span" css={TABULAR_NUMS} fontSize="2xs">+ <Text as="span" css={TABULAR_NUMS} fontSize="xs">{countLabel}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/DynamicPromptsPanel.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/DynamicPromptsPanel.tsxindex 3333dc5ffc..9a9a17d015 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/DynamicPromptsPanel.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/DynamicPromptsPanel.tsx@@ -103,7 +103,7 @@ export const DynamicPromptsPanel = ({color="fg.muted"css={TABULAR_NUMS}fontFamily="mono"- fontSize="2xs"+ fontSize="xs"fontWeight="500"h={PANEL_HEADER_CONTROL_HEIGHT}px="1.5"@@ -128,7 +128,7 @@ export const DynamicPromptsPanel = ({aria-labelledby={modeLabelledBy}justifyContent="space-between"minW="0"- size="xs"+ size="md"variant="outline"w="full">@@ -160,7 +160,7 @@ export const DynamicPromptsPanel = ({allowMouseWheelmax={DYNAMIC_PROMPTS_MAX_PROMPTS}min={DYNAMIC_PROMPTS_MIN_PROMPTS}- size="xs"+ size="md"value={String(config.maxPrompts)}onValueChange={handleMaxPromptsChange}>@@ -172,7 +172,7 @@ export const DynamicPromptsPanel = ({<Tooltip content={t('widgets.generate.dynamicPrompts.shuffle')}><IconButtonaria-label={t('widgets.generate.dynamicPrompts.shuffle')}- size="xs"+ size="md"variant="ghost"visibility={config.combinatorial ? 'hidden' : 'visible'}onClick={handleShuffle}@@ -186,29 +186,29 @@ export const DynamicPromptsPanel = ({checked={config.seedBehaviour === 'per-image'}disabled={config.isSeedFixed}ids={seedSwitchIds}- size="sm"+ size="md"onCheckedChange={handleSeedBehaviourChange}><Switch.HiddenInput aria-describedby={config.isSeedFixed ? seedHeldNoteId : undefined} /><Switch.Control _checked={SWITCH_CHECKED}><Switch.Thumb /></Switch.Control>- <Switch.Label color="fg.muted" fontSize="2xs">+ <Switch.Label color="fg.muted" fontSize="xs">{t('widgets.generate.dynamicPrompts.newSeedPerImage')}</Switch.Label></Switch.Root>{config.isSeedFixed ? (- <Text color="fg.subtle" fontSize="2xs" id={seedHeldNoteId} mt="-1">+ <Text color="fg.subtle" fontSize="xs" id={seedHeldNoteId} mt="-1">{t('widgets.generate.dynamicPrompts.seedHeldForEveryImage')}</Text>) : null}{expansion.isError ? (- <Text color="fg.error" fontSize="2xs">+ <Text color="fg.error" fontSize="xs">{t('widgets.generate.dynamicPrompts.problemGeneratingPrompts')}</Text>) : expansion.error ? (- <Text color="fg.error" fontSize="2xs" wordBreak="break-word">+ <Text color="fg.error" fontSize="xs" wordBreak="break-word">{expansion.error}</Text>) : null}@@ -227,7 +227,7 @@ export const DynamicPromptsPanel = ({/>))}{hiddenPromptCount > 0 ? (- <Text color="fg.subtle" fontSize="2xs" px="2" py="1.5">+ <Text color="fg.subtle" fontSize="xs" px="2" py="1.5">{t('widgets.generate.dynamicPrompts.andMore', { count: hiddenPromptCount })}</Text>) : null}@@ -265,14 +265,14 @@ const DynamicPromptRow = ({justifyContent="start"px="2"py="1.5"- textStyle="xs"+ textStyle="md"title={isDisabled ? undefined : t('widgets.generate.dynamicPrompts.usePrompt')}whiteSpace="nowrap"_disabled={DISABLED_PROMPT_ROW_PROPS}_hover={isDisabled ? NO_HOVER_PROPS : PROMPT_ROW_HOVER_PROPS}><button disabled={isDisabled} type="button" onClick={handleClick}>- <Text as="span" color="fg.subtle" css={TABULAR_NUMS} fontSize="2xs">+ <Text as="span" color="fg.subtle" css={TABULAR_NUMS} fontSize="xs">{index + 1}</Text><Text as="span" color="fg" fontFamily="mono" fontSize="0.72rem" textAlign="start" wordBreak="break-word">diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/GeneratePromptFields.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/GeneratePromptFields.tsxindex f8ed72b3ed..b818ad4c78 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/GeneratePromptFields.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/GeneratePromptFields.tsx@@ -195,7 +195,7 @@ export const GeneratePromptFields = ({{settings.promptTemplate ? (<HStack>- <Tag.Root size="sm" variant="surface">+ <Tag.Root size="md" variant="surface"><Tag.Label>{settings.promptTemplate.name}</Tag.Label><Tag.EndElement><Tag.CloseTriggerdiff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/LLMTaskProgressDisplay.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/LLMTaskProgressDisplay.tsxindex 518bd563ac..e6a0560f05 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/LLMTaskProgressDisplay.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/LLMTaskProgressDisplay.tsx@@ -21,12 +21,12 @@ export const LLMTaskProgressDisplay = ({ taskId }: { taskId: string | null }) =>return (<Stack gap="1.5" w="full">- <Progress.Root colorPalette="accent" max={1} size="xs" value={progress.percentage} w="full">+ <Progress.Root colorPalette="accent" max={1} size="md" value={progress.percentage} w="full"><Progress.Track aria-label={t('widgets.generate.llmTaskProgress')} rounded="full"><Progress.Range rounded="full" transition="width var(--wb-motion-duration-fast) ease" /></Progress.Track></Progress.Root>- <Text color="fg.muted" fontSize="2xs" fontVariantNumeric="tabular-nums">+ <Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums">{[phaseLabel, tokenLabel].filter(Boolean).join(' · ')}</Text></Stack>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/NegativePromptField.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/NegativePromptField.tsxindex cc305ff78f..a3b8997cec 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/NegativePromptField.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/NegativePromptField.tsx@@ -141,7 +141,7 @@ export const NegativePromptField = ({<IconButtonaria-label={t('widgets.generate.negativePromptHide')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={() => onEnabledChange(false)}>@@ -166,14 +166,14 @@ export const NegativePromptField = ({aria-label={t('widgets.generate.enableNegativePrompt')}color="fg.muted"justifyContent="flex-start"- size="2xs"+ size="sm"variant="ghost"onClick={() => onEnabledChange(true)}><PlusIcon />{t('widgets.generate.negativePromptAdd')}{value.trim() !== '' ? (- <Text as="span" color="fg.subtle" fontSize="2xs" fontWeight="normal" minW="0" truncate>+ <Text as="span" color="fg.subtle" fontSize="xs" fontWeight="normal" minW="0" truncate>{value}</Text>) : null}@@ -190,7 +190,7 @@ export const NegativePromptField = ({defaultHeightPx={heightPx}minHeightPx={56}resizeHandleAriaLabel={t('widgets.generate.resizeNegativePrompt')}- size="xs"+ size="md"fontFamily="mono"readOnly={isViewingMerged}showSyntaxHighlighting={showSyntaxHighlighting}diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptActions.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptActions.tsxindex a95d5eb55b..a094166012 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptActions.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptActions.tsx@@ -62,7 +62,7 @@ const OpenModelManagerButton = ({ modelType }: { modelType?: string }) => {);return (- <Button alignSelf="start" px="1.5" size="xs" variant="plain" onClick={handleClick}>+ <Button alignSelf="start" px="1.5" size="md" variant="plain" onClick={handleClick}>{t('widgets.generate.openModelManager')}</Button>);@@ -250,7 +250,7 @@ const TemplateViewModeButton = ({return (<Tooltip content={label}>- <IconButton aria-label={label} aria-pressed={isViewMode} size="2xs" variant="ghost" onClick={handleClick}>+ <IconButton aria-label={label} aria-pressed={isViewMode} size="sm" variant="ghost" onClick={handleClick}>{isViewMode ? <EyeOffIcon /> : <EyeIcon />}</IconButton></Tooltip>@@ -280,7 +280,7 @@ export const AddPromptTriggerButton = ({<IconButtonaria-expanded={isOpen}aria-label={t('widgets.generate.addPromptTrigger')}- size="2xs"+ size="sm"variant="ghost"onClick={handleClick}>@@ -347,7 +347,7 @@ export const PromptTriggerPopover = ({<Inputaria-label={t('widgets.generate.searchPromptTriggers')}placeholder={t('widgets.generate.searchPromptTriggers')}- size="xs"+ size="md"value={searchTerm}onChange={handleSearchChange}/>@@ -359,7 +359,7 @@ export const PromptTriggerPopover = ({<Stack gap="2">{groupedOptions.map((group) => (<Stack key={group.group} gap="0">- <Text color="fg.subtle" fontSize="2xs" fontWeight="700" px="2" textTransform="uppercase">+ <Text color="fg.subtle" fontSize="xs" fontWeight="700" px="2" textTransform="uppercase">{group.group}</Text>{group.options.map((option, index) => (@@ -389,10 +389,10 @@ const PromptTriggerEmptyState = () => {return (<Stack align="start" gap="2.5">- <Text color="fg.subtle" fontSize="2xs" fontWeight="700" textTransform="uppercase">+ <Text color="fg.subtle" fontSize="xs" fontWeight="700" textTransform="uppercase">{t('widgets.generate.addPromptTrigger')}</Text>- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{t('widgets.generate.noPromptTriggersAvailable')}</Text><OpenModelManagerButton />@@ -416,12 +416,12 @@ const PromptTriggerOptionButton = ({justifyContent="start"px="2"py="1.5"- size="xs"+ size="md"transitionDuration="faster"variant="ghost"onClick={handleClick}>- <Text color="fg" fontSize="xs" textAlign="start" wordBreak="break-word">+ <Text color="fg" fontSize="md" textAlign="start" wordBreak="break-word">{option.label}</Text></Button>@@ -565,7 +565,7 @@ const ExpandPromptButton = ({<IconButtonaria-label={t('widgets.generate.expandPrompt')}disabled={isDisabled || isLoading}- size="2xs"+ size="sm"variant="ghost"><PencilSparklesIcon />@@ -577,12 +577,12 @@ const ExpandPromptButton = ({<PopoverContent w="22rem"><Popover.Body p="2.5"><Stack gap="2.5">- <Text color="fg.subtle" fontSize="2xs" fontWeight="700" textTransform="uppercase">+ <Text color="fg.subtle" fontSize="xs" fontWeight="700" textTransform="uppercase">{t('widgets.generate.expandPrompt')}</Text>{textLlmModels.length === 0 ? (<>- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{t('widgets.generate.installTextLlmToExpandPrompts')}</Text><OpenModelManagerButton modelType="text_llm" />@@ -593,13 +593,13 @@ const ExpandPromptButton = ({isClearable={false}modelTypes={TEXT_LLM_MODEL_TYPES}placeholder={t('widgets.generate.selectTextLlm')}- size="xs"+ size="md"value={selectedModel?.key ?? null}onChange={handleModelChange}/>{suggestion?.modelSource && !suggestedModelKey ? (<>- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{t('widgets.generate.expandSuggestedModelMissing', {model: suggestion.modelName ?? suggestion.modelSource,})}@@ -622,7 +622,7 @@ const ExpandPromptButton = ({) : null}<LLMTaskProgressDisplay taskId={taskId} />{positivePrompt.trim() ? null : (- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{t('widgets.generate.enterPromptToExpand')}</Text>)}@@ -630,7 +630,7 @@ const ExpandPromptButton = ({// The request carries the system prompt's text, so it waits for the list.disabled={!selectedModel || !positivePrompt.trim() || systemPrompts.isLoading}loading={isLoading}- size="xs"+ size="md"onClick={handleRunExpandPrompt}>{t('widgets.generate.expand')}@@ -672,13 +672,13 @@ const ExpandPromptImageOption = ({src={galleryImageUrls.thumbnail(image.image_name)}/>{canReadImages ? (- <Checkbox.Root checked={isIncluded} size="sm" onCheckedChange={onIncludedChange}>+ <Checkbox.Root checked={isIncluded} size="md" onCheckedChange={onIncludedChange}><Checkbox.HiddenInput /><Checkbox.Control />- <Checkbox.Label fontSize="xs">{t('widgets.generate.expandFromFirstFrame')}</Checkbox.Label>+ <Checkbox.Label fontSize="md">{t('widgets.generate.expandFromFirstFrame')}</Checkbox.Label></Checkbox.Root>) : (- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{t('widgets.generate.expandFirstFrameUnreadable')}</Text>)}@@ -800,7 +800,7 @@ const ImageToPromptButton = ({<IconButtonaria-label={t('widgets.generate.imageToPrompt')}disabled={isDisabled || isLoading}- size="2xs"+ size="sm"variant="ghost"><ImageUpIcon />@@ -812,12 +812,12 @@ const ImageToPromptButton = ({<PopoverContent w="22rem"><Popover.Body p="2.5"><Stack gap="2.5">- <Text color="fg.subtle" fontSize="2xs" fontWeight="700" textTransform="uppercase">+ <Text color="fg.subtle" fontSize="xs" fontWeight="700" textTransform="uppercase">{t('widgets.generate.imageToPrompt')}</Text>{llavaModels.length === 0 ? (<>- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{t('widgets.generate.installVisionModelToGeneratePrompts')}</Text><OpenModelManagerButton modelType="llava_onevision" />@@ -828,7 +828,7 @@ const ImageToPromptButton = ({isClearable={false}modelTypes={LLAVA_MODEL_TYPES}placeholder={t('widgets.generate.selectVisionModel')}- size="xs"+ size="md"value={selectedModel?.key ?? null}onChange={handleModelChange}/>@@ -842,10 +842,10 @@ const ImageToPromptButton = ({rounded="md"src={image.thumbnailUrl || image.imageUrl}/>- <MiddleTruncate color="fg.subtle" fontSize="xs" text={image.imageName} />+ <MiddleTruncate color="fg.subtle" fontSize="md" text={image.imageName} /></HStack>) : (- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{t('widgets.generate.selectImageFirst')}</Text>)}@@ -853,7 +853,7 @@ const ImageToPromptButton = ({<Buttondisabled={!image || !selectedModel}loading={isLoading}- size="xs"+ size="md"onClick={handleRunImageToPrompt}>{t('widgets.generate.generatePrompt')}@@ -901,7 +901,7 @@ const PositivePromptHistoryButton = ({ onUsePrompt }: Pick<PositivePromptActions><Tooltip content={t('widgets.generate.promptHistory')} ids={popoverIds}><Popover.Trigger asChild>- <IconButton aria-label={t('widgets.generate.promptHistory')} size="2xs" variant="ghost">+ <IconButton aria-label={t('widgets.generate.promptHistory')} size="sm" variant="ghost"><HistoryIcon /></IconButton></Popover.Trigger>@@ -916,11 +916,11 @@ const PositivePromptHistoryButton = ({ onUsePrompt }: Pick<PositivePromptActionsaria-label={t('widgets.generate.searchPromptHistory')}disabled={promptHistory.length === 0}placeholder={t('widgets.generate.searchPromptHistory')}- size="xs"+ size="md"value={searchTerm}onChange={onChangeSearchTerm}/>- <Button disabled={promptHistory.length === 0} size="xs" variant="ghost" onClick={clearPromptHistory}>+ <Button disabled={promptHistory.length === 0} size="md" variant="ghost" onClick={clearPromptHistory}><Icon as={TrashIcon} boxSize="3" />{t('common.clear')}</Button>@@ -943,7 +943,7 @@ const PositivePromptHistoryButton = ({ onUsePrompt }: Pick<PositivePromptActions</Stack>)}</Scrollable>- <Text color="fg.subtle" fontSize="2xs" textAlign="center">+ <Text color="fg.subtle" fontSize="xs" textAlign="center">{t('widgets.generate.promptHistoryKeyboardHelp')}</Text></Stack>@@ -970,7 +970,7 @@ const PromptHistoryItemWithSeparator = ({const PromptHistoryEmptyText = ({ children }: { children: string }) => (<HStack h="full" justify="center" minH="9rem">- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{children}</Text></HStack>@@ -990,12 +990,12 @@ const PromptHistoryItemRow = ({return (<HStack align="start" gap="1.5" pr="1">- <IconButton aria-label={t('widgets.generate.usePrompt')} size="2xs" variant="ghost" onClick={handleUsePrompt}>+ <IconButton aria-label={t('widgets.generate.usePrompt')} size="sm" variant="ghost" onClick={handleUsePrompt}><Icon as={Undo2Icon} boxSize="3.5" /></IconButton><Stack flex="1" gap="0.5" minW="0">{prompt.positivePrompt ? (- <Text color="fg" fontSize="2xs" wordBreak="break-word">+ <Text color="fg" fontSize="xs" wordBreak="break-word"><Text as="span" color="fg.subtle" fontWeight="600">{t('common.prompt')}:</Text>{' '}@@ -1003,7 +1003,7 @@ const PromptHistoryItemRow = ({</Text>) : null}{prompt.negativePrompt ? (- <Text color="fg" fontSize="2xs" wordBreak="break-word">+ <Text color="fg" fontSize="xs" wordBreak="break-word"><Text as="span" color="fg.subtle" fontWeight="600">{t('common.negative')}:</Text>{' '}@@ -1015,7 +1015,7 @@ const PromptHistoryItemRow = ({<IconButtonaria-label={t('widgets.generate.deletePromptHistoryItem')}colorPalette="red"- size="2xs"+ size="sm"variant="ghost"onClick={handleDelete}>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptField.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptField.tsxindex 0df659fb59..366ed4fae1 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptField.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PositivePromptField.tsx@@ -269,7 +269,7 @@ export const PositivePromptField = ({defaultHeightPx={heightPx}minHeightPx={96}resizeHandleAriaLabel={t('widgets.generate.resizePositivePrompt')}- size="xs"+ size="md"fontFamily="mono"highlightDynamicPrompts={dynamicPrompts !== null}knownWildcards={knownWildcards}@@ -298,7 +298,7 @@ export const PositivePromptField = ({variant="overlay"zIndex="2">- <Text color="fg" fontSize="sm" fontWeight="700" textAlign="center">+ <Text color="fg" fontSize="lg" fontWeight="700" textAlign="center">{t('widgets.generate.dropImageToPrompt')}</Text></DropZone>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptPanelHeader.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptPanelHeader.tsxindex d37959c28e..e117b6fa51 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptPanelHeader.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptPanelHeader.tsx@@ -6,7 +6,7 @@ export const PANEL_HEADER_CONTROL_HEIGHT = '6';export const PromptPanelHeader = ({ children, label }: { label: string; children?: ReactNode }) => (<HStack justify="space-between" minH={PANEL_HEADER_CONTROL_HEIGHT}>- <Text color="fg.subtle" fontSize="2xs" fontWeight="700" textTransform="uppercase">+ <Text color="fg.subtle" fontSize="xs" fontWeight="700" textTransform="uppercase">{label}</Text>{children}diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplateEditor.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplateEditor.tsxindex a22929dae5..fbd15386ec 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplateEditor.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplateEditor.tsx@@ -273,7 +273,7 @@ export const PromptTemplateEditor = ({: t('widgets.generate.promptTemplates.insertPlaceholderHelp')}>- <Button disabled={isPlaceholderPresent} size="2xs" variant="ghost" onClick={insertPlaceholder}>+ <Button disabled={isPlaceholderPresent} size="sm" variant="ghost" onClick={insertPlaceholder}>{PROMPT_TEMPLATE_PLACEHOLDER}</Button></Tooltip>@@ -301,7 +301,7 @@ export const PromptTemplateEditor = ({aria-invalid={nameError !== null ? true : undefined}id={nameFieldId}placeholder={t('widgets.generate.promptTemplates.namePlaceholder')}- size="xs"+ size="md"value={draft.name}onChange={(event: ChangeEvent<HTMLInputElement>) => updateDraftField('name', event.currentTarget.value)}/>@@ -318,7 +318,7 @@ export const PromptTemplateEditor = ({placeholder={t('widgets.generate.promptTemplates.positivePromptPlaceholder')}resizeHandleAriaLabel={t('widgets.generate.promptTemplates.resizePositivePrompt')}showSyntaxHighlighting={showSyntaxHighlighting}- size="xs"+ size="md"value={draft.positivePrompt}onChange={(event: ChangeEvent<HTMLTextAreaElement>) =>updateDraftField('positivePrompt', event.currentTarget.value)@@ -336,7 +336,7 @@ export const PromptTemplateEditor = ({placeholder={t('widgets.generate.promptTemplates.negativePromptPlaceholder')}resizeHandleAriaLabel={t('widgets.generate.promptTemplates.resizeNegativePrompt')}showSyntaxHighlighting={showSyntaxHighlighting}- size="xs"+ size="md"value={draft.negativePrompt}onChange={(event: ChangeEvent<HTMLTextAreaElement>) =>updateDraftField('negativePrompt', event.currentTarget.value)@@ -357,17 +357,17 @@ export const PromptTemplateEditor = ({</Field>{error ? (- <Text color="fg.error" fontSize="2xs" wordBreak="break-word">+ <Text color="fg.error" fontSize="xs" wordBreak="break-word">{error}</Text>) : null}<HStack justify="end">- <Button disabled={isSaving} size="xs" variant="ghost" onClick={onCancel}>+ <Button disabled={isSaving} size="md" variant="ghost" onClick={onCancel}><XIcon />{t('common.cancel')}</Button>- <Button disabled={!trimmedName || nameError !== null} loading={isSaving} size="xs" onClick={handleSave}>+ <Button disabled={!trimmedName || nameError !== null} loading={isSaving} size="md" onClick={handleSave}><CheckIcon />{t('common.save')}</Button>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplatesButton.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplatesButton.tsxindex 5d3d14c63f..05345f0949 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplatesButton.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplatesButton.tsx@@ -106,7 +106,7 @@ export const PromptTemplatesButton = ({// Quiet states only: dimmed while nothing is applied. No accent, no motion.opacity={activeTemplate ? undefined : 0.5}px="1"- size="2xs"+ size="sm"variant="ghost"w="auto">@@ -114,13 +114,13 @@ export const PromptTemplatesButton = ({{activeTemplate ? (<MiddleTruncateas="span"- fontSize="2xs"+ fontSize="xs"maxW="6rem"opacity={isMissing ? 0.5 : undefined}text={activeTemplate.name}/>) : (- <Text as="span" fontSize="2xs">+ <Text as="span" fontSize="xs">{t('widgets.generate.templatesButton')}</Text>)}diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplatesPanel.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplatesPanel.tsxindex 4bba475414..bdf3a63463 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplatesPanel.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTemplatesPanel.tsx@@ -123,7 +123,7 @@ export const PromptTemplatesPanel = ({return (<Stack gap="2"><PromptPanelHeader label={t('widgets.generate.promptTemplates.title')}>- <Button h={PANEL_HEADER_CONTROL_HEIGHT} size="2xs" variant="ghost" onClick={onCreate}>+ <Button h={PANEL_HEADER_CONTROL_HEIGHT} size="sm" variant="ghost" onClick={onCreate}><PlusIcon />{t('widgets.generate.promptTemplates.newTemplate')}</Button>@@ -132,7 +132,7 @@ export const PromptTemplatesPanel = ({<Inputaria-label={t('widgets.generate.promptTemplates.search')}placeholder={t('widgets.generate.promptTemplates.search')}- size="xs"+ size="md"value={searchTerm}onChange={handleSearchChange}/>@@ -179,14 +179,14 @@ export const PromptTemplatesPanel = ({<HStack gap="1" justify="space-between">{canManagePromptTemplates ? <PromptTemplateTransferActions catalog={catalog} /> : <Box />}{activeTemplate ? (- <Button size="2xs" variant="ghost" onClick={clearActiveTemplate}>+ <Button size="sm" variant="ghost" onClick={clearActiveTemplate}>{t('widgets.generate.promptTemplates.clearApplied', { name: activeTemplate.name })}</Button>) : null}</HStack>{activeTemplate && isActiveTemplateMissing ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('widgets.generate.promptTemplates.appliedMissingHelp', { name: activeTemplate.name })}</Text>) : null}@@ -281,13 +281,13 @@ const PromptTemplateTransferActions = ({ catalog }: { catalog: PromptTemplateCatreturn (<HStack gap="0.5"><Tooltip content={t('widgets.generate.promptTemplates.importHelp')}>- <Button disabled={isBusy} size="2xs" variant="ghost" onClick={pickFile}>+ <Button disabled={isBusy} size="sm" variant="ghost" onClick={pickFile}><UploadIcon />{t('widgets.generate.promptTemplates.import')}</Button></Tooltip><Tooltip content={t('widgets.generate.promptTemplates.exportHelp')}>- <Button disabled={isBusy} size="2xs" variant="ghost" onClick={handleExport}>+ <Button disabled={isBusy} size="sm" variant="ghost" onClick={handleExport}><DownloadIcon />{t('widgets.generate.promptTemplates.export')}</Button>@@ -305,7 +305,7 @@ const PromptTemplateTransferActions = ({ catalog }: { catalog: PromptTemplateCatconst PanelMessage = ({ children }: { children: string }) => (<HStack h="full" justify="center" minH="8rem">- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{children}</Text></HStack>@@ -332,7 +332,7 @@ const TemplateGroup = ({return (<Stack gap="0">- <Text color="fg.subtle" fontSize="2xs" fontWeight="700" px="2" textTransform="uppercase">+ <Text color="fg.subtle" fontSize="xs" fontWeight="700" px="2" textTransform="uppercase">{label}</Text>{templates.map((template) => (@@ -385,10 +385,10 @@ const TemplateRow = ({<button type="button" onClick={handleApply}><TemplateThumbnail template={template} /><Stack align="start" flex="1" gap="0" minW="0">- <Text as="span" fontSize="xs" fontWeight={isActive ? '600' : '400'}>+ <Text as="span" fontSize="md" fontWeight={isActive ? '600' : '400'}>{template.name}</Text>- <Text as="span" color="fg.muted" fontFamily="mono" fontSize="2xs" truncate>+ <Text as="span" color="fg.muted" fontFamily="mono" fontSize="xs" truncate>{summary}</Text></Stack>@@ -400,7 +400,7 @@ const TemplateRow = ({<Tooltip content={t('common.edit')}><IconButtonaria-label={`${t('common.edit')}: ${template.name}`}- size="2xs"+ size="sm"variant="ghost"onClick={handleEdit}>@@ -413,7 +413,7 @@ const TemplateRow = ({<IconButtonaria-label={`${t('common.delete')}: ${template.name}`}colorPalette="red"- size="2xs"+ size="sm"variant="ghost"onClick={handleDelete}>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTriggerAutocomplete.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTriggerAutocomplete.tsxindex 1179475471..9a955a547c 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTriggerAutocomplete.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/PromptTriggerAutocomplete.tsx@@ -91,7 +91,7 @@ export const PromptTriggerAutocomplete = ({<Stack gap="1">{groups.map((group) => (<Stack gap="0" key={group.group}>- <Text color="fg.subtle" fontSize="2xs" fontWeight="700" px="2" textTransform="uppercase" truncate>+ <Text color="fg.subtle" fontSize="xs" fontWeight="700" px="2" textTransform="uppercase" truncate>{group.group}</Text>{group.options.map((option, position) => {@@ -143,7 +143,7 @@ const AutocompleteOption = ({aria-selected={isActive}bg={isActive ? 'bg.emphasized' : undefined}color="fg"- fontSize="xs"+ fontSize="md"id={id}px="2"py="1"diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/SystemPromptsField.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/SystemPromptsField.tsxindex 9a456d783f..5d61a86900 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/SystemPromptsField.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/SystemPromptsField.tsx@@ -61,13 +61,13 @@ const SystemPromptRow = ({return (<HStack justify="space-between" px="1" py="0.5">- <MiddleTruncate fontSize="xs" minW="0" text={prompt.name} />+ <MiddleTruncate fontSize="md" minW="0" text={prompt.name} /><HStack gap="0.5">{/* Copying remains available without edit rights over the source. */}<Tooltip content={t('widgets.generate.systemPrompts.duplicate')}><IconButtonaria-label={t('widgets.generate.systemPrompts.duplicate')}- size="2xs"+ size="sm"variant="ghost"onClick={handleDuplicate}>@@ -77,19 +77,19 @@ const SystemPromptRow = ({{canEdit ? (<><Tooltip content={t('common.edit')}>- <IconButton aria-label={t('common.edit')} size="2xs" variant="ghost" onClick={handleEdit}>+ <IconButton aria-label={t('common.edit')} size="sm" variant="ghost" onClick={handleEdit}><PencilIcon /></IconButton></Tooltip><Tooltip content={t('common.delete')}>- <IconButton aria-label={t('common.delete')} size="2xs" variant="ghost" onClick={handleDelete}>+ <IconButton aria-label={t('common.delete')} size="sm" variant="ghost" onClick={handleDelete}><TrashIcon /></IconButton></Tooltip></>) : (// Shared by someone else. Says why it has no edit controls without adding colour.- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('widgets.generate.systemPrompts.shared')}</Text>)}@@ -265,7 +265,7 @@ export const SystemPromptsField = ({ catalog, onSelect, selectedId }: SystemProm}/>{editorTarget.record?.isPublic ? (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('widgets.generate.systemPrompts.sharedEditWarning')}</Text>) : null}@@ -273,7 +273,7 @@ export const SystemPromptsField = ({ catalog, onSelect, selectedId }: SystemProm<Inputid={nameFieldId}placeholder={t('widgets.generate.systemPrompts.namePlaceholder')}- size="xs"+ size="md"value={draft.name}onChange={handleNameChange}/>@@ -282,7 +282,7 @@ export const SystemPromptsField = ({ catalog, onSelect, selectedId }: SystemPromaria-label={t('widgets.generate.systemPrompts.content')}minH="6rem"placeholder={t('widgets.generate.systemPrompts.contentPlaceholder')}- size="xs"+ size="md"value={draft.content}onChange={handleContentChange}/>@@ -297,24 +297,24 @@ export const SystemPromptsField = ({ catalog, onSelect, selectedId }: SystemProm// Use inputMode instead of number input so empty-means-default drafts survive.inputMode="numeric"placeholder={String(SYSTEM_PROMPT_MAX_TOKENS_DEFAULT)}- size="xs"+ size="md"value={draft.maxTokens}onChange={handleMaxTokensChange}/></Field>{error ? (- <Text color="fg.error" fontSize="xs">+ <Text color="fg.error" fontSize="md">{error}</Text>) : null}<HStack justify="flex-end">- <Button size="xs" variant="ghost" onClick={closeEditor}>+ <Button size="md" variant="ghost" onClick={closeEditor}>{t('common.cancel')}</Button><Buttondisabled={!draft.name.trim() || !draft.content.trim() || isMaxTokensInvalid}loading={isSaving}- size="xs"+ size="md"onClick={handleSave}>{t('common.save')}@@ -328,13 +328,13 @@ export const SystemPromptsField = ({ catalog, onSelect, selectedId }: SystemPromreturn (<Stack gap="2"><PromptPanelHeader label={t('widgets.generate.systemPrompts.title')}>- <Button h={PANEL_HEADER_CONTROL_HEIGHT} size="2xs" variant="ghost" onClick={startCreate}>+ <Button h={PANEL_HEADER_CONTROL_HEIGHT} size="sm" variant="ghost" onClick={startCreate}><PlusIcon />{t('widgets.generate.systemPrompts.new')}</Button></PromptPanelHeader>{prompts.length === 0 ? (- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{t('widgets.generate.systemPrompts.none')}</Text>) : (@@ -354,11 +354,11 @@ export const SystemPromptsField = ({ catalog, onSelect, selectedId }: SystemProm</Scrollable>)}{error ? (- <Text color="fg.error" fontSize="xs">+ <Text color="fg.error" fontSize="md">{error}</Text>) : null}- <Button size="xs" variant="ghost" onClick={toggleManaging}>+ <Button size="md" variant="ghost" onClick={toggleManaging}>{t('common.done')}</Button><ConfirmDialog@@ -382,7 +382,7 @@ export const SystemPromptsField = ({ catalog, onSelect, selectedId }: SystemPromdisabled={prompts.length === 0}flex="1"id={selectId}- size="xs"+ size="md"value={selectValue}valueText={selectedName ?? t('widgets.generate.systemPrompts.none')}onValueChange={handleSelectChange}@@ -390,7 +390,7 @@ export const SystemPromptsField = ({ catalog, onSelect, selectedId }: SystemProm<Tooltip content={t('widgets.generate.systemPrompts.manage')}><IconButtonaria-label={t('widgets.generate.systemPrompts.manage')}- size="2xs"+ size="sm"variant="ghost"onClick={toggleManaging}>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardImportDialog.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardImportDialog.tsxindex ee98f154ea..30f78372b4 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardImportDialog.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardImportDialog.tsx@@ -76,14 +76,14 @@ export const WildcardImportDialog = ({// oxlint-disable-next-line react-perf/jsx-no-jsx-as-propconst body = (<Stack gap="3">- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{t('widgets.generate.dynamicPrompts.importSummary', { conflicts: conflicts.length, fresh: freshCount })}</Text>{conflicts.length > 0 ? (<Stack gap="2"><HStack justify="space-between">- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{t('widgets.generate.dynamicPrompts.importAlreadyExist')}</Text>{/* One decision for a folder of forty; the rows below still win. */}@@ -107,7 +107,7 @@ export const WildcardImportDialog = ({{rejected.length > 0 ? (<Stack gap="1">- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{t('widgets.generate.dynamicPrompts.importCannotImport')}</Text>{/* Bound rejected-file lists so dialog actions remain reachable. */}@@ -117,10 +117,10 @@ export const WildcardImportDialog = ({<HStack justify="space-between" key={`${entry.name}-${index}`}><MiddleTruncatefontFamily="mono"- fontSize="2xs"+ fontSize="xs"text={entry.name || t('widgets.generate.dynamicPrompts.importUnnamed')}/>- <Text color="fg.subtle" fontSize="2xs" flexShrink="0">+ <Text color="fg.subtle" fontSize="xs" flexShrink="0">{t(REJECTION_KEY[entry.rejection])}</Text></HStack>@@ -163,7 +163,7 @@ const ResolutionControl = ({);return (- <SegmentGroup.Root size="xs" value={value ?? null} onValueChange={handleValueChange}>+ <SegmentGroup.Root size="md" value={value ?? null} onValueChange={handleValueChange}><SegmentGroup.Indicator />{RESOLUTIONS.map((resolution) => (<SegmentGroup.Item key={resolution} value={resolution}>@@ -192,8 +192,8 @@ const ConflictRow = ({return (<HStack gap="2" justify="space-between"><Stack gap="0" minW="0">- <MiddleTruncate fontFamily="mono" fontSize="2xs" text={`__${name}__`} />- <Text color="fg.subtle" fontSize="2xs">+ <MiddleTruncate fontFamily="mono" fontSize="xs" text={`__${name}__`} />+ <Text color="fg.subtle" fontSize="xs">{t('widgets.generate.dynamicPrompts.importValueCount', { count: valueCount })}</Text></Stack>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardTransferActions.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardTransferActions.tsxindex ade8c5862d..3832d2ed3d 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardTransferActions.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardTransferActions.tsx@@ -203,7 +203,7 @@ export const WildcardTransferActions = ({ catalog }: { catalog: WildcardCatalog<HStack gap="0.5"><Menu.Root onSelect={handleImportSelect}><Menu.Trigger asChild>- <Button disabled={isBusy} size="2xs" variant="ghost">+ <Button disabled={isBusy} size="sm" variant="ghost"><UploadIcon />{t('widgets.generate.dynamicPrompts.import')}</Button>@@ -213,7 +213,7 @@ export const WildcardTransferActions = ({ catalog }: { catalog: WildcardCatalog<MenuContent minW="10rem">{IMPORT_SOURCES.map((source) => (<Menu.Item key={source} value={source}>- <Menu.ItemText fontSize="xs">+ <Menu.ItemText fontSize="md">{t(`widgets.generate.dynamicPrompts.import${source === 'folder' ? 'Folder' : 'Files'}`)}</Menu.ItemText></Menu.Item>@@ -224,7 +224,7 @@ export const WildcardTransferActions = ({ catalog }: { catalog: WildcardCatalog</Menu.Root><Menu.Root onSelect={handleExportSelect}><Menu.Trigger asChild>- <Button disabled={isBusy || catalog.wildcards.length === 0} size="2xs" variant="ghost">+ <Button disabled={isBusy || catalog.wildcards.length === 0} size="sm" variant="ghost"><DownloadIcon />{t('widgets.generate.dynamicPrompts.export')}</Button>@@ -234,7 +234,7 @@ export const WildcardTransferActions = ({ catalog }: { catalog: WildcardCatalog<MenuContent minW="10rem">{WILDCARD_COLLECTION_FORMATS.map((format) => (<Menu.Item key={format.id} value={format.id}>- <Menu.ItemText fontSize="xs">{t(format.labelKey)}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{t(format.labelKey)}</Menu.ItemText></Menu.Item>))}</MenuContent>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardsPanel.tsx b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardsPanel.tsxindex 8ae6bf4dc5..4b4b2a2b81 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardsPanel.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/promptFields/WildcardsPanel.tsx@@ -156,7 +156,7 @@ export const WildcardsPanel = ({<Inputaria-invalid={nameError !== null && nameError !== 'empty' ? true : undefined}placeholder={t('widgets.generate.dynamicPrompts.wildcardNamePlaceholder')}- size="xs"+ size="md"value={draft.name}onChange={(event: ChangeEvent<HTMLInputElement>) => setDraft({ ...draft, name: event.currentTarget.value })}/>@@ -174,23 +174,23 @@ export const WildcardsPanel = ({resizeHandleAriaLabel={t('widgets.generate.dynamicPrompts.resizeWildcardValues')}showLineNumbersshowSyntaxHighlighting={showSyntaxHighlighting}- size="xs"+ size="md"value={draft.valuesText}onChange={(event: ChangeEvent<HTMLTextAreaElement>) =>setDraft({ ...draft, valuesText: event.currentTarget.value })}/>{draftError ? (- <Text color="fg.error" fontSize="2xs" wordBreak="break-word">+ <Text color="fg.error" fontSize="xs" wordBreak="break-word">{draftError}</Text>) : null}<HStack justify="end">- <Button size="xs" variant="ghost" onClick={cancel}>+ <Button size="md" variant="ghost" onClick={cancel}><XIcon />{t('common.cancel')}</Button>- <Button disabled={nameError !== null || valuesError !== null} size="xs" onClick={() => void save()}>+ <Button disabled={nameError !== null || valuesError !== null} size="md" onClick={() => void save()}><CheckIcon />{t('common.save')}</Button>@@ -202,7 +202,7 @@ export const WildcardsPanel = ({return (<Stack gap="2"><PromptPanelHeader label={t('widgets.generate.dynamicPrompts.wildcards')}>- <Button h={PANEL_HEADER_CONTROL_HEIGHT} size="2xs" variant="ghost" onClick={startCreate}>+ <Button h={PANEL_HEADER_CONTROL_HEIGHT} size="sm" variant="ghost" onClick={startCreate}><PlusIcon />{t('widgets.generate.dynamicPrompts.newWildcard')}</Button>@@ -213,7 +213,7 @@ export const WildcardsPanel = ({<Inputaria-label={t('widgets.generate.dynamicPrompts.searchWildcards')}placeholder={t('widgets.generate.dynamicPrompts.searchWildcards')}- size="xs"+ size="md"value={searchTerm}onChange={handleSearchChange}/>@@ -223,7 +223,7 @@ export const WildcardsPanel = ({<Scrollable h="14rem" label={t('widgets.generate.dynamicPrompts.wildcards')}>{groups.length === 0 ? (- <Text color="fg.subtle" fontSize="2xs" px="2" py="1.5">+ <Text color="fg.subtle" fontSize="xs" px="2" py="1.5">{catalog.wildcards.length === 0? t('widgets.generate.dynamicPrompts.noWildcardsYet'): t('widgets.generate.dynamicPrompts.noMatchingWildcards')}@@ -233,7 +233,7 @@ export const WildcardsPanel = ({{groups.map((group) => (<Stack gap="0" key={group.label ?? ''}>{group.label === null ? null : (- <Text color="fg.subtle" fontSize="2xs" fontWeight="700" px="2" textTransform="uppercase">+ <Text color="fg.subtle" fontSize="xs" fontWeight="700" px="2" textTransform="uppercase">{group.label}</Text>)}@@ -296,7 +296,7 @@ const WildcardRow = ({minW="0"px="2"py="1.5"- textStyle="xs"+ textStyle="md"title={t('widgets.generate.dynamicPrompts.insertWildcard')}whiteSpace="nowrap">@@ -309,7 +309,7 @@ const WildcardRow = ({<Text as="span" color="fg" fontFamily="mono" fontSize="0.72rem">__{wildcard.name}__</Text>- <Text as="span" color="fg.subtle" fontSize="2xs" truncate>+ <Text as="span" color="fg.subtle" fontSize="xs" truncate>{wildcard.values.length > 0? wildcard.values.join(', '): t('widgets.generate.dynamicPrompts.wildcardHasNoValues')}@@ -318,7 +318,7 @@ const WildcardRow = ({</button></Row><Tooltip content={t('common.edit')}>- <IconButton aria-label={t('common.edit')} size="2xs" variant="ghost" onClick={() => onEdit(wildcard)}>+ <IconButton aria-label={t('common.edit')} size="sm" variant="ghost" onClick={() => onEdit(wildcard)}><PencilIcon /></IconButton></Tooltip>@@ -326,7 +326,7 @@ const WildcardRow = ({<IconButtonaria-label={t('common.delete')}colorPalette="red"- size="2xs"+ size="sm"variant="ghost"onClick={() => onDelete(wildcard)}>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/GenerateReferenceImagesSection.tsx b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/GenerateReferenceImagesSection.tsxindex c468e04213..144c19e338 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/GenerateReferenceImagesSection.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/GenerateReferenceImagesSection.tsx@@ -203,10 +203,10 @@ export const GenerateReferenceImagesContent = ({if (!isSupported) {return (<HStack gap="2" justify="space-between">- <Text color="fg.muted" fontSize="2xs" minW="0">+ <Text color="fg.muted" fontSize="xs" minW="0">{t('widgets.generate.referenceImagesUnsupported')}</Text>- <Button colorPalette="red" flexShrink="0" size="xs" variant="outline" onClick={clearReferenceImages}>+ <Button colorPalette="red" flexShrink="0" size="md" variant="outline" onClick={clearReferenceImages}>{t('widgets.generate.clearReferenceImages')}</Button></HStack>@@ -233,7 +233,7 @@ export const GenerateReferenceImagesContent = ({disabled={!canAdd}display="flex"flexDirection="column"- fontSize="2xs"+ fontSize="xs"gap="1"isDisabled={!canAdd}isOver={isOver}@@ -245,7 +245,7 @@ export const GenerateReferenceImagesContent = ({w="full"_hover={canAdd ? UPLOAD_ZONE_HOVER_STYLES : undefined}>- <HStack as="span" color="fg" fontSize="xs" fontWeight="600" gap="1.5">+ <HStack as="span" color="fg" fontSize="md" fontWeight="600" gap="1.5"><Icon as={ImagePlusIcon} boxSize="4" />{t('widgets.generate.addReferenceImage')}<Icon as={ChevronDownIcon} boxSize="3" color="fg.subtle" />diff --git a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCard.tsx b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCard.tsxindex b9d15560ed..fb2f29330f 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCard.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageCard.tsx@@ -135,7 +135,7 @@ const ReferenceImageCardBase = ({{isCollapsed ? (<HStack as="button" flex="1" gap="2" minW="0" textAlign="left" onClick={expand}><MiniThumbnail image={config.image} />- <Text color="fg.muted" fontSize="xs" minW="0" truncate>+ <Text color="fg.muted" fontSize="md" minW="0" truncate><Text as="span" color={isEnabled ? 'fg' : 'fg.muted'} fontWeight="medium">{title}</Text>@@ -151,7 +151,7 @@ const ReferenceImageCardBase = ({</Text></HStack>) : (- <Text color={isEnabled ? 'fg' : 'fg.muted'} flex="1" fontSize="xs" fontWeight="medium" minW="0" truncate>+ <Text color={isEnabled ? 'fg' : 'fg.muted'} flex="1" fontSize="md" fontWeight="medium" minW="0" truncate>{title}</Text>)}@@ -164,7 +164,7 @@ const ReferenceImageCardBase = ({aria-label={t('widgets.generate.moveReferenceImageUp')}color="fg.muted"disabled={!canMoveUp}- size="2xs"+ size="sm"variant="ghost"onClick={handleMoveUp}>@@ -177,7 +177,7 @@ const ReferenceImageCardBase = ({aria-label={t('widgets.generate.moveReferenceImageDown')}color="fg.muted"disabled={!canMoveDown}- size="2xs"+ size="sm"variant="ghost"onClick={handleMoveDown}>@@ -189,7 +189,7 @@ const ReferenceImageCardBase = ({isCollapsed ? t('widgets.generate.expandReferenceImage') : t('widgets.generate.collapseReferenceImage')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={toggleCollapsed}>@@ -205,7 +205,7 @@ const ReferenceImageCardBase = ({<IconButtonaria-label={t('widgets.generate.removeReferenceImage')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"colorPalette="red"onClick={handleRemove}@@ -323,7 +323,7 @@ const ReferenceModelSelector = ({filter={filterModel}modelTypes={modelTypes}placeholder={t('widgets.generate.selectModel')}- size="xs"+ size="md"value={config.model?.key ?? null}onChange={selectReferenceModel}/>@@ -432,7 +432,7 @@ const ReferenceImageThumbnail = ({<IconButtonaria-label={t('common.crop')}disabled={disabled}- size="2xs"+ size="sm"variant="ghost"onClick={openCrop}>@@ -443,7 +443,7 @@ const ReferenceImageThumbnail = ({<IconButtonaria-label={t('widgets.generate.useSize')}disabled={disabled}- size="2xs"+ size="sm"variant="ghost"onClick={handleUseSize}>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageControls.tsx b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageControls.tsxindex e88b1e3b7d..6aaa727731 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageControls.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/reference-images/ReferenceImageControls.tsx@@ -56,10 +56,10 @@ const isFluxReduxImageInfluence = (value: unknown): value is FluxReduxImageInfluconst renderStyleVariantItem = (option: StyleVariantOption) => (<Stack as="span" gap="0.5" py="0.5">- <Text as="span" fontSize="xs">+ <Text as="span" fontSize="md">{option.label}</Text>- <Text as="span" color="fg.muted" fontSize="2xs" lineHeight="short">+ <Text as="span" color="fg.muted" fontSize="xs" lineHeight="short">{option.description}</Text></Stack>@@ -91,7 +91,7 @@ export const FieldHeader = ({label: string;}) => {const labelText = (- <Text color="fg.muted" fontSize="2xs" fontWeight="medium">+ <Text color="fg.muted" fontSize="xs" fontWeight="medium">{label}</Text>);@@ -207,11 +207,11 @@ export const IPAdapterControls = ({<Stack gap="2"><Stack gap="1"><FieldHeader label={t('widgets.generate.mode')} />- <SegmentGroup.Root disabled={disabled} size="xs" value={mode} w="full" onValueChange={handleModeChange}>+ <SegmentGroup.Root disabled={disabled} size="md" value={mode} w="full" onValueChange={handleModeChange}><SegmentGroup.Indicator />{MODE_SEGMENTS.map((segment) => (<SegmentGroup.Item key={segment.value} flex="1" justifyContent="center" value={segment.value}>- <SegmentGroup.ItemText fontSize="2xs">{t(segment.labelKey)}</SegmentGroup.ItemText>+ <SegmentGroup.ItemText fontSize="xs">{t(segment.labelKey)}</SegmentGroup.ItemText><SegmentGroup.ItemHiddenInput /></SegmentGroup.Item>))}@@ -238,7 +238,7 @@ export const IPAdapterControls = ({alignItems="center"color="fg.muted"display="flex"- fontSize="2xs"+ fontSize="xs"fontWeight="medium"gap="1"_hover={ADVANCED_TRIGGER_HOVER_STYLES}@@ -262,7 +262,7 @@ export const IPAdapterControls = ({deselectable={false}disabled={disabled}renderItem={renderStyleVariantItem}- size="xs"+ size="md"value={styleVariantValue}w="full"onValueChange={handleStyleVariantChange}@@ -271,7 +271,7 @@ export const IPAdapterControls = ({) : null}<Stack gap="1"><FieldHeader label={t('widgets.generate.activeSteps')}>- <Text color="fg.subtle" fontFamily="mono" fontSize="2xs">+ <Text color="fg.subtle" fontFamily="mono" fontSize="xs">{formatPct(beginEndStepPct[0])} – {formatPct(beginEndStepPct[1])}</Text></FieldHeader>@@ -282,7 +282,7 @@ export const IPAdapterControls = ({marks={BEGIN_END_MARKS}max={1}min={0}- size="sm"+ size="md"step={0.05}value={beginEndStepPct}onValueChange={handleStepsChange}@@ -332,7 +332,7 @@ export const ClipVisionSelect = ({deselectable={false}disabled={disabled}flexShrink="0"- size="xs"+ size="md"value={selectValue}w="24"onValueChange={handleValueChange}@@ -374,7 +374,7 @@ export const FluxReduxControls = <T extends { imageInfluence: FluxReduxImageInflcollection={FLUX_REDUX_IMAGE_INFLUENCE_COLLECTION}deselectable={false}disabled={disabled}- size="xs"+ size="md"value={imageInfluenceValue}w="full"onValueChange={handleValueChange}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 ba52f9ebdb..922a9f5c0b 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@@ -311,7 +311,7 @@ export const ReferenceImageCropDialog = ({</Dialog.CloseTrigger><Dialog.Body><Stack gap="3">- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('widgets.generate.cropReferenceImageHelp')}</Text><Box@@ -385,7 +385,7 @@ export const ReferenceImageCropDialog = ({))}</Box></Box>- <Text color="fg.muted" fontFamily="mono" fontSize="2xs">+ <Text color="fg.muted" fontFamily="mono" fontSize="xs">{cropWidthPx} × {cropHeightPx} px</Text></Stack>@@ -393,16 +393,16 @@ export const ReferenceImageCropDialog = ({<Dialog.Footer><Buttondisabled={isApplying || isFullReferenceImageCropBox(cropBox)}- size="xs"+ size="md"variant="outline"onClick={resetCrop}>{t('common.reset')}</Button>- <Button disabled={isApplying} size="xs" variant="ghost" onClick={close}>+ <Button disabled={isApplying} size="md" variant="ghost" onClick={close}>{t('common.cancel')}</Button>- <Button loading={isApplying} size="xs" onClick={applyCrop}>+ <Button loading={isApplying} size="md" onClick={applyCrop}>{t('common.apply')}</Button></Dialog.Footer>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/shared/AspectRatioSelect.tsx b/invokeai/frontend/webv2/src/features/generation/ui/shared/AspectRatioSelect.tsxindex a975af9168..5dc371056f 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/shared/AspectRatioSelect.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/shared/AspectRatioSelect.tsx@@ -11,7 +11,7 @@ import { useTranslation } from 'react-i18next';import { AspectRatioPreview } from './AspectRatioPreview';-type ControlSize = 'xs' | 'sm';+type ControlSize = 'md' | 'lg';type AspectRatioOption = { id: AspectRatioId; ratio: number };@@ -33,7 +33,7 @@ export interface AspectRatioSelectProps {/** Callers own dimension changes. */export const AspectRatioSelect = ({fallbackRatio,- size = 'xs',+ size = 'md',triggerProps,value,onChange,@@ -72,7 +72,7 @@ export const AspectRatioSelect = ({renderItem={(option) => (<HStack as="span" gap="2"><AspectRatioPreview boxSize="6" ratio={option.ratio} />- <Text as="span" fontSize="xs">+ <Text as="span" fontSize="md">{option.id}</Text></HStack>@@ -83,7 +83,7 @@ export const AspectRatioSelect = ({valueText={<HStack as="span" gap="2" minW="0"><AspectRatioPreview boxSize="5" ratio={activePreviewRatio} />- <Text as="span" fontSize="xs" truncate>+ <Text as="span" fontSize="md" truncate>{value}</Text></HStack>@@ -95,12 +95,12 @@ export const AspectRatioSelect = ({export interface AspectRatioLockButtonProps {isLocked: boolean;- size?: '2xs' | ControlSize;+ size?: 'sm' | ControlSize;onToggle: () => void;}/** Companion lock for {@link AspectRatioSelect}: a labelled icon button, not a bare dot. */-export const AspectRatioLockButton = ({ isLocked, size = 'xs', onToggle }: AspectRatioLockButtonProps) => {+export const AspectRatioLockButton = ({ isLocked, size = 'md', onToggle }: AspectRatioLockButtonProps) => {const { t } = useTranslation();const label = isLocked ? t('widgets.generate.unlockAspectRatio') : t('widgets.generate.lockAspectRatio');diff --git a/invokeai/frontend/webv2/src/features/generation/ui/shared/ConceptRow.tsx b/invokeai/frontend/webv2/src/features/generation/ui/shared/ConceptRow.tsxindex 940320ecfa..0cdc3d1b67 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/shared/ConceptRow.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/shared/ConceptRow.tsx@@ -172,7 +172,7 @@ export const ConceptRow = memo(function ConceptRow({<IconButtonaria-label={t('widgets.generate.removeConceptNamed', { name })}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={handleRemoveClick}>@@ -183,11 +183,11 @@ export const ConceptRow = memo(function ConceptRow({}badges={<>- <Badge colorPalette={models.getBaseColorPalette(lora.model.base)} size="xs" variant="surface">+ <Badge colorPalette={models.getBaseColorPalette(lora.model.base)} size="md" variant="surface">{models.getBaseLabel(lora.model.base)}</Badge>{isCompatible ? null : (- <Badge colorPalette="orange" size="xs" variant="surface">+ <Badge colorPalette="orange" size="md" variant="surface">{t('widgets.generate.incompatible')}</Badge>)}@@ -228,7 +228,7 @@ export const ConceptRow = memo(function ConceptRow({color="fg.subtle"flexShrink={0}shape="rounded"- size="sm"+ size="xl">{/* The fallback also covers a cover image that fails to load. */}<Avatar.Fallback>diff --git a/invokeai/frontend/webv2/src/features/generation/ui/shared/GenerateCollapsibleSection.tsx b/invokeai/frontend/webv2/src/features/generation/ui/shared/GenerateCollapsibleSection.tsxindex c13400dbc5..9e8a4e0a9a 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/shared/GenerateCollapsibleSection.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/shared/GenerateCollapsibleSection.tsx@@ -67,7 +67,7 @@ export const GenerateCollapsibleSection = ({ badges, children, defaultOpen, isOp</Collapsible.Indicator><Textas="span"- fontSize="2xs"+ fontSize="xs"truncateletterSpacing="widest"fontWeight="bold"diff --git a/invokeai/frontend/webv2/src/features/generation/ui/shared/GenerateToggleSwitch.tsx b/invokeai/frontend/webv2/src/features/generation/ui/shared/GenerateToggleSwitch.tsxindex 2e20ac2014..1bafb5d185 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/shared/GenerateToggleSwitch.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/shared/GenerateToggleSwitch.tsx@@ -26,14 +26,14 @@ export const GenerateToggleSwitch = ({checked={checked}disabled={disabled}ids={{ hiddenInput: id, label: `${id}-label` }}- size="sm"+ size="md"onCheckedChange={(event) => onCheckedChange(event.checked)}><Switch.HiddenInput /><Switch.Control _checked={{ bg: 'accent.solid' }}><Switch.Thumb /></Switch.Control>- <Switch.Label fontSize="xs" srOnly={!labelVisible}>+ <Switch.Label fontSize="md" srOnly={!labelVisible}>{label}</Switch.Label></Switch.Root>diff --git a/invokeai/frontend/webv2/src/features/identity/ui/AccountMenu.tsx b/invokeai/frontend/webv2/src/features/identity/ui/AccountMenu.tsxindex 0eee4d8132..66da13e8e5 100644--- a/invokeai/frontend/webv2/src/features/identity/ui/AccountMenu.tsx+++ b/invokeai/frontend/webv2/src/features/identity/ui/AccountMenu.tsx@@ -52,10 +52,10 @@ export const AccountMenu = () => {type="button"_hover={TRIGGER_HOVER}>- <Avatar.Root bg="accent.subtle" color="fg" size="2xs">- <Avatar.Fallback fontSize="2xs" name={label} />+ <Avatar.Root bg="accent.subtle" color="fg" size="sm">+ <Avatar.Fallback fontSize="xs" name={label} /></Avatar.Root>- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{label}</Text><Icon as={ChevronDownIcon} boxSize="3" color="fg.muted" />@@ -67,15 +67,15 @@ export const AccountMenu = () => {<Box px="3" py="2"><HStack justify="space-between"><Stack gap="0">- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{label}</Text>- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{user.email}</Text></Stack>{user.is_admin ? (- <Badge colorPalette="purple" fontSize="2xs" variant="surface">+ <Badge colorPalette="purple" fontSize="xs" variant="surface">{t('users.admin')}</Badge>) : null}diff --git a/invokeai/frontend/webv2/src/features/identity/ui/AccountMenuSection.tsx b/invokeai/frontend/webv2/src/features/identity/ui/AccountMenuSection.tsxindex d3c33e00a3..539771fa5e 100644--- a/invokeai/frontend/webv2/src/features/identity/ui/AccountMenuSection.tsx+++ b/invokeai/frontend/webv2/src/features/identity/ui/AccountMenuSection.tsx@@ -38,16 +38,16 @@ export const AccountMenuSection = () => {<Box px="3" py="2"><HStack justify="space-between"><HStack gap="2" minW="0">- <Avatar.Root bg="accent.subtle" color="fg" size="2xs">- <Avatar.Fallback fontSize="2xs" name={label} />+ <Avatar.Root bg="accent.subtle" color="fg" size="sm">+ <Avatar.Fallback fontSize="xs" name={label} /></Avatar.Root><Stack gap="0" minW="0">- <MiddleTruncate fontSize="xs" fontWeight="600" text={label} />- <MiddleTruncate color="fg.muted" fontSize="2xs" text={user.email} />+ <MiddleTruncate fontSize="md" fontWeight="600" text={label} />+ <MiddleTruncate color="fg.muted" fontSize="xs" text={user.email} /></Stack></HStack>{user.is_admin ? (- <Badge colorPalette="purple" fontSize="2xs" variant="surface">+ <Badge colorPalette="purple" fontSize="xs" variant="surface">{t('users.admin')}</Badge>) : null}diff --git a/invokeai/frontend/webv2/src/features/identity/ui/AuthScreen.tsx b/invokeai/frontend/webv2/src/features/identity/ui/AuthScreen.tsxindex ba9243d7fb..a572f55301 100644--- a/invokeai/frontend/webv2/src/features/identity/ui/AuthScreen.tsx+++ b/invokeai/frontend/webv2/src/features/identity/ui/AuthScreen.tsx@@ -20,10 +20,10 @@ export const AuthScreen = ({<Stack align="center" gap="4"><InvokeMark /><Stack align="center" gap="1">- <Heading fontSize="lg" fontWeight="700">+ <Heading fontSize="2xl" fontWeight="700">{title}</Heading>- <Text color="fg.muted" fontSize="sm" textAlign="center">+ <Text color="fg.muted" fontSize="lg" textAlign="center">{subtitle}</Text></Stack>@@ -32,7 +32,7 @@ export const AuthScreen = ({{children}</Stack>{footer ? (- <Text color="fg.subtle" fontSize="xs" textAlign="center">+ <Text color="fg.subtle" fontSize="md" textAlign="center">{footer}</Text>) : null}@@ -42,8 +42,8 @@ export const AuthScreen = ({/** Inline alert used for form-level failures on the auth screens. */export const AuthFormAlert = ({ message, tone }: { message: string; tone: 'error' | 'warning' }) => (- <Alert.Root borderRadius="md" size="sm" status={tone}>+ <Alert.Root borderRadius="md" size="md" status={tone}><Alert.Indicator />- <Alert.Title fontSize="xs">{message}</Alert.Title>+ <Alert.Title fontSize="md">{message}</Alert.Title></Alert.Root>);diff --git a/invokeai/frontend/webv2/src/features/identity/ui/LoginScreen.tsx b/invokeai/frontend/webv2/src/features/identity/ui/LoginScreen.tsxindex 1412c596b3..9349d2b5f8 100644--- a/invokeai/frontend/webv2/src/features/identity/ui/LoginScreen.tsx+++ b/invokeai/frontend/webv2/src/features/identity/ui/LoginScreen.tsx@@ -85,14 +85,14 @@ export const LoginScreen = () => {onChange={handlePasswordChange}/></Field>- <Checkbox.Root checked={form.values.rememberMe} size="sm" onCheckedChange={handleRememberMeChange}>+ <Checkbox.Root checked={form.values.rememberMe} size="md" onCheckedChange={handleRememberMeChange}><Checkbox.HiddenInput /><Checkbox.Control /><Checkbox.Label color="fg.muted" fontWeight="400">{t('auth.keepSignedIn')}</Checkbox.Label></Checkbox.Root>- <Button loading={form.isSubmitting} size="sm" type="submit" variant="solid">+ <Button loading={form.isSubmitting} size="lg" type="submit" variant="solid">{t('auth.signIn')}</Button></chakra.form>diff --git a/invokeai/frontend/webv2/src/features/identity/ui/PasswordInput.tsx b/invokeai/frontend/webv2/src/features/identity/ui/PasswordInput.tsxindex 5e0abd2abc..dee14a814d 100644--- a/invokeai/frontend/webv2/src/features/identity/ui/PasswordInput.tsx+++ b/invokeai/frontend/webv2/src/features/identity/ui/PasswordInput.tsx@@ -17,7 +17,7 @@ export const PasswordInput = (props: InputProps) => {<IconButtonaria-label={isVisible ? t('auth.hidePassword') : t('auth.showPassword')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={handleToggleVisibility}>@@ -63,7 +63,7 @@ export const PasswordStrengthMeter = ({ password }: { password: string }) => {/>))}</HStack>- <Text color={meta.tone} fontSize="2xs" fontWeight="600">+ <Text color={meta.tone} fontSize="xs" fontWeight="600">{t(meta.labelKey)}</Text></HStack>diff --git a/invokeai/frontend/webv2/src/features/identity/ui/ProfileDialog.tsx b/invokeai/frontend/webv2/src/features/identity/ui/ProfileDialog.tsxindex 04ce96b9ea..29b8f35ab7 100644--- a/invokeai/frontend/webv2/src/features/identity/ui/ProfileDialog.tsx+++ b/invokeai/frontend/webv2/src/features/identity/ui/ProfileDialog.tsx@@ -156,7 +156,7 @@ const ProfileForm = ({ onClose, user }: { onClose: () => void; user: UserDTO })<Stack gap="3"><HStack justify="space-between"><FieldLabel>{t('auth.changePassword')}</FieldLabel>- <Button loading={isGenerating} size="2xs" variant="outline" onClick={handleGeneratePassword}>+ <Button loading={isGenerating} size="sm" variant="outline" onClick={handleGeneratePassword}><WandSparklesIcon />{t('users.generate')}</Button>@@ -196,10 +196,10 @@ const ProfileForm = ({ onClose, user }: { onClose: () => void; user: UserDTO })</Stack></Dialog.Body><Dialog.Footer>- <Button size="xs" variant="ghost" onClick={onClose}>+ <Button size="md" variant="ghost" onClick={onClose}>{t('common.cancel')}</Button>- <Button loading={form.isSubmitting} size="xs" variant="solid" onClick={handleSave}>+ <Button loading={form.isSubmitting} size="md" variant="solid" onClick={handleSave}>{t('users.saveChanges')}</Button></Dialog.Footer>diff --git a/invokeai/frontend/webv2/src/features/identity/ui/SetupScreen.tsx b/invokeai/frontend/webv2/src/features/identity/ui/SetupScreen.tsxindex cafdad192c..6e15a9b0b0 100644--- a/invokeai/frontend/webv2/src/features/identity/ui/SetupScreen.tsx+++ b/invokeai/frontend/webv2/src/features/identity/ui/SetupScreen.tsx@@ -106,7 +106,7 @@ export const SetupScreen = () => {onChange={handleConfirmPasswordChange}/></Field>- <Button loading={form.isSubmitting} size="sm" type="submit" variant="solid">+ <Button loading={form.isSubmitting} size="lg" type="submit" variant="solid">{t('auth.createAdminAccount')}</Button></chakra.form>diff --git a/invokeai/frontend/webv2/src/features/identity/ui/UserFormDialog.tsx b/invokeai/frontend/webv2/src/features/identity/ui/UserFormDialog.tsxindex 81823d8f00..ed15018550 100644--- a/invokeai/frontend/webv2/src/features/identity/ui/UserFormDialog.tsx+++ b/invokeai/frontend/webv2/src/features/identity/ui/UserFormDialog.tsx@@ -227,7 +227,7 @@ const UserForm = ({value={form.values.password}onChange={handlePasswordChange}/>- <Button loading={isGenerating} size="xs" variant="outline" onClick={handleGeneratedPasswordClick}>+ <Button loading={isGenerating} size="md" variant="outline" onClick={handleGeneratedPasswordClick}><WandSparklesIcon />{t('users.generate')}</Button>@@ -245,10 +245,10 @@ const UserForm = ({onCheckedChange={handleAdminCheckedChange}><Stack gap="0.5">- <Switch.Label color="fg" fontSize="sm" fontWeight="500" m="0">+ <Switch.Label color="fg" fontSize="lg" fontWeight="500" m="0">{t('users.administrator')}</Switch.Label>- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{isSelf ? t('users.cannotChangeSelfRole') : t('users.administratorHelp')}</Text></Stack>@@ -260,10 +260,10 @@ const UserForm = ({</Stack></Dialog.Body><Dialog.Footer>- <Button size="xs" variant="ghost" onClick={onClose}>+ <Button size="md" variant="ghost" onClick={onClose}>{t('common.cancel')}</Button>- <Button loading={form.isSubmitting} size="xs" variant="solid" onClick={handleSubmitClick}>+ <Button loading={form.isSubmitting} size="md" variant="solid" onClick={handleSubmitClick}>{isCreate ? t('users.createUser') : t('users.saveChanges')}</Button></Dialog.Footer>diff --git a/invokeai/frontend/webv2/src/features/identity/ui/UserManagement.tsx b/invokeai/frontend/webv2/src/features/identity/ui/UserManagement.tsxindex 50eca31b0c..b6ec09d35e 100644--- a/invokeai/frontend/webv2/src/features/identity/ui/UserManagement.tsx+++ b/invokeai/frontend/webv2/src/features/identity/ui/UserManagement.tsx@@ -37,7 +37,7 @@ export const UsersManagementPanel = ({if (!session.multiuserEnabled || session.user?.is_admin !== true) {return (<Center h="full" w="full">- <Text color="fg.subtle" fontSize="sm">+ <Text color="fg.subtle" fontSize="lg">{t('users.adminOnly')}</Text></Center>@@ -116,14 +116,14 @@ const UsersDirectory = ({<Stack gap="4" w="full"><HStack align="flex-start" justify="space-between"><Stack gap="0.5">- <Text fontSize="md" fontWeight="700">+ <Text fontSize="xl" fontWeight="700">{t('users.title')}</Text>- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{users ? t('users.accountCount', { count: users.length }) : t('users.description')}</Text></Stack>- <Button size="xs" variant="solid" onClick={openCreateForm}>+ <Button size="md" variant="solid" onClick={openCreateForm}><UserPlusIcon />{t('users.addUser')}</Button>@@ -133,19 +133,19 @@ const UsersDirectory = ({<Center minH="40">{loadError ? (<Stack align="center" gap="2" p="4">- <Text color="fg.error" fontSize="xs" textAlign="center">+ <Text color="fg.error" fontSize="md" textAlign="center">{loadError}</Text>- <Button size="xs" variant="outline" onClick={retryLoad}>+ <Button size="md" variant="outline" onClick={retryLoad}>{t('common.retry')}</Button></Stack>) : (- <Spinner color="fg.muted" size="sm" />+ <Spinner color="fg.muted" size="lg" />)}</Center>) : (- <Table.Root minW="42rem" size="sm">+ <Table.Root minW="42rem" size="md"><Table.Header><Table.Row bg="bg.muted"><Table.ColumnHeader borderColor="border.subtle" color="fg.muted" ps="4">@@ -237,33 +237,33 @@ const UserRow = ({<Table.Row bg="transparent" _hover={ROW_HOVER_STYLES}><Table.Cell borderColor="border.subtle" ps="4"><HStack gap="2.5">- <Avatar.Root bg="accent.subtle" color="fg" size="2xs">- <Avatar.Fallback fontSize="2xs" name={getUserLabel(user)} />+ <Avatar.Root bg="accent.subtle" color="fg" size="sm">+ <Avatar.Fallback fontSize="xs" name={getUserLabel(user)} /></Avatar.Root><Stack gap="0"><HStack gap="1.5">- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{getUserLabel(user)}</Text>{isSelf ? (- <Badge fontSize="2xs" variant="surface">+ <Badge fontSize="xs" variant="surface">{t('users.you')}</Badge>) : null}</HStack>- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{user.email}</Text></Stack></HStack></Table.Cell><Table.Cell borderColor="border.subtle">- <Badge colorPalette={user.is_admin ? 'purple' : 'gray'} fontSize="2xs" variant="surface">+ <Badge colorPalette={user.is_admin ? 'purple' : 'gray'} fontSize="xs" variant="surface">{user.is_admin ? t('users.admin') : t('users.user')}</Badge></Table.Cell><Table.Cell borderColor="border.subtle">- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{formatLastSignIn(user.last_login_at, t('users.never'))}</Text></Table.Cell>@@ -273,7 +273,7 @@ const UserRow = ({aria-label={t('users.activeLabel', { name: getUserLabel(user) })}checked={user.is_active}disabled={isSelf}- size="sm"+ size="md"onCheckedChange={handleSetActive}><Switch.HiddenInput />@@ -290,7 +290,7 @@ const UserRow = ({<IconButtonaria-label={t('users.manageIntermediatesNamed', { name: getUserLabel(user) })}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={handleIntermediates}>@@ -301,7 +301,7 @@ const UserRow = ({<IconButtonaria-label={t('users.editUserNamed', { name: getUserLabel(user) })}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={handleEdit}>@@ -312,7 +312,7 @@ const UserRow = ({aria-label={t('users.deleteUserNamed', { name: getUserLabel(user) })}color="fg.muted"disabled={isSelf}- size="2xs"+ size="sm"variant="ghost"_hover={DELETE_BUTTON_HOVER_STYLES}onClick={handleDelete}diff --git a/invokeai/frontend/webv2/src/features/intermediates/ui/ClearDialog.tsx b/invokeai/frontend/webv2/src/features/intermediates/ui/ClearDialog.tsxindex f5168f28f5..fb0cf6d394 100644--- a/invokeai/frontend/webv2/src/features/intermediates/ui/ClearDialog.tsx+++ b/invokeai/frontend/webv2/src/features/intermediates/ui/ClearDialog.tsx@@ -55,7 +55,7 @@ const Impact = ({ preview }: { preview: IntermediatesPreview }) => {return (<Stack gap="1.5">- <Text fontSize="sm" fontWeight="600">+ <Text fontSize="lg" fontWeight="600">{nothing? t('intermediates.dialog.nothing'): t('intermediates.dialog.summary', {@@ -65,7 +65,7 @@ const Impact = ({ preview }: { preview: IntermediatesPreview }) => {})}</Text>{nothing ? null : (- <Text fontSize="xs">+ <Text fontSize="md">{impact.unknownSizeCount > 0 && impact.reclaimableBytes === 0? t('intermediates.dialog.reclaimUnknown'): t('intermediates.dialog.reclaim', { size: formatBytes(impact.reclaimableBytes) })}@@ -75,7 +75,7 @@ const Impact = ({ preview }: { preview: IntermediatesPreview }) => {</Text>)}{kept > 0 ? (- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('intermediates.dialog.kept', { count: kept })}{' '}{t('intermediates.dialog.keptReasons', {reasons: new Intl.ListFormat(i18n.resolvedLanguage, { style: 'long', type: 'conjunction' }).format(@@ -114,12 +114,12 @@ const AffectedDocuments = ({return (<Stack gap="1">- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{t('intermediates.dialog.affected')}</Text><Stack as="ul" gap="0.5" maxH="32" overflowY="auto" ps="4">{preview.affectedDocuments.map((document) => (- <Text as="li" fontSize="xs" key={`${document.kind}:${document.userId}:${document.ownerId}`}>+ <Text as="li" fontSize="md" key={`${document.kind}:${document.userId}:${document.ownerId}`}>{t(AFFECTED_DOCUMENT_LABELS[document.kind], {count: document.references,name: document.name ?? document.ownerId,@@ -135,7 +135,7 @@ const AffectedDocuments = ({</Text>))}{hidden > 0 ? (- <Text as="li" color="fg.muted" fontSize="xs">+ <Text as="li" color="fg.muted" fontSize="md">{t('intermediates.dialog.affectedMore', { count: hidden })}</Text>) : null}@@ -223,19 +223,19 @@ export const ClearDialog = ({<Dialog.Description asChild><Box aria-busy={(preview === null && !state?.previewError) || undefined} aria-live="polite">{state?.previewError ? (- <Alert.Root size="sm" status="error" variant="surface">+ <Alert.Root size="md" status="error" variant="surface"><Alert.Indicator /><Alert.Content><Alert.Description>{state.previewError}</Alert.Description></Alert.Content>- <Button size="2xs" variant="outline" onClick={onRetryPreview}>+ <Button size="sm" variant="outline" onClick={onRetryPreview}>{t('common.retry')}</Button></Alert.Root>) : preview === null ? (<Stack align="center" direction="row" gap="2">- <Spinner color="fg.muted" size="xs" />- <Text color="fg.muted" fontSize="xs">+ <Spinner color="fg.muted" size="md" />+ <Text color="fg.muted" fontSize="md">{t('intermediates.dialog.loadingPreview')}</Text></Stack>@@ -248,15 +248,15 @@ export const ClearDialog = ({checked={isForce}colorPalette="red"disabled={state?.isStarting}- size="sm"+ size="md"onCheckedChange={(event) => onModeChange(event.checked === true ? 'force' : 'safe')}><Checkbox.HiddenInput /><Checkbox.Control />- <Checkbox.Label fontSize="xs">{t('intermediates.dialog.forceToggle')}</Checkbox.Label>+ <Checkbox.Label fontSize="md">{t('intermediates.dialog.forceToggle')}</Checkbox.Label></Checkbox.Root>{isForce ? (- <Alert.Root size="sm" status="warning" variant="surface">+ <Alert.Root size="md" status="warning" variant="surface"><Alert.Indicator /><Alert.Content><Alert.Description>@@ -275,21 +275,21 @@ export const ClearDialog = ({<Checkbox.Rootchecked={acknowledged}colorPalette="red"- size="sm"+ size="md"onCheckedChange={(event) => setAcknowledged(event.checked === true)}><Checkbox.HiddenInput /><Checkbox.Control />- <Checkbox.Label fontSize="xs">{t('intermediates.dialog.acknowledge')}</Checkbox.Label>+ <Checkbox.Label fontSize="md">{t('intermediates.dialog.acknowledge')}</Checkbox.Label></Checkbox.Root><Stack gap="1">- <chakra.label fontSize="xs" htmlFor={confirmInputId}>+ <chakra.label fontSize="md" htmlFor={confirmInputId}>{t('intermediates.dialog.typeToConfirm', { word: CONFIRM_WORD })}</chakra.label><InputautoComplete="off"id={confirmInputId}- size="xs"+ size="md"spellCheck={false}value={typed}onChange={(event) => setTyped(event.currentTarget.value)}@@ -298,21 +298,21 @@ export const ClearDialog = ({</Stack>) : null}{state?.startError ? (- <Text color="fg.error" fontSize="xs" role="alert">+ <Text color="fg.error" fontSize="md" role="alert">{state.startError}</Text>) : null}</Stack></Dialog.Body><Dialog.Footer>- <Button ref={cancelRef} disabled={state?.isStarting} size="xs" variant="ghost" onClick={onClose}>+ <Button ref={cancelRef} disabled={state?.isStarting} size="md" variant="ghost" onClick={onClose}>{t('common.cancel')}</Button><ButtoncolorPalette="red"disabled={!canConfirm}loading={state?.isStarting}- size="xs"+ size="md"variant="solid"onClick={onConfirm}>diff --git a/invokeai/frontend/webv2/src/features/intermediates/ui/IntermediatesList.tsx b/invokeai/frontend/webv2/src/features/intermediates/ui/IntermediatesList.tsxindex 4e968070b7..be82b1b062 100644--- a/invokeai/frontend/webv2/src/features/intermediates/ui/IntermediatesList.tsx+++ b/invokeai/frontend/webv2/src/features/intermediates/ui/IntermediatesList.tsx@@ -63,14 +63,14 @@ const Figure = ({ label, value }: { label: string; value: number }) => (<Stack align="flex-end" flexShrink={0} gap="0" minW="3.25rem"><Textcolor={value === 0 ? 'fg.muted' : 'fg'}- fontSize="xs"+ fontSize="md"fontVariantNumeric="tabular-nums"fontWeight="600"lineHeight="shorter">{formatCount(value)}</Text>- <Text color="fg.muted" fontSize="2xs" lineHeight="shorter">+ <Text color="fg.muted" fontSize="xs" lineHeight="shorter">{label}</Text></Stack>@@ -122,7 +122,7 @@ export const IntermediatesList = ({{...rowProps}badges={row.projectId === null ? (- <Badge fontSize="2xs" variant="surface">+ <Badge fontSize="xs" variant="surface">{t('intermediates.list.unassignedBadge')}</Badge>) : undefineddiff --git a/invokeai/frontend/webv2/src/features/intermediates/ui/IntermediatesManager.tsx b/invokeai/frontend/webv2/src/features/intermediates/ui/IntermediatesManager.tsxindex 3328f9f564..1b434d26c4 100644--- a/invokeai/frontend/webv2/src/features/intermediates/ui/IntermediatesManager.tsx+++ b/invokeai/frontend/webv2/src/features/intermediates/ui/IntermediatesManager.tsx@@ -227,10 +227,10 @@ export const IntermediatesManager = ({<Stack gap="3" h="full" minH="0"><HStack align="flex-start" gap="3" justify="space-between"><Stack gap="0.5" minW="0">- <Text fontSize="sm" fontWeight="600">+ <Text fontSize="lg" fontWeight="600">{t('intermediates.title')}</Text>- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('intermediates.description')}</Text></Stack>@@ -239,11 +239,11 @@ export const IntermediatesManager = ({aria-busy={isRefreshing || undefined}aria-label={t('intermediates.refresh')}flexShrink={0}- size="xs"+ size="md"variant="outline"onClick={handleRefresh}>- {isRefreshing ? <Spinner size="xs" /> : <RefreshCwIcon />}+ {isRefreshing ? <Spinner size="md" /> : <RefreshCwIcon />}</IconButton></Tooltip></HStack>@@ -257,7 +257,7 @@ export const IntermediatesManager = ({? t('intermediates.searchPlaceholderAdmin'): t('intermediates.searchPlaceholder')}- size="xs"+ size="md"value={search}onChange={(event) => handleSearchChange(event.currentTarget.value)}/>@@ -268,7 +268,7 @@ export const IntermediatesManager = ({</RemovableTag>) : null}{canClearOthersIntermediates && !ownerFilter && currentUserId ? (- <Button size="2xs" variant="outline" onClick={showOwnAccount}>+ <Button size="sm" variant="outline" onClick={showOwnAccount}>{t('intermediates.owner.showMine')}</Button>) : null}@@ -337,7 +337,7 @@ export const IntermediatesManager = ({>{query.data?.measuring ? (<Tooltip content={t('intermediates.stats.measuringNote')}>- <Spinner aria-label={t('intermediates.stats.measuringNote')} color="fg.muted" size="xs" />+ <Spinner aria-label={t('intermediates.stats.measuringNote')} color="fg.muted" size="md" /></Tooltip>) : null}{/* `aria-disabled` keeps it focusable, so the reason it waits is announced on focus. */}@@ -345,7 +345,7 @@ export const IntermediatesManager = ({aria-describedby={isOperationActive && selection.hasSelection ? deleteReasonId : undefined}aria-disabled={isDeleteUnavailable}colorPalette="red"- size="2xs"+ size="sm"variant="ghost"onClick={(event) => {if (isDeleteUnavailable) {@@ -376,7 +376,7 @@ export const IntermediatesManager = ({title={hasSearch ? t('intermediates.empty.noMatches') : t('intermediates.empty.title')}>{hasSearch ? (- <Button size="xs" variant="outline" onClick={clearSearch}>+ <Button size="md" variant="outline" onClick={clearSearch}>{t('common.clearSearch')}</Button>) : null}@@ -390,7 +390,7 @@ export const IntermediatesManager = ({}title={t('intermediates.errors.couldNotLoad')}>- <Button size="xs" variant="outline" onClick={() => void query.refetch()}>+ <Button size="md" variant="outline" onClick={() => void query.refetch()}>{t('common.retry')}</Button></EmptyState>diff --git a/invokeai/frontend/webv2/src/features/intermediates/ui/OperationPanel.tsx b/invokeai/frontend/webv2/src/features/intermediates/ui/OperationPanel.tsxindex b1794ca220..a3e5ec0ff3 100644--- a/invokeai/frontend/webv2/src/features/intermediates/ui/OperationPanel.tsx+++ b/invokeai/frontend/webv2/src/features/intermediates/ui/OperationPanel.tsx@@ -28,10 +28,10 @@ export interface OperationPanelProps {const Stat = ({ label, value }: { label: string; value: string }) => (<Stack gap="0" minW="4rem">- <Text fontSize="xs" fontVariantNumeric="tabular-nums" fontWeight="600" lineHeight="shorter">+ <Text fontSize="md" fontVariantNumeric="tabular-nums" fontWeight="600" lineHeight="shorter">{value}</Text>- <Text color="fg.muted" fontSize="2xs" lineHeight="shorter">+ <Text color="fg.muted" fontSize="xs" lineHeight="shorter">{label}</Text></Stack>@@ -84,18 +84,18 @@ export const OperationPanel = ({if (lookupError) {return (- <Alert.Root size="sm" status="error" variant="surface">+ <Alert.Root size="md" status="error" variant="surface"><Alert.Indicator /><Alert.Content><Alert.Title>{t('intermediates.operation.lookupFailed')}</Alert.Title><Alert.Description>{lookupError}</Alert.Description><HStack gap="2" mt="2">{isLookupRetryable ? (- <Button loading={isRefetching} size="2xs" variant="outline" onClick={onRefetch}>+ <Button loading={isRefetching} size="sm" variant="outline" onClick={onRefetch}>{t('common.retry')}</Button>) : null}- <Button size="2xs" variant="ghost" onClick={onDismiss}>+ <Button size="sm" variant="ghost" onClick={onDismiss}>{t('intermediates.operation.dismiss')}</Button></HStack>@@ -106,7 +106,7 @@ export const OperationPanel = ({if (!operation) {return isLoading ? (- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('intermediates.operation.pending')}</Text>) : null;@@ -121,7 +121,7 @@ export const OperationPanel = ({return (<Alert.Root- size="sm"+ size="md"status={operation.status === 'failed' ? 'error' : operation.status === 'completed' ? 'success' : 'info'}variant="surface">@@ -136,20 +136,20 @@ export const OperationPanel = ({aria-label={statusLabel}colorPalette="accent"max={Math.max(total, 1)}- size="xs"+ size="md"value={processed}><Progress.Track><Progress.Range /></Progress.Track></Progress.Root>- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('intermediates.operation.progress', { done: formatCount(processed), total: formatCount(total) })}</Text></Stack>)}{operation.error ? (- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{operation.error}</Text>) : null}@@ -172,18 +172,18 @@ export const OperationPanel = ({<Stat label={t('intermediates.operation.reclaimed')} value={formatBytes(progress.reclaimedBytes)} /></HStack>{progress.pendingDiskCleanup > 0 ? (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('intermediates.operation.pendingDiskNote')}</Text>) : null}{settled ? (<HStack gap="2">{canRunOperationAgain(operation) ? (- <Button size="2xs" variant="outline" onClick={(event) => onRunAgain(event.currentTarget)}>+ <Button size="sm" variant="outline" onClick={(event) => onRunAgain(event.currentTarget)}>{t('intermediates.operation.runAgain')}</Button>) : null}- <Button size="2xs" variant="ghost" onClick={onDismiss}>+ <Button size="sm" variant="ghost" onClick={onDismiss}>{t('intermediates.operation.dismiss')}</Button></HStack>diff --git a/invokeai/frontend/webv2/src/features/models/ui/ModelsPage.tsx b/invokeai/frontend/webv2/src/features/models/ui/ModelsPage.tsxindex f4c05040d4..6eee0191ae 100644--- a/invokeai/frontend/webv2/src/features/models/ui/ModelsPage.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/ModelsPage.tsx@@ -8,7 +8,7 @@ const ModelManagerView = lazy(() =>const FALLBACK = (<Center h="full">- <Spinner color="fg.muted" size="sm" />+ <Spinner color="fg.muted" size="lg" /></Center>);diff --git a/invokeai/frontend/webv2/src/features/models/ui/add-models/AccessTokenPopover.tsx b/invokeai/frontend/webv2/src/features/models/ui/add-models/AccessTokenPopover.tsxindex 41f8576fc0..09c7da3812 100644--- a/invokeai/frontend/webv2/src/features/models/ui/add-models/AccessTokenPopover.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/add-models/AccessTokenPopover.tsx@@ -22,7 +22,7 @@ export const AccessTokenPopover = ({<IconButtonaria-label={t('models.accessTokenForDownload')}color={value.trim() === '' ? 'fg.muted' : 'accent.solid'}- size="sm"+ size="lg"variant="outline"><Icon as={KeyRoundIcon} boxSize="4" />@@ -33,21 +33,21 @@ export const AccessTokenPopover = ({<PopoverContent w="20rem"><Popover.Body p="2.5"><Stack gap="2">- <Text color="fg.subtle" fontSize="2xs" fontWeight="700" textTransform="uppercase">+ <Text color="fg.subtle" fontSize="xs" fontWeight="700" textTransform="uppercase">{t('models.accessToken')}</Text><Inputaria-label={t('models.accessToken')}placeholder={t('models.accessTokenPlaceholder')}- size="xs"+ size="md"type="password"value={value}onChange={(event) => onChange(event.currentTarget.value)}/>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('models.accessTokenHelp')}</Text>- <Button alignSelf="start" size="2xs" variant="ghost" onClick={onManageKeys}>+ <Button alignSelf="start" size="sm" variant="ghost" onClick={onManageKeys}>{t('models.manageApiKeys')}<Icon as={ArrowRightIcon} boxSize="3" /></Button>diff --git a/invokeai/frontend/webv2/src/features/models/ui/add-models/AddModelsView.tsx b/invokeai/frontend/webv2/src/features/models/ui/add-models/AddModelsView.tsxindex 217ca7555d..b2d91f08bd 100644--- a/invokeai/frontend/webv2/src/features/models/ui/add-models/AddModelsView.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/add-models/AddModelsView.tsx@@ -318,7 +318,7 @@ export const AddModelsView = () => {<Inputaria-label={t('models.searchOrAdd')}placeholder={t('models.searchOrAddPlaceholder')}- size="sm"+ size="lg"value={query}onChange={(event) => setQuery(event.currentTarget.value)}onKeyDown={(event) => {@@ -346,13 +346,13 @@ export const AddModelsView = () => {) : null}{canScan && isScanning ? (- <Button size="sm" variant="outline" onClick={handleStopScan}>- <Spinner size="xs" />+ <Button size="lg" variant="outline" onClick={handleStopScan}>+ <Spinner size="md" />{t('models.stopScan')}</Button>) : canScan ? (<Tooltip content={t('models.scanFolderTooltip')}>- <Button size="sm" variant="solid" onClick={() => void handleScan()}>+ <Button size="lg" variant="solid" onClick={() => void handleScan()}><Icon as={FolderSearchIcon} boxSize="3.5" />{t('models.scan')}</Button>@@ -360,7 +360,7 @@ export const AddModelsView = () => {) : null}{canPull ? (- <Button loading={isPulling} size="sm" variant="solid" onClick={() => void handlePull()}>+ <Button loading={isPulling} size="lg" variant="solid" onClick={() => void handlePull()}><Icon as={DownloadIcon} boxSize="3.5" />{t('models.pull')}</Button>@@ -368,7 +368,7 @@ export const AddModelsView = () => {</HStack>{kind.isInstallable && !hasResults ? (- <HStack color="fg.subtle" fontSize="2xs" gap="2" px="3" wrap="wrap">+ <HStack color="fg.subtle" fontSize="xs" gap="2" px="3" wrap="wrap">{canScan ? (<Text>{t('models.press')}{' '}diff --git a/invokeai/frontend/webv2/src/features/models/ui/add-models/BundleChips.tsx b/invokeai/frontend/webv2/src/features/models/ui/add-models/BundleChips.tsxindex 77fdd30ad7..59091a3334 100644--- a/invokeai/frontend/webv2/src/features/models/ui/add-models/BundleChips.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/add-models/BundleChips.tsx@@ -36,7 +36,7 @@ export const BundleChips = ({label={t('modelManager.launchpad.starterBundles')}minW="0"orientation="horizontal"- size="xs"+ size="md"variant="hover"><HStack gap="1.5">@@ -83,10 +83,10 @@ const BundleChip = ({onSelect: () => void;subLabel: string;}) => (- <Button flexShrink={0} size="xs" variant={isSelected ? 'solid' : 'subtle'} onClick={onSelect}>+ <Button flexShrink={0} size="md" variant={isSelected ? 'solid' : 'subtle'} onClick={onSelect}><Icon as={isComplete ? CheckIcon : FolderIcon} boxSize="3" />{label}- <Badge variant="surface" size="xs" ms="1" me="-1">+ <Badge variant="surface" size="md" ms="1" me="-1">{subLabel}</Badge></Button>diff --git a/invokeai/frontend/webv2/src/features/models/ui/add-models/InstallOptions.tsx b/invokeai/frontend/webv2/src/features/models/ui/add-models/InstallOptions.tsxindex e02d6da92c..416e7ee3fa 100644--- a/invokeai/frontend/webv2/src/features/models/ui/add-models/InstallOptions.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/add-models/InstallOptions.tsx@@ -30,24 +30,24 @@ export const InstallOptions = ({<Checkbox.Rootchecked={inplace}colorPalette="accent"- size="xs"+ size="sm"onCheckedChange={(event) => onSetInplace(event.checked === true)}><Checkbox.HiddenInput /><Checkbox.Control />- <Checkbox.Label fontSize="2xs">{t('models.installInPlace')}</Checkbox.Label>+ <Checkbox.Label fontSize="xs">{t('models.installInPlace')}</Checkbox.Label></Checkbox.Root>)}<Tooltip content={t('models.installFp8StorageTooltip')}><Checkbox.Rootchecked={fp8Storage}colorPalette="accent"- size="xs"+ size="sm"onCheckedChange={(event) => onSetFp8Storage(event.checked === true)}><Checkbox.HiddenInput aria-describedby={fp8StorageDescriptionId} /><Checkbox.Control />- <Checkbox.Label fontSize="2xs">{t('models.installFp8Storage')}</Checkbox.Label>+ <Checkbox.Label fontSize="xs">{t('models.installFp8Storage')}</Checkbox.Label></Checkbox.Root></Tooltip><VisuallyHidden id={fp8StorageDescriptionId}>{t('models.installFp8StorageTooltip')}</VisuallyHidden>diff --git a/invokeai/frontend/webv2/src/features/models/ui/add-models/ScanResults.tsx b/invokeai/frontend/webv2/src/features/models/ui/add-models/ScanResults.tsxindex 12d5a15db4..9d04eaabf5 100644--- a/invokeai/frontend/webv2/src/features/models/ui/add-models/ScanResults.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/add-models/ScanResults.tsx@@ -56,10 +56,10 @@ export const ScanResults = ({if (scan.results.length === 0) {return (<HStack justify="space-between">- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('models.noModelFilesFound', { path: scan.path })}</Text>- <IconButton aria-label={t('models.dismissScanResults')} size="2xs" variant="ghost" onClick={onClear}>+ <IconButton aria-label={t('models.dismissScanResults')} size="sm" variant="ghost" onClick={onClear}><Icon as={XIcon} boxSize="3" /></IconButton></HStack>diff --git a/invokeai/frontend/webv2/src/features/models/ui/add-models/SelectedBundleBar.tsx b/invokeai/frontend/webv2/src/features/models/ui/add-models/SelectedBundleBar.tsxindex b35192707c..753ac494d9 100644--- a/invokeai/frontend/webv2/src/features/models/ui/add-models/SelectedBundleBar.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/add-models/SelectedBundleBar.tsx@@ -20,12 +20,12 @@ export const SelectedBundleBar = ({return (<HStack gap="2" justify="space-between" px="3">- <Text color="fg.subtle" fontSize="2xs" truncate>+ <Text color="fg.subtle" fontSize="xs" truncate>{bundle.name} · {t('models.modelCount', { count: bundle.models.length })} ·{' '}{missingCount === 0 ? t('models.allInstalled') : t('models.countToInstall', { count: missingCount })}</Text>{missingCount > 0 ? (- <Button flexShrink={0} loading={isInstalling} size="2xs" variant="outline" onClick={onInstall}>+ <Button flexShrink={0} loading={isInstalling} size="sm" variant="outline" onClick={onInstall}><Icon as={DownloadIcon} boxSize="3" />{t('models.installBundle')}</Button>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.tsxindex 16fe1fc368..a02262ee3a 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@@ -54,10 +54,10 @@ export const StarterList = ({if (status === 'error' && loadError) {return (<Stack align="center" gap="1" py="8">- <Text color="fg.error" fontSize="xs" fontWeight="600">+ <Text color="fg.error" fontSize="md" fontWeight="600">{t('models.couldNotLoadStarterModels')}</Text>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{loadError}</Text></Stack>@@ -67,14 +67,14 @@ export const StarterList = ({if (!response) {return (<Flex align="center" justify="center" py="10">- <Spinner color="fg.subtle" size="sm" />+ <Spinner color="fg.subtle" size="lg" /></Flex>);}if (models.length === 0) {return (- <Text color="fg.muted" fontSize="2xs" py="6" textAlign="center">+ <Text color="fg.muted" fontSize="xs" py="6" textAlign="center">{isInstallable ? t('models.noStarterModelsPull') : t('models.noStarterModelsSearch')}</Text>);@@ -89,11 +89,11 @@ export const StarterList = ({).length;const trailing = externalProviderId ? (configuredExternalProviders.has(externalProviderId) ? (- <Badge colorPalette="green" fontSize="2xs" size="sm" variant="surface">+ <Badge colorPalette="green" fontSize="xs" size="lg" variant="surface">{t('models.installed')}</Badge>) : (- <Button size="2xs" variant="outline" onClick={() => onConfigureExternalProvider(externalProviderId)}>+ <Button size="sm" variant="outline" onClick={() => onConfigureExternalProvider(externalProviderId)}><Icon as={KeyRoundIcon} boxSize="3" />{t('common.configure')}</Button>@@ -115,10 +115,10 @@ export const StarterList = ({actions={trailing}badges={<>- <Badge colorPalette={getModelBaseColorPalette(model.base)} fontSize="2xs" size="sm" variant="surface">+ <Badge colorPalette={getModelBaseColorPalette(model.base)} fontSize="xs" size="lg" variant="surface">{getModelBaseLabel(model.base)}</Badge>- <Badge colorPalette="gray" fontSize="2xs" size="sm" variant="surface">+ <Badge colorPalette="gray" fontSize="xs" size="lg" variant="surface">{getModelTypeLabel(model.type)}</Badge></>diff --git a/invokeai/frontend/webv2/src/features/models/ui/components/ModelSelect.tsx b/invokeai/frontend/webv2/src/features/models/ui/components/ModelSelect.tsxindex 632fd54b15..fea58cbe96 100644--- a/invokeai/frontend/webv2/src/features/models/ui/components/ModelSelect.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/components/ModelSelect.tsx@@ -93,7 +93,7 @@ export const ModelSelect = ({placeholder,scopeLabel: scopeLabelOverride,showManagerButton = true,- size = 'sm',+ size = 'lg',value,}: {className?: string;@@ -109,7 +109,7 @@ export const ModelSelect = ({/** Plural noun for the offered models in empty/search copy; defaults to the model type's plural label. */scopeLabel?: string;showManagerButton?: boolean;- size?: 'xs' | 'sm' | 'md';+ size?: 'md' | 'lg' | 'xl';value: string | null;}) => {const { t } = useTranslation();@@ -276,7 +276,7 @@ export const ModelSelect = ({{selectedModel ? (<ModelButtonContent model={selectedModel} />) : (- <Text as="span" color="fg.muted" fontSize="xs" minW="0" truncate>+ <Text as="span" color="fg.muted" fontSize="md" minW="0" truncate>{isEmpty ? emptyMessage : (placeholder ?? t('models.scopeSelect', { scope: scopeLabel }))}</Text>)}@@ -289,7 +289,7 @@ export const ModelSelect = ({disabled={disabled}insetEnd="1"position="absolute"- size="2xs"+ size="sm"top="50%"transform="translateY(-50%)"zIndex="1"@@ -340,20 +340,20 @@ export const ModelSelect = ({selectedId={value}statusSlot={loadStatus === 'idle' || loadStatus === 'loading' ? (- <Text color="fg.subtle" fontSize="2xs" p="2">+ <Text color="fg.subtle" fontSize="xs" p="2">{t('models.loadingModels')}</Text>) : loadStatus === 'error' ? (<Stack alignItems="start" gap="1.5" p="2">- <Text color="fg.error" fontSize="2xs">+ <Text color="fg.error" fontSize="xs">{loadError ?? t('models.failedToLoadModels')}</Text>- <Button size="2xs" variant="outline" onClick={() => void ensureModelsLoaded()}>+ <Button size="sm" variant="outline" onClick={() => void ensureModelsLoaded()}>{t('common.retry')}</Button></Stack>) : candidates.length === 0 ? (- <Text color="fg.subtle" fontSize="2xs" p="2">+ <Text color="fg.subtle" fontSize="xs" p="2">{emptyMessage}</Text>) : undefined@@ -370,7 +370,7 @@ export const ModelSelect = ({flexShrink={0}opacity={selectedBases.size === 0 ? 0.5 : undefined}pointerEvents={selectedBases.size === 0 ? 'none' : undefined}- size="2xs"+ size="sm"variant="ghost"onClick={() => setSelectedBases(EMPTY_BASES)}>@@ -407,7 +407,7 @@ const CompactViewToggle = ({ isCompact, pickerId }: { isCompact: boolean; pickeraria-label={label}aria-pressed={isCompact}flexShrink={0}- size="xs"+ size="md"variant="ghost"onClick={handleClick}>@@ -424,7 +424,7 @@ const ModelManagerLinkButton = () => {return (<Tooltip content={t('models.manageModels')} showArrow>- <IconButton aria-label={t('models.manageModels')} asChild flexShrink={0} size="xs" variant="ghost">+ <IconButton aria-label={t('models.manageModels')} asChild flexShrink={0} size="md" variant="ghost"><Link search={search} to="/models"><BoxIcon /></Link>@@ -445,9 +445,9 @@ const BaseChip = ({<Badgearia-pressed={isSelected}colorPalette={getModelBaseColorPalette(base)}- fontSize="2xs"+ fontSize="xs"role="button"- size="sm"+ size="lg"tabIndex={0}userSelect="none"variant={isSelected ? 'solid' : 'surface'}@@ -470,14 +470,8 @@ const BaseChip = ({const ModelButtonContent = ({ model }: { model: ModelConfig }) => (<HStack as="span" flex="1" gap="2" minW="0">- <MiddleTruncate as="span" fontSize="xs" minW="0" text={model.name} />- <Badge- colorPalette={getModelBaseColorPalette(model.base)}- flexShrink={0}- fontSize="2xs"- size="sm"- variant="surface"- >+ <MiddleTruncate as="span" fontSize="md" minW="0" text={model.name} />+ <Badge colorPalette={getModelBaseColorPalette(model.base)} flexShrink={0} fontSize="xs" size="lg" variant="surface">{getModelBaseLabel(model.base)}</Badge></HStack>@@ -525,20 +519,20 @@ const ModelOptionContent = ({/></Tooltip>) : null}- <MiddleTruncate fontSize="xs" minW="0" text={model.name} />+ <MiddleTruncate fontSize="md" minW="0" text={model.name} />{showType ? (- <Badge colorPalette="gray" flexShrink={0} fontSize="2xs" size="xs" variant="surface">+ <Badge colorPalette="gray" flexShrink={0} fontSize="xs" size="md" variant="surface">{getModelTypeLabel(model.type)}</Badge>) : null}</HStack>{showDetail && enableDescription && model.description ? (- <Text color="fg.subtle" fontSize="2xs" lineClamp={2}>+ <Text color="fg.subtle" fontSize="xs" lineClamp={2}>{model.description}</Text>) : null}</Stack>- <Text color="fg.subtle" flexShrink={0} fontSize="2xs" fontStyle="italic">+ <Text color="fg.subtle" flexShrink={0} fontSize="xs" fontStyle="italic">{formatBytes(model.file_size)}</Text></HStack>diff --git a/invokeai/frontend/webv2/src/features/models/ui/credentials/ApiKeysSection.tsx b/invokeai/frontend/webv2/src/features/models/ui/credentials/ApiKeysSection.tsxindex a7936a5f8c..e420ea3a32 100644--- a/invokeai/frontend/webv2/src/features/models/ui/credentials/ApiKeysSection.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/credentials/ApiKeysSection.tsx@@ -33,7 +33,7 @@ export const ApiKeysSection = () => {return (<Stack gap="3">- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('models.apiKeysDescription')}</Text><Grid gap="2.5" templateColumns="repeat(auto-fill, minmax(19rem, 1fr))">@@ -99,7 +99,7 @@ const ApiKeyCard = ({aria-label={t('models.apiKeyFor', { title })}disabled={isLoading}placeholder={placeholder}- size="xs"+ size="md"type="password"value={draft}onChange={(event) => setDraft(event.currentTarget.value)}@@ -113,7 +113,7 @@ const ApiKeyCard = ({<Buttondisabled={draft.trim().length === 0 || isLoading}loading={isBusy && draft.trim().length > 0}- size="xs"+ size="md"variant="solid"onClick={handleSave}>@@ -122,7 +122,7 @@ const ApiKeyCard = ({{onClear ? (<Buttondisabled={isBusy || isLoading}- size="sm"+ size="lg"variant="ghost"onClick={() =>void run(async (owner) => {diff --git a/invokeai/frontend/webv2/src/features/models/ui/credentials/ExternalProviderKeyCards.tsx b/invokeai/frontend/webv2/src/features/models/ui/credentials/ExternalProviderKeyCards.tsxindex e1490bfbe0..bb7a49adc6 100644--- a/invokeai/frontend/webv2/src/features/models/ui/credentials/ExternalProviderKeyCards.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/credentials/ExternalProviderKeyCards.tsx@@ -56,7 +56,7 @@ export const ExternalProviderKeyCards = ({ onError }: { onError: (title: string,// remount shows nothing rather than the previous attempt's stale message.if (status === 'error') {return (- <Text color="fg.error" fontSize="2xs">+ <Text color="fg.error" fontSize="xs">{t('models.externalProvidersUnavailable', { error: loadError ?? t('models.failedToLoadExternalProviders') })}</Text>);@@ -65,7 +65,7 @@ export const ExternalProviderKeyCards = ({ onError }: { onError: (title: string,// Show an explicit no-provider state after loading; suppress loading flicker.if (status === 'loaded' && (configs ?? []).length === 0) {return (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('models.noExternalProviders')}</Text>);@@ -214,7 +214,7 @@ const ExternalProviderKeyCard = ({aria-label={t('models.apiKeyFor', { title })}disabled={isBusy}placeholder={config.api_key_configured ? t('models.apiKeyConfigured') : placeholder}- size="xs"+ size="md"type="password"value={apiKeyDraft}onChange={(event) => setApiKeyDraft(event.currentTarget.value)}@@ -229,7 +229,7 @@ const ExternalProviderKeyCard = ({<Switch.Rootchecked={overrideBaseUrl}disabled={isBusy}- size="sm"+ size="md"onCheckedChange={(event) => {const checked = event.checked === true;@@ -244,7 +244,7 @@ const ExternalProviderKeyCard = ({<Switch.Control _checked={{ bg: 'accent.solid' }}><Switch.Thumb /></Switch.Control>- <Switch.Label color="fg.muted" fontSize="2xs">+ <Switch.Label color="fg.muted" fontSize="xs">{t('models.overrideBaseUrl')}</Switch.Label></Switch.Root>@@ -253,7 +253,7 @@ const ExternalProviderKeyCard = ({aria-label={t('models.baseUrlFor', { title })}disabled={isBusy}placeholder="https://api.example.com"- size="xs"+ size="md"value={baseUrlDraft}onChange={(event) => setBaseUrlDraft(event.currentTarget.value)}onKeyDown={(event) => {@@ -270,7 +270,7 @@ const ExternalProviderKeyCard = ({<Buttondisabled={(!hasApiKeyDraft && !hasBaseUrlChange) || isBusy}loading={isBusy}- size="xs"+ size="md"variant="solid"onClick={() => void handleSave()}>@@ -279,7 +279,7 @@ const ExternalProviderKeyCard = ({{canClear ? (<Buttondisabled={isBusy}- size="sm"+ size="lg"variant="ghost"onClick={() => void runProviderAction(() => clearExternalProviderConfig(config.provider_id))}>diff --git a/invokeai/frontend/webv2/src/features/models/ui/credentials/KeyCardShell.tsx b/invokeai/frontend/webv2/src/features/models/ui/credentials/KeyCardShell.tsxindex 4f30a8f219..7bcb513e6d 100644--- a/invokeai/frontend/webv2/src/features/models/ui/credentials/KeyCardShell.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/credentials/KeyCardShell.tsx@@ -50,16 +50,16 @@ export const KeyCardShell = ({</Flex><Stack flex="1" gap="0" minW="0"><HStack gap="1.5">- <Text fontSize="xs" fontWeight="700" truncate>+ <Text fontSize="md" fontWeight="700" truncate>{title}</Text>{status ? (- <Badge colorPalette={status.palette} flexShrink={0} fontSize="2xs" size="sm" variant="surface">+ <Badge colorPalette={status.palette} flexShrink={0} fontSize="xs" size="lg" variant="surface">{status.label}</Badge>) : null}</HStack>- <Text color="fg.subtle" fontSize="2xs" lineClamp={2}>+ <Text color="fg.subtle" fontSize="xs" lineClamp={2}>{description}</Text></Stack>diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/CpuOnlySetting.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/CpuOnlySetting.tsxindex cba8fe2097..a08179e0ed 100644--- a/invokeai/frontend/webv2/src/features/models/ui/detail/CpuOnlySetting.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/CpuOnlySetting.tsx@@ -78,18 +78,18 @@ export const CpuOnlySetting = ({checked={model.cpu_only === true}colorPalette="accent"disabled={isPending}- size="sm"+ size="md"onCheckedChange={handleCheckedChange}><Switch.HiddenInput /><Switch.Control><Switch.Thumb /></Switch.Control>- <Switch.Label fontSize="xs" fontWeight="600">+ <Switch.Label fontSize="md" fontWeight="600">{isVae ? t('models.runVaeOnCpu') : t('models.runOnCpu')}</Switch.Label></Switch.Root>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{isVae ? t('models.runVaeOnCpuHelp') : t('models.runOnCpuHelp')}</Text></Stack>diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/DefaultSettingsSection.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/DefaultSettingsSection.tsxindex a51da57c4c..3b45dfac19 100644--- a/invokeai/frontend/webv2/src/features/models/ui/detail/DefaultSettingsSection.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/DefaultSettingsSection.tsx@@ -62,7 +62,7 @@ const FieldControl = ({ control, disabled, label, modelBase, setValue, value }:max={control.max}min={control.min}position="relative"- size="sm"+ size="lg"step={control.step ?? 1}value={typeof value === 'number' ? String(value) : ''}w="full"@@ -99,7 +99,7 @@ const FieldControl = ({ control, disabled, label, modelBase, setValue, value }:aria-label={label}collection={selectCollection}disabled={disabled}- size="sm"+ size="lg"value={typeof value === 'string' ? [value] : []}onValueChange={({ value: next }) => {const nextValue = next[0];@@ -118,7 +118,7 @@ const FieldControl = ({ control, disabled, label, modelBase, setValue, value }:aria-label={label}disabled={disabled}options={comboboxOptions}- size="sm"+ size="lg"value={typeof value === 'string' ? value : null}onValueChange={setValue}/>@@ -134,7 +134,7 @@ const FieldControl = ({ control, disabled, label, modelBase, setValue, value }:modelTypes={control.modelTypes}placeholder={t(control.placeholderKey)}showManagerButton={false}- size="sm"+ size="lg"// The 'default' sentinel renders as the placeholder: the toggle is on// but no specific model is pinned.value={typeof value === 'string' && value !== 'default' ? value : null}@@ -219,14 +219,14 @@ export const DefaultSettingsSection = ({<HStack justify="space-between"><Stack gap="0.5"><FieldLabel>{t('models.defaultSettings')}</FieldLabel>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('models.defaultSettingsHelp')}</Text></Stack><Buttondisabled={!isDirty}loading={visibleIsSaving}- size="xs"+ size="md"variant="solid"onClick={() => void handleSave()}>@@ -234,7 +234,7 @@ export const DefaultSettingsSection = ({</Button></HStack>{visibleError ? (- <Text color="fg.error" fontSize="2xs" role="alert">+ <Text color="fg.error" fontSize="xs" role="alert">{visibleError}</Text>) : null}@@ -246,13 +246,13 @@ export const DefaultSettingsSection = ({return (<Panel key={field.key} gap="2" p="2.5" tone="surface"><HStack justify="space-between">- <Text fontSize="2xs" fontWeight="600" textTransform="uppercase">+ <Text fontSize="xs" fontWeight="600" textTransform="uppercase">{t(field.labelKey)}</Text><Switch.Rootchecked={isEnabled}colorPalette="accent"- size="xs"+ size="sm"onCheckedChange={(event) => setFieldValue(field.key, event.checked ? field.defaultValue : null)}><Switch.HiddenInput />@@ -272,7 +272,7 @@ export const DefaultSettingsSection = ({value={isEnabled ? value : field.defaultValue}/>) : null}- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{isEnabled ? t('models.customizedForThisModel') : t(field.inheritLabelKey)}</Text></Panel>diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.browser.test.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.browser.test.tsxindex 33da24d817..ac10f2b28f 100644--- a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.browser.test.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.browser.test.tsx@@ -44,7 +44,7 @@ it('keeps base badges distinct and readable through theme changes and filter sel{Object.values(MODEL_BASES).map(({ base, label, colorPalette }) => (<HStack key={base} data-base={base} gap="4" mb="2"><ModelBaseBadge base={base} />- <Badge colorPalette={colorPalette} size="sm" variant="solid">+ <Badge colorPalette={colorPalette} size="lg" variant="solid">{label}</Badge></HStack>diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.tsxindex a48cf3c10f..f317a227ba 100644--- a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelBadges.tsx@@ -6,13 +6,13 @@ import { getModelFormatLabel } from '@features/models/core/taxonomy';import { useTranslation } from 'react-i18next';export const ModelBaseBadge = ({ base }: { base: ModelConfig['base'] }) => (- <Badge colorPalette={getModelBaseColorPalette(base)} flexShrink={0} fontSize="2xs" size="sm" variant="surface">+ <Badge colorPalette={getModelBaseColorPalette(base)} flexShrink={0} fontSize="xs" size="lg" variant="surface">{getModelBaseLabel(base)}</Badge>);export const ModelFormatBadge = ({ format }: { format: ModelConfig['format'] }) => (- <Badge colorPalette="gray" flexShrink={0} fontSize="2xs" size="sm" variant="surface">+ <Badge colorPalette="gray" flexShrink={0} fontSize="xs" size="lg" variant="surface">{getModelFormatLabel(format)}</Badge>);@@ -21,7 +21,7 @@ export const MissingFileBadge = () => {const { t } = useTranslation();return (- <Badge colorPalette="red" flexShrink={0} fontSize="2xs" size="sm" variant="surface">+ <Badge colorPalette="red" flexShrink={0} fontSize="xs" size="lg" variant="surface">{t('models.missingFile')}</Badge>);diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelDetail.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelDetail.tsxindex 2095e63ca5..0c09a8ab2b 100644--- a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelDetail.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelDetail.tsx@@ -140,7 +140,7 @@ export const ModelDetail = ({ modelKey, onDeleted }: { modelKey: string; onDeletif (!model) {return (<Stack align="start" gap="2" p="1">- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{t('models.modelNoLongerInLibrary')}</Text></Stack>@@ -225,7 +225,7 @@ const ModelIdentitySection = memo(function ModelIdentitySection({onUpdated={() => notify.success(t('models.modelImageUpdated'))}/><Stack flex="1" gap="1" minW="0">- <Text fontSize="sm" fontWeight="700" lineClamp={2}>+ <Text fontSize="lg" fontWeight="700" lineClamp={2}>{model.name}</Text><HStack gap="1" minW="0" wrap="wrap">@@ -235,13 +235,13 @@ const ModelIdentitySection = memo(function ModelIdentitySection({{isMissing ? (<HStack gap="1.5"><MissingFileBadge />- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('models.fileNotFoundOnDisk')}</Text></HStack>) : null}{model.description ? (- <Text color="fg.muted" fontSize="2xs" lineClamp={3}>+ <Text color="fg.muted" fontSize="xs" lineClamp={3}>{model.description}</Text>) : null}@@ -288,18 +288,18 @@ const ModelDetailActions = ({return (<HStack flexShrink={0} gap="1" wrap="wrap">{isConvertibleToDiffusers(model) ? (- <Button size="xs" variant="outline" onClick={() => setPendingAction({ kind: 'convert', model })}>+ <Button size="md" variant="outline" onClick={() => setPendingAction({ kind: 'convert', model })}><Icon as={HuggingFaceIcon} boxSize="3" />{t('models.convertToDiffusers')}</Button>) : null}- <Button size="xs" variant={isEditing ? 'solid' : 'outline'} onClick={onToggleEditing}>+ <Button size="md" variant={isEditing ? 'solid' : 'outline'} onClick={onToggleEditing}><Icon as={PencilIcon} boxSize="3" />{isEditing ? t('models.editing') : t('common.edit')}</Button><Menu.Root positioning={{ placement: 'bottom-end' }}><Menu.Trigger asChild>- <IconButton aria-label={t('models.actions')} loading={isActionBusy} size="xs" variant="ghost">+ <IconButton aria-label={t('models.actions')} loading={isActionBusy} size="md" variant="ghost"><Icon as={MoreHorizontalIcon} boxSize="4" /></IconButton></Menu.Trigger>@@ -425,7 +425,7 @@ const ModelAttributes = ({ isMissing, model }: { isMissing: boolean; model: Modeaction: canUpdatePath ? (<IconButtonaria-label={t('models.updatePath')}- size="2xs"+ size="sm"variant="ghost"onClick={() => setIsPathDialogOpen(true)}>@@ -466,13 +466,13 @@ const ModelAttributes = ({ isMissing, model }: { isMissing: boolean; model: Modereturn (<>- <DataList.Root gap="2.5" orientation="horizontal" size="sm" variant="subtle">+ <DataList.Root gap="2.5" orientation="horizontal" size="md" variant="subtle">{attributes.map((attribute) => (<DataList.Item key={attribute.label}>- <DataList.ItemLabel color="fg.subtle" fontSize="2xs" minW="8rem" textTransform="uppercase">+ <DataList.ItemLabel color="fg.subtle" fontSize="xs" minW="8rem" textTransform="uppercase">{attribute.label}</DataList.ItemLabel>- <DataList.ItemValue alignItems="center" display="flex" fontSize="2xs" gap="1" overflowWrap="anywhere">+ <DataList.ItemValue alignItems="center" display="flex" fontSize="xs" gap="1" overflowWrap="anywhere">{attribute.href ? (<chakra.aalignItems="center"diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelEditForm.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelEditForm.tsxindex 4186cf9eba..abdba5fcd4 100644--- a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelEditForm.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelEditForm.tsx@@ -159,7 +159,7 @@ export const ModelEditForm = ({<Field error={form.errors.name} label={t('common.name')}><Inputaria-invalid={form.errors.name ? true : undefined}- size="sm"+ size="lg"value={form.values.name}onChange={(event) => form.setValue('name', event.currentTarget.value)}/>@@ -167,7 +167,7 @@ export const ModelEditForm = ({<Field error={form.errors.description} label={t('models.description')}><Textarearows={2}- size="sm"+ size="lg"value={form.values.description}onChange={(event) => form.setValue('description', event.currentTarget.value)}/>@@ -177,7 +177,7 @@ export const ModelEditForm = ({<Selectaria-label={t('models.base')}collection={baseCollection}- size="sm"+ size="lg"value={[form.values.base]}onValueChange={({ value }) => {const base = value[0];@@ -192,7 +192,7 @@ export const ModelEditForm = ({<Selectaria-label={t('models.type')}collection={MODEL_TYPE_COLLECTION}- size="sm"+ size="lg"value={[form.values.type]}onValueChange={({ value }) => {const type = value[0];@@ -210,7 +210,7 @@ export const ModelEditForm = ({<Selectaria-label={t('models.variant')}collection={variantCollection}- size="sm"+ size="lg"value={[form.values.variant]}onValueChange={({ value }) => {const variant = value[0];@@ -222,7 +222,7 @@ export const ModelEditForm = ({/>) : (<Input- size="sm"+ size="lg"value={form.values.variant}onChange={(event) => form.setValue('variant', event.currentTarget.value)}/>@@ -232,7 +232,7 @@ export const ModelEditForm = ({<Selectaria-label={t('models.predictionType')}collection={predictionTypeCollection}- size="sm"+ size="lg"value={[form.values.predictionType]}onValueChange={({ value }) => {const predictionType = value[0];@@ -249,7 +249,7 @@ export const ModelEditForm = ({<Selectaria-label={t('models.format')}collection={formatCollection}- size="sm"+ size="lg"value={[form.values.format]}onValueChange={({ value }) => {const format = value[0];@@ -263,7 +263,7 @@ export const ModelEditForm = ({{hasConfigPath ? (<Field error={form.errors.configPath} helpText={t('models.configPathHelp')} label={t('models.configPath')}><Input- size="sm"+ size="lg"value={form.values.configPath}onChange={(event) => form.setValue('configPath', event.currentTarget.value)}/>@@ -274,21 +274,21 @@ export const ModelEditForm = ({<Inputaria-invalid={form.errors.sourceUrl ? true : undefined}placeholder="https://…"- size="sm"+ size="lg"value={form.values.sourceUrl}onChange={(event) => form.setValue('sourceUrl', event.currentTarget.value)}/></Field>{form.formError ? (- <Text color="fg.error" fontSize="2xs" role="alert">+ <Text color="fg.error" fontSize="xs" role="alert">{form.formError}</Text>) : null}<HStack gap="2" justify="flex-end">- <Button disabled={form.isSubmitting} size="xs" variant="ghost" onClick={onCancel}>+ <Button disabled={form.isSubmitting} size="md" variant="ghost" onClick={onCancel}>{t('common.cancel')}</Button>- <Button loading={form.isSubmitting} size="xs" variant="solid" onClick={() => void handleSave()}>+ <Button loading={form.isSubmitting} size="md" variant="solid" onClick={() => void handleSave()}>{t('users.saveChanges')}</Button></HStack>diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelSettingsMenuItems.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelSettingsMenuItems.tsxindex 00058151f6..93d0e3e7be 100644--- a/invokeai/frontend/webv2/src/features/models/ui/detail/ModelSettingsMenuItems.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/ModelSettingsMenuItems.tsx@@ -147,11 +147,11 @@ export const ModelSettingsMenuItems = ({ modelKey }: { modelKey: string }) => {<><Menu.Item value="export-settings" onClick={() => void handleExport()}><Icon as={DownloadIcon} boxSize="3.5" />- <Menu.ItemText fontSize="xs">{t('models.exportSettings')}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{t('models.exportSettings')}</Menu.ItemText></Menu.Item><Menu.Item value="import-settings" onClick={() => fileInputRef.current?.click()}><Icon as={UploadIcon} boxSize="3.5" />- <Menu.ItemText fontSize="xs">{t('models.importSettings')}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{t('models.importSettings')}</Menu.ItemText></Menu.Item><inputaccept="application/json,.json"diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/RelatedModelsSection.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/RelatedModelsSection.tsxindex 17a9e25389..ae1a50430c 100644--- a/invokeai/frontend/webv2/src/features/models/ui/detail/RelatedModelsSection.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/RelatedModelsSection.tsx@@ -114,7 +114,7 @@ const RelatedModelsForModel = ({ model, onError }: RelatedModelsSectionProps) =><Stack gap="0.5"><FieldLabel>{t('models.relatedModels')}</FieldLabel>{canAddLinks ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('models.relatedModelsHelp')}</Text>) : null}@@ -126,7 +126,7 @@ const RelatedModelsForModel = ({ model, onError }: RelatedModelsSectionProps) =>modelTypes={LINKABLE_TYPES}placeholder={t('models.searchCompatibleToLink')}showManagerButton={false}- size="sm"+ size="lg"value={null}onChange={(target) => {void handleAdd(target);@@ -134,9 +134,9 @@ const RelatedModelsForModel = ({ model, onError }: RelatedModelsSectionProps) =>/>) : null}{relatedKeys === null ? (- <Spinner color="fg.subtle" size="xs" />+ <Spinner color="fg.subtle" size="md" />) : relatedModels.length === 0 ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('models.noRelatedModels')}</Text>) : (@@ -149,7 +149,7 @@ const RelatedModelsForModel = ({ model, onError }: RelatedModelsSectionProps) =><IconButtonaria-label={t('models.unlinkNamed', { name: relatedModel?.name ?? key })}disabled={isMutating}- size="2xs"+ size="sm"variant="ghost"onClick={() => {void handleRemove(key);@@ -164,13 +164,13 @@ const RelatedModelsForModel = ({ model, onError }: RelatedModelsSectionProps) =><><BadgecolorPalette={getModelBaseColorPalette(relatedModel.base)}- fontSize="2xs"- size="sm"+ fontSize="xs"+ size="lg"variant="surface">{getModelBaseLabel(relatedModel.base)}</Badge>- <Badge colorPalette="gray" fontSize="2xs" size="sm" variant="surface">+ <Badge colorPalette="gray" fontSize="xs" size="lg" variant="surface">{getModelTypeLabel(relatedModel.type)}</Badge></>diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/TriggerPhrasesEditor.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/TriggerPhrasesEditor.tsxindex 819c982795..c90a1313ac 100644--- a/invokeai/frontend/webv2/src/features/models/ui/detail/TriggerPhrasesEditor.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/TriggerPhrasesEditor.tsx@@ -63,7 +63,7 @@ export const TriggerPhrasesEditor = ({blurBehavior="add"disabled={isSaving}editable- size="sm"+ size="xl"validate={({ inputValue, value: current }) => {const parsed = triggerPhraseSchema.safeParse(inputValue);@@ -107,7 +107,7 @@ export const TriggerPhrasesEditor = ({<TagsInput.HiddenInput /></TagsInput.Root>{value.length === 0 ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('models.noTriggerPhrasesYet')}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/features/models/ui/detail/UpdatePathDialog.tsx b/invokeai/frontend/webv2/src/features/models/ui/detail/UpdatePathDialog.tsxindex 798ca51acb..b96cf72691 100644--- a/invokeai/frontend/webv2/src/features/models/ui/detail/UpdatePathDialog.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/detail/UpdatePathDialog.tsx@@ -71,7 +71,7 @@ export const UpdatePathDialog = ({<Dialog.Body><Stack gap="3"><Field label={t('models.currentPath')}>- <Text color="fg.muted" fontSize="2xs" overflowWrap="anywhere">+ <Text color="fg.muted" fontSize="xs" overflowWrap="anywhere">{model.path}</Text></Field>@@ -79,7 +79,7 @@ export const UpdatePathDialog = ({<Inputaria-invalid={validationError ? true : undefined}placeholder={t('models.newPathPlaceholder')}- size="sm"+ size="lg"value={path}onChange={(event) => {setPath(event.currentTarget.value);@@ -90,13 +90,13 @@ export const UpdatePathDialog = ({</Stack></Dialog.Body><Dialog.Footer>- <Button disabled={isBusy} size="xs" variant="ghost" onClick={onClose}>+ <Button disabled={isBusy} size="md" variant="ghost" onClick={onClose}>{t('common.cancel')}</Button><Buttondisabled={path.trim() === model.path}loading={isBusy}- size="xs"+ size="md"variant="solid"onClick={() => void handleSave()}>diff --git a/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallJobRow.tsx b/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallJobRow.tsxindex 50f89a114e..2f34672b7b 100644--- a/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallJobRow.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallJobRow.tsx@@ -81,7 +81,7 @@ const RowAction = ({aria-label={label}colorPalette={tone === 'danger' ? 'danger' : undefined}disabled={disabled}- size="2xs"+ size="sm"variant="ghost"onClick={onClick}>@@ -120,33 +120,33 @@ export const InstallJobRow = ({ row }: { row: InstallQueueRow }) => {<Stack gap="0" minW="0"><MiddleTruncatecolor={status === 'installed' ? 'fg.muted' : 'fg'}- fontSize="xs"+ fontSize="md"fontWeight="600"lineHeight="short"text={displayName}/>{sourceLabel !== displayName ? (- <MiddleTruncate color="fg.muted" fontFamily="mono" fontSize="2xs" text={sourceLabel} />+ <MiddleTruncate color="fg.muted" fontFamily="mono" fontSize="xs" text={sourceLabel} />) : null}{status === 'failed' && job.error ? (<HStack align="baseline" flexWrap="wrap" gap="1.5" pt="0.5">{job.error_reason ? (- <Badge colorPalette="red" fontFamily="mono" size="sm" variant="surface">+ <Badge colorPalette="red" fontFamily="mono" size="lg" variant="surface">{job.error_reason}</Badge>) : null}- <Text color="fg" fontSize="2xs" lineClamp={2} overflowWrap="anywhere">+ <Text color="fg" fontSize="xs" lineClamp={2} overflowWrap="anywhere">{job.error}</Text></HStack>) : null}{status === 'unauthorized' ? (<HStack align="baseline" flexWrap="wrap" gap="1.5" pt="0.5">- <Text color="fg" fontSize="2xs">+ <Text color="fg" fontSize="xs">{t(isHuggingFaceSource(job) ? 'models.gatedRepoMessage' : 'models.accessTokenRequiredMessage')}</Text><Button- fontSize="2xs"+ fontSize="xs"h="auto"minW="0"p="0"@@ -166,8 +166,8 @@ export const InstallJobRow = ({ row }: { row: InstallQueueRow }) => {color={part.resumeRequired ? 'fg.warning' : 'fg.error'}flexShrink={0}/>- <MiddleTruncate color="fg" fontFamily="mono" fontSize="2xs" minW="0" text={part.fileName} />- <Text color="fg.muted" fontSize="2xs" whiteSpace="nowrap">+ <MiddleTruncate color="fg" fontFamily="mono" fontSize="xs" minW="0" text={part.fileName} />+ <Text color="fg.muted" fontSize="xs" whiteSpace="nowrap">{part.message ?? (part.resumeRequired ? t('models.resumeRequired') : t('common.failed'))}</Text>{part.url ? (@@ -191,10 +191,10 @@ export const InstallJobRow = ({ row }: { row: InstallQueueRow }) => {<HStack gap="1.5"><BadgecolorPalette={presentation.palette}- fontSize="2xs"+ fontSize="xs"fontWeight="700"letterSpacing="wider"- size="sm"+ size="lg"textTransform="uppercase"variant="surface">diff --git a/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallProgressCell.tsx b/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallProgressCell.tsxindex 23e904c3e5..949e58b024 100644--- a/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallProgressCell.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallProgressCell.tsx@@ -32,7 +32,7 @@ export const InstallProgressBar = ({colorPalette={status === 'paused' ? 'gray' : 'accent'}max={1}minW="0"- size="xs"+ size="md"value={value}w="full">@@ -127,7 +127,7 @@ export const InstallProgressCell = ({{BAR_STATUSES.has(status) ? (<InstallProgressBar label={t('models.downloadProgress')} progress={progress} status={status} />) : null}- <Text color="fg.muted" fontFamily="mono" fontSize="2xs" lineHeight="short" overflowWrap="anywhere">+ <Text color="fg.muted" fontFamily="mono" fontSize="xs" lineHeight="short" overflowWrap="anywhere">{caption}</Text></Stack>diff --git a/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueBar.tsx b/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueBar.tsxindex 7d0df5f1e4..0a714bc343 100644--- a/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueBar.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueBar.tsx@@ -156,13 +156,13 @@ export const InstallQueueBar = () => {ms="-2"ps="2"pe="3"- size="xs"+ size="md"variant="ghost"_hover={TOGGLE_HOVER}onClick={() => setQueueExpanded(!queueExpanded)}><Icon as={queueExpanded ? ChevronDownIcon : ChevronUpIcon} boxSize="3.5" />- <Text color="fg" fontSize="xs" fontWeight="700">+ <Text color="fg" fontSize="md" fontWeight="700">{t('models.installQueue')}</Text></Button>@@ -180,7 +180,7 @@ export const InstallQueueBar = () => {{pausedJobs.length > 0 ? (<Buttonloading={isResumingAll}- size="2xs"+ size="sm"variant="ghost"onClick={() => void runBulk(runResumeAll, resumeModelInstall, pausedJobs)}>@@ -191,7 +191,7 @@ export const InstallQueueBar = () => {<Buttondisabled={pausableJobs.length === 0}loading={isPausingAll}- size="2xs"+ size="sm"variant="ghost"onClick={() => void runBulk(runPauseAll, pauseModelInstall, pausableJobs)}>@@ -202,7 +202,7 @@ export const InstallQueueBar = () => {<Menu.Root ids={bulkMenuIds} positioning={BULK_MENU_POSITIONING}><Tooltip content={t('models.moreQueueActions')} ids={bulkMenuIds}><Menu.Trigger asChild>- <IconButton aria-label={t('models.moreQueueActions')} size="2xs" variant="ghost">+ <IconButton aria-label={t('models.moreQueueActions')} size="sm" variant="ghost"><Icon as={ChevronDownIcon} boxSize="3" /></IconButton></Menu.Trigger>@@ -227,16 +227,16 @@ export const InstallQueueBar = () => {{pausableJobs.length + pausedJobs.length + cancellableJobs.length > 0 ? (<Separator h="4" mx="1" orientation="vertical" />) : null}- <Button loading={isRefreshing} size="2xs" variant="ghost" onClick={() => runRefresh(refreshInstalls)}>+ <Button loading={isRefreshing} size="sm" variant="ghost" onClick={() => runRefresh(refreshInstalls)}><Icon as={RefreshCcwIcon} boxSize="3" />{t('common.refresh')}</Button>- <Button disabled={finishedCount === 0} loading={isPruning} size="2xs" variant="ghost" onClick={handlePrune}>+ <Button disabled={finishedCount === 0} loading={isPruning} size="sm" variant="ghost" onClick={handlePrune}><Icon as={Trash2Icon} boxSize="3" />{t('models.clearFinished')}</Button><Tooltip content={queueMaximized ? t('models.restoreQueueTooltip') : t('models.maximizeQueueTooltip')}>- <Button size="2xs" variant="ghost" onClick={() => setQueueMaximized(!queueMaximized)}>+ <Button size="sm" variant="ghost" onClick={() => setQueueMaximized(!queueMaximized)}><Icon as={queueMaximized ? Minimize2Icon : Maximize2Icon} boxSize="3" />{queueMaximized ? t('models.restoreQueue') : t('models.maximizeQueue')}</Button>@@ -251,7 +251,7 @@ export const InstallQueueBar = () => {<IconButtonaria-label={t('models.clearFinished')}loading={isPruning}- size="2xs"+ size="sm"variant="ghost"onClick={handlePrune}>@@ -296,7 +296,7 @@ const CountChip = ({}return (- <Badge colorPalette={palette} flexShrink={0} fontSize="2xs" gap="1.5" rounded="full" size="sm" variant="surface">+ <Badge colorPalette={palette} flexShrink={0} fontSize="xs" gap="1.5" rounded="full" size="lg" variant="surface">{icon === 'dot' ? <Box bg="colorPalette.solid" boxSize="1.5" rounded="full" /> : null}{icon === 'alert' ? <Icon as={TriangleAlertIcon} boxSize="3" /> : null}{t(labelKey, { count })}@@ -333,7 +333,7 @@ const CollapsedSummary = ({{featured ? (<FeaturedJob row={featured} />) : (- <Text color="fg.muted" flex="1 1 10rem" fontSize="xs" minW="0" truncate>+ <Text color="fg.muted" flex="1 1 10rem" fontSize="md" minW="0" truncate>{summary.paused > 0? t('models.queuePausedCount', { count: summary.paused }): jobCount > 0@@ -366,7 +366,7 @@ const FeaturedJob = ({ row }: { row: InstallQueueRow }) => {<Spinner borderWidth="1.5px" boxSize="3.5" color="accent.solid" flexShrink={0} /><MiddleTruncateflexShrink={1}- fontSize="xs"+ fontSize="md"fontWeight="600"maxW="18rem"minW="5rem"@@ -375,7 +375,7 @@ const FeaturedJob = ({ row }: { row: InstallQueueRow }) => {<Box flexShrink={1} maxW="10rem" minW="3rem" w="full"><InstallProgressBar label={t('models.downloadProgress')} progress={progress} status={row.status} /></Box>- <Text color="fg.muted" flexShrink={3} fontFamily="mono" fontSize="2xs" minW="0" truncate>+ <Text color="fg.muted" flexShrink={3} fontFamily="mono" fontSize="xs" minW="0" truncate>{caption}</Text></HStack>@@ -393,7 +393,7 @@ const FeaturedActions = ({ row }: { row: InstallQueueRow }) => {<IconButtonaria-label={t('models.pauseDownload')}disabled={actions.isBusy}- size="2xs"+ size="sm"variant="ghost"onClick={actions.pause}>@@ -406,7 +406,7 @@ const FeaturedActions = ({ row }: { row: InstallQueueRow }) => {aria-label={t('models.cancelInstall')}colorPalette="danger"disabled={actions.isBusy}- size="2xs"+ size="sm"variant="ghost"onClick={actions.cancel}>diff --git a/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueTable.tsx b/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueTable.tsxindex 5b71973aaa..28ac0936b9 100644--- a/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueTable.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/install-queue/InstallQueueTable.tsx@@ -23,7 +23,7 @@ const TABLE_SX: SystemStyleObject = {const HEADER_PROPS = {borderColor: 'border.subtle',color: 'fg.muted',- fontSize: '2xs',+ fontSize: 'xs',fontWeight: '700',letterSpacing: 'wider',py: '1.5',@@ -44,7 +44,7 @@ export const InstallQueueTable = ({if (status === 'loading' || status === 'idle') {return (<Flex align="center" h="full" justify="center" py="6">- <Spinner color="fg.muted" size="sm" />+ <Spinner color="fg.muted" size="lg" /></Flex>);}@@ -52,7 +52,7 @@ export const InstallQueueTable = ({if (status === 'error') {return (<EmptyState danger description={error ?? undefined} h="full" title={t('models.couldNotLoadInstallQueue')}>- <Button size="xs" variant="outline" onClick={() => void refreshInstalls()}>+ <Button size="md" variant="outline" onClick={() => void refreshInstalls()}>{t('common.retry')}</Button></EmptyState>@@ -72,7 +72,7 @@ export const InstallQueueTable = ({return (<Scrollable h="full" label={t('models.installJobs')} minH="0">- <Table.Root css={TABLE_SX} minW="32rem" size="sm" tableLayout="fixed" w="full">+ <Table.Root css={TABLE_SX} minW="32rem" size="md" tableLayout="fixed" w="full"><Table.ColumnGroup><Table.Column w="2.25rem" /><Table.Column />diff --git a/invokeai/frontend/webv2/src/features/models/ui/launchpad/ModelsNotice.tsx b/invokeai/frontend/webv2/src/features/models/ui/launchpad/ModelsNotice.tsxindex ee5a9b0413..89905a1045 100644--- a/invokeai/frontend/webv2/src/features/models/ui/launchpad/ModelsNotice.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/launchpad/ModelsNotice.tsx@@ -52,11 +52,11 @@ export const ModelsNotice = () => {<Stack {...PANEL_STYLE}><Flex align="center" gap="2"><Icon as={BoxIcon} boxSize="4" color="fg.muted" />- <Text fontSize="sm" fontWeight="700">+ <Text fontSize="lg" fontWeight="700">{t('models.launchpad.noModelsTitle')}</Text></Flex>- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('models.launchpad.noModelsDescription')}</Text>{activeInstallCount > 0 ? <InstallProgress count={activeInstallCount} /> : <StarterBundles bundles={bundles} />}@@ -69,8 +69,8 @@ const InstallProgress = ({ count }: { count: number }) => {return (<Flex align="center" gap="2">- <Spinner color="fg.muted" size="xs" />- <Text color="fg.muted" fontSize="xs">+ <Spinner color="fg.muted" size="md" />+ <Text color="fg.muted" fontSize="md">{t('models.launchpad.installing', { count })}</Text></Flex>@@ -87,7 +87,7 @@ const StarterBundles = ({ bundles }: { bundles: Record<string, StarterModelBundlreturn (<Stack gap="2">- <Text color="fg.muted" fontSize="2xs" fontWeight="600" textTransform="uppercase">+ <Text color="fg.muted" fontSize="xs" fontWeight="600" textTransform="uppercase">{t('models.launchpad.starterBundles')}</Text><Wrap gap="2">@@ -108,7 +108,7 @@ const StarterBundleButton = ({ bundle, bundleKey }: { bundle: StarterModelBundle}, [bundle.name, bundleKey, navigate]);return (- <Button size="xs" variant="outline" onClick={handleOpen}>+ <Button size="md" variant="outline" onClick={handleOpen}>{bundle.name || bundleKey}<Icon as={ArrowRightIcon} boxSize="3" color="fg.muted" /></Button>diff --git a/invokeai/frontend/webv2/src/features/models/ui/library/MaintenanceMenu.tsx b/invokeai/frontend/webv2/src/features/models/ui/library/MaintenanceMenu.tsxindex c86afb4fb4..cc4515042b 100644--- a/invokeai/frontend/webv2/src/features/models/ui/library/MaintenanceMenu.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/library/MaintenanceMenu.tsx@@ -54,7 +54,7 @@ export const MaintenanceMenu = () => {<><Menu.Root positioning={{ placement: 'bottom-end' }}><Menu.Trigger asChild>- <IconButton aria-label={t('models.libraryMaintenance')} size="2xs" variant="ghost">+ <IconButton aria-label={t('models.libraryMaintenance')} size="sm" variant="ghost"><Icon as={MoreHorizontalIcon} boxSize="4" /></IconButton></Menu.Trigger>@@ -63,15 +63,15 @@ export const MaintenanceMenu = () => {<MenuContent minW="14rem"><Menu.Item value="refresh" onClick={() => void handleRefresh()}><Icon as={RefreshCcwIcon} boxSize="3.5" />- <Menu.ItemText fontSize="xs">{t('models.refreshList')}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{t('models.refreshList')}</Menu.ItemText></Menu.Item><Menu.Item value="sync" onClick={() => setIsSyncDialogOpen(true)}><Icon as={FolderSearchIcon} boxSize="3.5" />- <Menu.ItemText fontSize="xs">{t('models.cleanupOrphaned')}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{t('models.cleanupOrphaned')}</Menu.ItemText></Menu.Item><Menu.Item value="empty-cache" onClick={() => setIsEmptyCacheConfirmOpen(true)}><Icon as={BrushCleaningIcon} boxSize="3.5" />- <Menu.ItemText fontSize="xs">{t('models.emptyCache')}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{t('models.emptyCache')}</Menu.ItemText></Menu.Item></MenuContent></Menu.Positioner>diff --git a/invokeai/frontend/webv2/src/features/models/ui/library/ModelFilterBar.tsx b/invokeai/frontend/webv2/src/features/models/ui/library/ModelFilterBar.tsxindex f075327a66..7cac53bb20 100644--- a/invokeai/frontend/webv2/src/features/models/ui/library/ModelFilterBar.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/library/ModelFilterBar.tsx@@ -64,7 +64,7 @@ export const ModelFilterBar = ({<Inputaria-label={t('models.searchModels')}placeholder={t('models.searchModelsPlaceholder')}- size="xs"+ size="md"value={filters.searchTerm}onChange={(event) => handleSearchChange(event.currentTarget.value)}/>diff --git a/invokeai/frontend/webv2/src/features/models/ui/library/ModelLibraryList.tsx b/invokeai/frontend/webv2/src/features/models/ui/library/ModelLibraryList.tsxindex d9f87439b2..51ae632fd6 100644--- a/invokeai/frontend/webv2/src/features/models/ui/library/ModelLibraryList.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/library/ModelLibraryList.tsx@@ -121,7 +121,7 @@ export const ModelLibraryList = ({}icon={<Icon as={CircleAlert} />}>- <Button onClick={openAddModels} size="sm">+ <Button onClick={openAddModels} size="lg">{t('models.addModels')}<Icon as={ArrowRightIcon} /></Button>diff --git a/invokeai/frontend/webv2/src/features/models/ui/library/OrphanedModelsDialog.tsx b/invokeai/frontend/webv2/src/features/models/ui/library/OrphanedModelsDialog.tsxindex 378a6e7de7..46c26831f6 100644--- a/invokeai/frontend/webv2/src/features/models/ui/library/OrphanedModelsDialog.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/library/OrphanedModelsDialog.tsx@@ -126,15 +126,15 @@ export const OrphanedModelsDialog = ({ onClose }: { onClose: () => void }) => {</Dialog.Header><Dialog.Body>{loadError ? (- <Text color="fg.error" fontSize="xs" py="4">+ <Text color="fg.error" fontSize="md" py="4">{loadError}</Text>) : orphans === null ? (<Flex align="center" justify="center" py="8">- <Spinner color="fg.subtle" size="sm" />+ <Spinner color="fg.subtle" size="lg" /></Flex>) : orphans.length === 0 ? (- <Text color="fg.muted" fontSize="xs" py="4" textAlign="center">+ <Text color="fg.muted" fontSize="md" py="4" textAlign="center">{t('models.noOrphaned')}</Text>) : (@@ -145,7 +145,7 @@ export const OrphanedModelsDialog = ({ onClose }: { onClose: () => void }) => {}colorPalette="accent"ps="2"- size="sm"+ size="md"onCheckedChange={() => {setSelectedPaths(selectedPaths.size === orphans.length@@ -156,7 +156,7 @@ export const OrphanedModelsDialog = ({ onClose }: { onClose: () => void }) => {><Checkbox.HiddenInput /><Checkbox.Control />- <Checkbox.Label color="fg.muted" fontSize="2xs">+ <Checkbox.Label color="fg.muted" fontSize="xs">{t('models.selectAllCount', { count: orphans.length })}</Checkbox.Label></Checkbox.Root>@@ -165,17 +165,17 @@ export const OrphanedModelsDialog = ({ onClose }: { onClose: () => void }) => {<Checkbox.Rootchecked={selectedPaths.has(orphan.path)}colorPalette="accent"- size="sm"+ size="md"onCheckedChange={() => togglePath(orphan.path)}><Checkbox.HiddenInput /><Checkbox.Control /></Checkbox.Root><Stack flex="1" gap="0" minW="0">- <Text fontSize="2xs" fontWeight="600" overflowWrap="anywhere">+ <Text fontSize="xs" fontWeight="600" overflowWrap="anywhere">{orphan.path}</Text>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('models.fileCount', { count: orphan.files.length })} · {formatBytes(orphan.size_bytes)}</Text></Stack>@@ -185,14 +185,14 @@ export const OrphanedModelsDialog = ({ onClose }: { onClose: () => void }) => {)}</Dialog.Body><Dialog.Footer>- <Button disabled={isDeleting} size="xs" variant="ghost" onClick={onClose}>+ <Button disabled={isDeleting} size="md" variant="ghost" onClick={onClose}>{t('common.close')}</Button><ButtoncolorPalette="red"disabled={selectedPaths.size === 0 || !orphans || orphans.length === 0}loading={isDeleting}- size="xs"+ size="md"variant="solid"onClick={() => void handleDelete()}>diff --git a/invokeai/frontend/webv2/src/features/models/ui/manager/DetailPane.tsx b/invokeai/frontend/webv2/src/features/models/ui/manager/DetailPane.tsxindex 8449277ad0..e652262338 100644--- a/invokeai/frontend/webv2/src/features/models/ui/manager/DetailPane.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/manager/DetailPane.tsx@@ -39,7 +39,7 @@ export const DetailPane = () => {flexDirection="column"minH="0"minW="0"- size="sm"+ size="xl"value={activeTab}onValueChange={(event) => updateModelsUi({ activeTab: event.value as ModelManagerTab })}>@@ -90,10 +90,10 @@ const DetailTab = ({ modelKey }: { modelKey: string | null }) => {return (<Flex align="center" direction="column" gap="2" h="full" justify="center" p="6"><Icon as={BoxIcon} boxSize="8" color="fg.subtle" />- <Text color="fg.muted" fontSize="sm" fontWeight="600">+ <Text color="fg.muted" fontSize="lg" fontWeight="600">{t('models.selectModel')}</Text>- <Text color="fg.subtle" fontSize="xs" maxW="22rem" textAlign="center">+ <Text color="fg.subtle" fontSize="md" maxW="22rem" textAlign="center">{t('models.selectModelDescription')}</Text></Flex>diff --git a/invokeai/frontend/webv2/src/features/models/ui/manager/LibraryColumn.tsx b/invokeai/frontend/webv2/src/features/models/ui/manager/LibraryColumn.tsxindex 35f6159232..cbb1599eca 100644--- a/invokeai/frontend/webv2/src/features/models/ui/manager/LibraryColumn.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/manager/LibraryColumn.tsx@@ -177,17 +177,17 @@ export const LibraryColumn = () => {>{hasSelection ? (<>- <Button size="2xs" variant="ghost" onClick={() => setIsBulkReidentifyOpen(true)}>+ <Button size="sm" variant="ghost" onClick={() => setIsBulkReidentifyOpen(true)}><Icon as={RefreshCcwIcon} boxSize="3" />{t('models.reidentifySelected')}</Button>- <Button colorPalette="red" size="2xs" variant="ghost" onClick={() => setIsBulkDeleteOpen(true)}>+ <Button colorPalette="red" size="sm" variant="ghost" onClick={() => setIsBulkDeleteOpen(true)}><Icon as={Trash2Icon} boxSize="3" />{t('common.delete')}</Button><IconButtonaria-label={t('models.clearSelection')}- size="2xs"+ size="sm"variant="ghost"onClick={() => updateModelsUi({ selectedKeys: new Set() })}>diff --git a/invokeai/frontend/webv2/src/features/models/ui/shared/InstallSourceButton.tsx b/invokeai/frontend/webv2/src/features/models/ui/shared/InstallSourceButton.tsxindex a53ab538ff..e3259642ea 100644--- a/invokeai/frontend/webv2/src/features/models/ui/shared/InstallSourceButton.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/shared/InstallSourceButton.tsx@@ -33,11 +33,11 @@ export const InstallSourceButton = ({if (isInstalled || installedModelKey !== null) {return (<HStack flexShrink={0} gap="1.5">- <Badge colorPalette="green" fontSize="2xs" size="sm" variant="surface">+ <Badge colorPalette="green" fontSize="xs" size="lg" variant="surface">{t('models.installed')}</Badge>{installedModelKey !== null ? (- <Button size="2xs" variant="ghost" onClick={() => openModelDetail(installedModelKey)}>+ <Button size="sm" variant="ghost" onClick={() => openModelDetail(installedModelKey)}>{t('models.viewModel')}</Button>) : null}@@ -48,11 +48,11 @@ export const InstallSourceButton = ({if (isInstalling) {return (<HStack flexShrink={0} gap="1.5">- <Badge colorPalette="blue" fontSize="2xs" size="sm" variant="surface">+ <Badge colorPalette="blue" fontSize="xs" size="lg" variant="surface"><Spinner borderWidth="1.5px" boxSize="2.5" />{t('models.installing')}</Badge>- <Button size="2xs" variant="ghost" onClick={openInstallQueue}>+ <Button size="sm" variant="ghost" onClick={openInstallQueue}>{t('models.viewQueue')}</Button></HStack>@@ -60,7 +60,7 @@ export const InstallSourceButton = ({}return (- <Button aria-label={t('models.installNamed', { name })} size="2xs" variant="outline" onClick={onInstall}>+ <Button aria-label={t('models.installNamed', { name })} size="sm" variant="outline" onClick={onInstall}><Icon as={DownloadIcon} boxSize="3" />{t('models.install')}</Button>diff --git a/invokeai/frontend/webv2/src/features/models/ui/shared/ModelActionsMenu.tsx b/invokeai/frontend/webv2/src/features/models/ui/shared/ModelActionsMenu.tsxindex d82ceb5ad2..bd7fc65ee5 100644--- a/invokeai/frontend/webv2/src/features/models/ui/shared/ModelActionsMenu.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/shared/ModelActionsMenu.tsx@@ -52,19 +52,19 @@ export const ModelActionMenuItems = ({<><Menu.Item value="reidentify" onClick={() => void handleReidentify()}><Icon as={RefreshCcwIcon} boxSize="3.5" />- <Menu.ItemText fontSize="xs">{t('models.reidentify')}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{t('models.reidentify')}</Menu.ItemText></Menu.Item>{showConvertItem && isConvertibleToDiffusers(model) ? (<Menu.Item value="convert" onClick={() => onRequestConfirm({ kind: 'convert', model })}><Icon as={HuggingFaceIcon} boxSize="3.5" />- <Menu.ItemText fontSize="xs">{t('models.convertToDiffusers')}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{t('models.convertToDiffusers')}</Menu.ItemText></Menu.Item>) : null}{extraItems}<Menu.Separator /><Menu.Item data-danger="" value="delete" onClick={() => onRequestConfirm({ kind: 'delete', model })}><Icon as={Trash2Icon} boxSize="3.5" />- <Menu.ItemText fontSize="xs">{t('models.deleteModel')}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{t('models.deleteModel')}</Menu.ItemText></Menu.Item></>);diff --git a/invokeai/frontend/webv2/src/features/models/ui/shared/ModelFilterMenu.tsx b/invokeai/frontend/webv2/src/features/models/ui/shared/ModelFilterMenu.tsxindex fd224c253a..1d018d40f2 100644--- a/invokeai/frontend/webv2/src/features/models/ui/shared/ModelFilterMenu.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/shared/ModelFilterMenu.tsx@@ -90,7 +90,7 @@ export const ModelFilterMenu = <Field extends ModelSortField>({return (<Menu.Root closeOnSelect={false} positioning={ROOT_POSITIONING}><Menu.Trigger asChild>- <IconButton aria-label={ariaLabel} color={isActive ? 'accent.solid' : 'fg.muted'} size="xs" variant="outline">+ <IconButton aria-label={ariaLabel} color={isActive ? 'accent.solid' : 'fg.muted'} size="md" variant="outline"><Icon as={SlidersHorizontalIcon} boxSize="4" /></IconButton></Menu.Trigger>@@ -171,11 +171,11 @@ const FilterSubMenu = ({<Menu.TriggerItem><HStack gap="2" minW="0" w="full"><Icon as={icon} boxSize="3.5" color="fg.subtle" flexShrink={0} />- <Text flexShrink={0} fontSize="xs">+ <Text flexShrink={0} fontSize="md">{label}</Text>{summary ? (- <Text color="fg.subtle" fontSize="2xs" ms="auto" minW="0" truncate>+ <Text color="fg.subtle" fontSize="xs" ms="auto" minW="0" truncate>{summary}</Text>) : null}@@ -211,9 +211,9 @@ export const FilterMenuItem = memo(function FilterMenuItem({return (<Menu.Item aria-checked={isChecked} closeOnSelect={false} role="menuitemcheckbox" value={value} onClick={onSelect}><Icon as={CheckIcon} boxSize="3" opacity={isChecked ? 1 : 0} />- <Menu.ItemText fontSize="xs">{label}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{label}</Menu.ItemText>{trailing ? (- <Text color="fg.subtle" fontSize="2xs" ms="auto">+ <Text color="fg.subtle" fontSize="xs" ms="auto">{trailing}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/features/models/ui/shared/ResultsListHeader.tsx b/invokeai/frontend/webv2/src/features/models/ui/shared/ResultsListHeader.tsxindex 1a8e19a362..bf3b45e190 100644--- a/invokeai/frontend/webv2/src/features/models/ui/shared/ResultsListHeader.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/shared/ResultsListHeader.tsx@@ -37,12 +37,12 @@ export const ResultsListHeader = ({return (<Stack gap="1.5"><HStack gap="2" justify="space-between" wrap="wrap">- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{summary}</Text><HStack gap="3">{extra}- <IconButton aria-label={t('models.dismissResults')} size="2xs" variant="ghost" onClick={onClear}>+ <IconButton aria-label={t('models.dismissResults')} size="sm" variant="ghost" onClick={onClear}><Icon as={XIcon} boxSize="3" /></IconButton></HStack>@@ -52,12 +52,12 @@ export const ResultsListHeader = ({<Inputaria-label={resolvedSearchPlaceholder}placeholder={resolvedSearchPlaceholder}- size="xs"+ size="md"value={searchValue}onChange={handleSearchChange}/></InputGroup>- <Button disabled={installAllDisabled} flexShrink={0} size="xs" variant="outline" onClick={onInstallAll}>+ <Button disabled={installAllDisabled} flexShrink={0} size="md" variant="outline" onClick={onInstallAll}><Icon as={DownloadIcon} boxSize="3" />{installAllLabel}</Button>diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/NodesPage.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/NodesPage.tsxindex ec6d39593c..89a6e80aa1 100644--- a/invokeai/frontend/webv2/src/features/nodes/ui/NodesPage.tsx+++ b/invokeai/frontend/webv2/src/features/nodes/ui/NodesPage.tsx@@ -8,7 +8,7 @@ const NodeManagerView = lazy(() =>const FALLBACK = (<Center h="full">- <Spinner color="fg.muted" size="sm" />+ <Spinner color="fg.muted" size="lg" /></Center>);diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeActivityBar.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeActivityBar.tsxindex 9308009323..4b840090d2 100644--- a/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeActivityBar.tsx+++ b/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeActivityBar.tsx@@ -36,10 +36,10 @@ export const NodeActivityBar = () => {<Collapsible.Content><Flex direction="column" h="min(22rem, 45dvh)" minH="0" overflow="hidden"><HStack borderBottomWidth={1} gap="2" justify="space-between" px="3" py="1.5">- <Text color="fg.muted" fontSize="2xs" fontWeight="700" textTransform="uppercase">+ <Text color="fg.muted" fontSize="xs" fontWeight="700" textTransform="uppercase">{t('nodes.installActivity')}</Text>- <Button disabled={log.length === 0} size="2xs" variant="ghost" onClick={clearCustomNodeInstallLog}>+ <Button disabled={log.length === 0} size="sm" variant="ghost" onClick={clearCustomNodeInstallLog}><Icon as={Trash2Icon} boxSize="3" />{t('common.clear')}</Button>@@ -67,9 +67,9 @@ export const NodeActivityBar = () => {) : (<Icon as={ListOrderedIcon} boxSize="3.5" color="fg.subtle" flexShrink={0} />)}- <MiddleTruncate flex="1" fontSize="xs" fontWeight="600" minW="0" text={summary} />+ <MiddleTruncate flex="1" fontSize="md" fontWeight="600" minW="0" text={summary} />{installingCount > 0 ? (- <Badge colorPalette="accent" flexShrink={0} fontSize="2xs" size="sm" variant="solid">+ <Badge colorPalette="accent" flexShrink={0} fontSize="xs" size="lg" variant="solid">{installingCount}</Badge>) : null}diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeInstallLog.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeInstallLog.tsxindex 0a4cb6c543..cb8eda3a51 100644--- a/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeInstallLog.tsx+++ b/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeInstallLog.tsx@@ -38,7 +38,7 @@ export const NodeInstallLog = () => {return (<Scrollable h="full" label={t('nodes.installActivity')} minH="0">- <Table.Root css={INSTALL_LOG_TABLE_SX} minW="36rem" size="sm">+ <Table.Root css={INSTALL_LOG_TABLE_SX} minW="36rem" size="md"><Table.Header><Table.Row><Table.ColumnHeader borderColor="border.subtle" ps="3">@@ -67,15 +67,15 @@ const InstallLogRow = ({ entry }: { entry: CustomNodeInstallLogEntry }) => {return (<Table.Row><Table.Cell borderColor="border.subtle" ps="3">- <MiddleTruncate fontSize="xs" text={entry.name} />+ <MiddleTruncate fontSize="md" text={entry.name} /></Table.Cell><Table.Cell borderColor="border.subtle">- <Badge colorPalette={badge.palette} fontSize="2xs" variant="surface">+ <Badge colorPalette={badge.palette} fontSize="xs" variant="surface">{t(badge.labelKey)}</Badge></Table.Cell><Table.Cell borderColor="border.subtle" pe="3">- <Text color="fg.muted" fontSize="2xs" lineClamp={2} overflowWrap="anywhere">+ <Text color="fg.muted" fontSize="xs" lineClamp={2} overflowWrap="anywhere">{entry.message ?? ''}</Text></Table.Cell>diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/add-nodes/AddNodesView.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/add-nodes/AddNodesView.tsxindex c24b07ea03..f6d8a198ab 100644--- a/invokeai/frontend/webv2/src/features/nodes/ui/add-nodes/AddNodesView.tsx+++ b/invokeai/frontend/webv2/src/features/nodes/ui/add-nodes/AddNodesView.tsx@@ -131,21 +131,21 @@ export const AddNodesView = () => {return (<Scrollable h="full" label={t('nodes.addNodes')} minH="0" p="3"><Stack gap="4" maxW="44rem">- <Alert.Root borderRadius="md" size="sm" status="warning" variant="surface">+ <Alert.Root borderRadius="md" size="md" status="warning" variant="surface"><Alert.Indicator />- <Alert.Title fontSize="xs">{t('nodes.trustWarning')}</Alert.Title>+ <Alert.Title fontSize="md">{t('nodes.trustWarning')}</Alert.Title></Alert.Root><Field error={fieldError} helpText={t('nodes.gitUrlHelp')} label={t('nodes.gitUrl')}><HStack align="start" gap="2" w="full"><Inputaria-invalid={fieldError ? true : undefined}placeholder="https://github.com/owner/invokeai-node-pack.git"- size="sm"+ size="lg"value={source}onChange={handleSourceChange}onKeyDown={handleKeyDown}/>- <Button disabled={validation.issue !== null} loading={isInstalling} size="sm" onClick={handleInstall}>+ <Button disabled={validation.issue !== null} loading={isInstalling} size="lg" onClick={handleInstall}>{t('nodes.install')}</Button></HStack>@@ -153,29 +153,29 @@ export const AddNodesView = () => {<Stack gap="2"><HStack gap="1.5"><Icon as={FolderOpenIcon} boxSize="3.5" color="fg.muted" />- <Text color="fg.muted" fontSize="2xs" fontWeight="600" textTransform="uppercase">+ <Text color="fg.muted" fontSize="xs" fontWeight="600" textTransform="uppercase">{t('nodes.installManually')}</Text></HStack>- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('nodes.scanFolderDescription')}</Text>{customNodesPath ? (<Box bg="bg.subtle" borderColor="border.subtle" borderWidth="1px" p="3" rounded="md"><HStack justify="space-between">- <Text color="fg.muted" fontSize="2xs" fontWeight="600" textTransform="uppercase">+ <Text color="fg.muted" fontSize="xs" fontWeight="600" textTransform="uppercase">{t('nodes.nodesDirectory')}</Text><IconButtonaria-label={t('nodes.copyPath')}- size="2xs"+ size="sm"variant="ghost"onClick={() => void handleCopyPath(customNodesPath)}><Icon as={ClipboardCopyIcon} boxSize="3" /></IconButton></HStack>- <Text fontFamily="mono" fontSize="xs" mt="1" overflowWrap="anywhere">+ <Text fontFamily="mono" fontSize="md" mt="1" overflowWrap="anywhere">{customNodesPath}</Text></Box>diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/detail/NodePackDetail.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/detail/NodePackDetail.tsxindex a6954d92c3..2ea2df3a99 100644--- a/invokeai/frontend/webv2/src/features/nodes/ui/detail/NodePackDetail.tsx+++ b/invokeai/frontend/webv2/src/features/nodes/ui/detail/NodePackDetail.tsx@@ -40,24 +40,24 @@ export const NodePackDetail = ({ onUninstalled, pack }: { onUninstalled: () => v<Stack flex="1" gap="1.5" minW="0"><HStack gap="2" minW="0"><Icon as={BlocksIcon} boxSize="4" color="fg.muted" flexShrink={0} />- <MiddleTruncate fontSize="sm" fontWeight="700" minW="0" text={pack.name} />+ <MiddleTruncate fontSize="lg" fontWeight="700" minW="0" text={pack.name} /></HStack>- <Text color="fg.muted" fontFamily="mono" fontSize="2xs" overflowWrap="anywhere">+ <Text color="fg.muted" fontFamily="mono" fontSize="xs" overflowWrap="anywhere">{pack.path}</Text><HStack gap="1.5" wrap="wrap">{isProblemPack(pack) ? (- <Badge colorPalette="orange" fontSize="2xs" variant="surface">+ <Badge colorPalette="orange" fontSize="xs" variant="surface">{t('nodes.noNodesRegistered')}</Badge>) : (- <Badge colorPalette="blue" fontSize="2xs" variant="surface">+ <Badge colorPalette="blue" fontSize="xs" variant="surface">{t('nodes.nodeCount', { count: pack.nodeCount })}</Badge>)}</HStack>{isProblemPack(pack) ? (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('nodes.noNodesRegisteredHint')}</Text>) : null}@@ -66,12 +66,12 @@ export const NodePackDetail = ({ onUninstalled, pack }: { onUninstalled: () => v</HStack><Stack gap="2">- <Text color="fg.muted" fontSize="2xs" fontWeight="600" textTransform="uppercase">+ <Text color="fg.muted" fontSize="xs" fontWeight="600" textTransform="uppercase">{t('nodes.nodesInPack')}</Text>{isLoadingTemplates ? (<Flex align="center" justify="center" py="10">- <Spinner color="fg.subtle" size="sm" />+ <Spinner color="fg.subtle" size="lg" /></Flex>) : packTemplates.length === 0 ? (<EmptyState@@ -99,7 +99,7 @@ const UninstallButton = ({ onUninstalled, pack }: { onUninstalled: () => void; preturn (<>- <Button colorPalette="red" flexShrink={0} size="xs" variant="outline" onClick={() => setIsConfirmOpen(true)}>+ <Button colorPalette="red" flexShrink={0} size="md" variant="outline" onClick={() => setIsConfirmOpen(true)}><Icon as={Trash2Icon} boxSize="3" />{t('nodes.uninstall')}</Button>diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/detail/NodePreviewCard.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/detail/NodePreviewCard.tsxindex 5648751e4c..c1ed3ce8e0 100644--- a/invokeai/frontend/webv2/src/features/nodes/ui/detail/NodePreviewCard.tsx+++ b/invokeai/frontend/webv2/src/features/nodes/ui/detail/NodePreviewCard.tsx@@ -59,7 +59,7 @@ const OutputRow = ({ template }: { template: FieldOutputTemplate }) => (<Flex justify="flex-end"><MiddleTruncatecolor="fg.muted"- fontSize="2xs"+ fontSize="xs"justifyContent="flex-end"lineHeight="shorter"maxW="full"@@ -77,7 +77,7 @@ const InputRow = ({ template }: { template: FieldInputTemplate }) => (content={<FieldTooltip description={template.description} direction="input" template={template} />}positioning={{ placement: 'top-start' }}>- <Text color="fg" fontSize="2xs" lineHeight="shorter" minW="0" truncate>+ <Text color="fg" fontSize="xs" lineHeight="shorter" minW="0" truncate>{template.title}{template.required ? (<Text as="span" color="fg.error">@@ -131,7 +131,7 @@ export const NodePreviewCard = ({ template }: { template: InvocationTemplate })))}</>) : (- <Text color="fg.muted" fontSize="2xs" px="3" py="1">+ <Text color="fg.muted" fontSize="xs" px="3" py="1">{t('nodes.noExposedFields')}</Text>)}diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackContextMenu.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackContextMenu.tsxindex ea119af5c0..d81b6528ad 100644--- a/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackContextMenu.tsx+++ b/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackContextMenu.tsx@@ -62,7 +62,7 @@ export const NodePackContextMenu = ({<MenuContent minW="12rem"><Menu.Item value="copy-path" onClick={() => void handleCopyPath(pack.path)}><Icon as={ClipboardCopyIcon} boxSize="3.5" />- <Menu.ItemText fontSize="xs">{t('nodes.copyPath')}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{t('nodes.copyPath')}</Menu.ItemText></Menu.Item><Menu.Separator /><Menu.Item@@ -74,7 +74,7 @@ export const NodePackContextMenu = ({}}><Icon as={Trash2Icon} boxSize="3.5" />- <Menu.ItemText fontSize="xs">{t('nodes.uninstall')}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{t('nodes.uninstall')}</Menu.ItemText></Menu.Item></MenuContent>) : null}diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackFilterMenu.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackFilterMenu.tsxindex fb241e6c88..f60cc6600c 100644--- a/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackFilterMenu.tsx+++ b/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackFilterMenu.tsx@@ -41,7 +41,7 @@ export const NodePackFilterMenu = ({<IconButtonaria-label={t('nodes.filterAndSort')}color={isActive ? 'accent.solid' : 'fg.muted'}- size="xs"+ size="md"variant="outline"><Icon as={SlidersHorizontalIcon} boxSize="4" />@@ -60,7 +60,7 @@ export const NodePackFilterMenu = ({</Menu.ItemGroup><Menu.Separator /><Menu.ItemGroup>- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{t('nodes.sortBy')}</Menu.ItemGroupLabel>{SORT_FIELDS.map(({ field, labelKey }) => (@@ -96,9 +96,9 @@ const FilterItem = ({}) => (<Menu.Item aria-checked={isChecked} closeOnSelect={false} role="menuitemcheckbox" value={value} onClick={onSelect}><Icon as={CheckIcon} boxSize="3" opacity={isChecked ? 1 : 0} />- <Menu.ItemText fontSize="xs">{label}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{label}</Menu.ItemText>{trailing ? (- <Text color="fg.subtle" fontSize="2xs" ms="auto">+ <Text color="fg.subtle" fontSize="xs" ms="auto">{trailing}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackList.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackList.tsxindex 87d16b4bd1..541f4acccd 100644--- a/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackList.tsx+++ b/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackList.tsx@@ -64,14 +64,14 @@ export const NodePackList = ({isProblemPack(pack) ? (// Zero registered nodes indicates import failure or pending reload/restart.<Tooltip content={t('nodes.noNodesRegisteredHint')}>- <Badge colorPalette="orange" fontSize="2xs" variant="surface">+ <Badge colorPalette="orange" fontSize="xs" variant="surface">{pack.nodeCount}</Badge></Tooltip>) : (<BadgecolorPalette={rowProps.isActive ? undefined : 'gray'}- fontSize="2xs"+ fontSize="xs"variant={rowProps.isActive ? 'solid' : 'surface'}>{pack.nodeCount}@@ -90,7 +90,7 @@ export const NodePackList = ({<Inputaria-label={t('nodes.searchPacks')}placeholder={t('nodes.searchPacksPlaceholder')}- size="xs"+ size="md"value={filters.searchTerm}onChange={(event) => onFiltersChange({ ...filters, searchTerm: event.currentTarget.value })}/>@@ -107,7 +107,7 @@ export const NodePackList = ({icon={<Icon as={PackageOpenIcon} />}title={t('nodes.noPacks')}>- <Button size="sm" onClick={() => openNodesManagerTab('add')}>+ <Button size="lg" onClick={() => openNodesManagerTab('add')}>{t('nodes.addNodes')}<Icon as={ArrowRightIcon} /></Button>@@ -118,7 +118,7 @@ export const NodePackList = ({icon={<Icon as={SearchIcon} />}title={t('nodes.noPacksMatch')}>- <Button size="sm" variant="outline" onClick={() => openNodesManagerTab('add')}>+ <Button size="lg" variant="outline" onClick={() => openNodesManagerTab('add')}>{t('nodes.addNodes')}<Icon as={ArrowRightIcon} /></Button>@@ -132,7 +132,7 @@ export const NodePackList = ({icon={<Icon as={TriangleAlertIcon} />}title={t('nodes.couldNotLoadPacks')}>- <Button size="sm" variant="outline" onClick={() => void refreshCustomNodePacks()}>+ <Button size="lg" variant="outline" onClick={() => void refreshCustomNodePacks()}>{t('common.retry')}</Button></EmptyState>diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/manager/DetailPane.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/manager/DetailPane.tsxindex 69b8ba3097..d08c6b9b2b 100644--- a/invokeai/frontend/webv2/src/features/nodes/ui/manager/DetailPane.tsx+++ b/invokeai/frontend/webv2/src/features/nodes/ui/manager/DetailPane.tsx@@ -26,7 +26,7 @@ export const DetailPane = () => {<Tabs.RootasChildlazyMount- size="sm"+ size="xl"unmountOnExitvalue={activeTab}onValueChange={(event) => updateNodesUi({ activeTab: event.value as NodesManagerTab })}@@ -67,10 +67,10 @@ const DetailTab = ({ activePack }: { activePack: NodePackInfo | null }) => {return (<Flex align="center" direction="column" gap="2" h="full" justify="center" p="6"><Icon as={BlocksIcon} boxSize="8" color="fg.subtle" />- <Text color="fg.muted" fontSize="sm" fontWeight="600">+ <Text color="fg.muted" fontSize="lg" fontWeight="600">{t('nodes.selectPack')}</Text>- <Text color="fg.muted" fontSize="xs" maxW="22rem" textAlign="center">+ <Text color="fg.muted" fontSize="md" maxW="22rem" textAlign="center">{t('nodes.selectPackDescription')}</Text></Flex>diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/manager/ReloadNodesButton.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/manager/ReloadNodesButton.tsxindex 8cd586dccc..a4397c3350 100644--- a/invokeai/frontend/webv2/src/features/nodes/ui/manager/ReloadNodesButton.tsx+++ b/invokeai/frontend/webv2/src/features/nodes/ui/manager/ReloadNodesButton.tsx@@ -47,7 +47,7 @@ export const ReloadNodesButton = () => {);return (- <Button loading={isReloading} size="2xs" variant="ghost" onClick={() => void handleReload()}>+ <Button loading={isReloading} size="sm" variant="ghost" onClick={() => void handleReload()}><Icon as={RefreshCwIcon} boxSize="3.5" />{isReloading ? t('nodes.reloading') : t('common.reload')}</Button>diff --git a/invokeai/frontend/webv2/src/features/queue/ui/CancelQueueItemButton.tsx b/invokeai/frontend/webv2/src/features/queue/ui/CancelQueueItemButton.tsxindex 386599aaa7..b2bc3bbbb6 100644--- a/invokeai/frontend/webv2/src/features/queue/ui/CancelQueueItemButton.tsx+++ b/invokeai/frontend/webv2/src/features/queue/ui/CancelQueueItemButton.tsx@@ -41,7 +41,7 @@ export const CancelQueueItemButton = ({ itemId }: { itemId: number }) => {aria-label={t('widgets.queue.cancelItem', { id: itemId })}color="fg.muted"loading={busy}- size="2xs"+ size="sm"variant="ghost"onClick={onCancel}>diff --git a/invokeai/frontend/webv2/src/features/queue/ui/ModelCacheFooter.tsx b/invokeai/frontend/webv2/src/features/queue/ui/ModelCacheFooter.tsxindex 0fc81768ee..d4046e865c 100644--- a/invokeai/frontend/webv2/src/features/queue/ui/ModelCacheFooter.tsx+++ b/invokeai/frontend/webv2/src/features/queue/ui/ModelCacheFooter.tsx@@ -20,7 +20,7 @@ const INDICATOR_OPEN = { transform: 'rotate(180deg)' } as const;const TRIGGER_HOVER = { color: 'fg' } as const;const CacheStat = ({ label, value }: { label: string; value: number }) => (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{label}{' '}<Text as="span" color="fg" fontVariantNumeric="tabular-nums" fontWeight="600">{value}@@ -77,7 +77,7 @@ export const ModelCacheFooter = () => {<CacheStat label={t('widgets.queue.modelCache.loaded')} value={stats?.in_cache ?? 0} /></HStack><HStack>- <Button loading={busy} size="2xs" variant="surface" onClick={handleClear}>+ <Button loading={busy} size="sm" variant="surface" onClick={handleClear}><Icon as={Trash2Icon} boxSize="3" />{t('widgets.queue.modelCache.clear')}</Button>@@ -98,7 +98,7 @@ export const ModelCacheFooter = () => {colorPalette="accent"max={1}role="progressbar"- size="xs"+ size="md"value={ratio}><Progress.Track bg="transparent">@@ -121,14 +121,14 @@ export const ModelCacheFooter = () => {<Textcolor="fg.muted"flex="1"- fontSize="2xs"+ fontSize="xs"fontWeight="700"letterSpacing="0.06em"textTransform="uppercase">{t('widgets.queue.modelCache.label')}</Text>- <Text color="fg.muted" fontSize="2xs" fontVariantNumeric="tabular-nums">+ <Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums">{formatModelCacheBytes(used)} / {formatModelCacheBytes(total)}</Text><Collapsible.Indicator _open={INDICATOR_OPEN} transition="transform var(--wb-motion-duration-slow)">diff --git a/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderActions.tsx b/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderActions.tsxindex b03754f4f0..e2d8280e0a 100644--- a/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderActions.tsx+++ b/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderActions.tsx@@ -52,7 +52,7 @@ export const QueueHeaderActions = () => {};return (- <Button disabled={disabled} loading={busy} size="2xs" variant="outline" onClick={onCancel}>+ <Button disabled={disabled} loading={busy} size="sm" variant="outline" onClick={onCancel}><Icon as={XIcon} boxSize="3.5" />{t(itemLabel)}</Button>diff --git a/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderLabel.tsx b/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderLabel.tsxindex ba5d24f223..470cdd979f 100644--- a/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderLabel.tsx+++ b/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderLabel.tsx@@ -13,10 +13,10 @@ export const QueueHeaderLabel = () => {return (<Stack gap="0.5" minW="0">- <Text fontSize="xs" fontWeight="700" lineHeight="1.15">+ <Text fontSize="md" fontWeight="700" lineHeight="1.15">{t('widgets.labels.queue')}</Text>- <Text color="fg.muted" fontSize="2xs" fontVariantNumeric="tabular-nums" lineHeight="1.15" truncate mb="-1.5">+ <Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums" lineHeight="1.15" truncate mb="-1.5"><Text as="span" color={isGenerating ? 'accent.solid' : 'fg.muted'} fontWeight={isGenerating ? '600' : '400'}>{t('widgets.queue.generating', { count: activity.inProgress })}</Text>{' '}diff --git a/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderMenu.tsx b/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderMenu.tsxindex 084305d9ef..ea8e53ab6a 100644--- a/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderMenu.tsx+++ b/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderMenu.tsx@@ -66,7 +66,7 @@ export const QueueHeaderMenu = () => {<QueueMenuItems actions={actions} label={t('widgets.labels.queue')} /><Menu.Separator /><Menu.ItemGroup>- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{t('common.clear')}</Menu.ItemGroupLabel><Menu.Item data-danger="" disabled={counts.failed === 0} value="clear-failed-items" onClick={onClearFailed}>diff --git a/invokeai/frontend/webv2/src/features/queue/ui/QueueItemDetails.tsx b/invokeai/frontend/webv2/src/features/queue/ui/QueueItemDetails.tsxindex 7a40675883..1a43fcac7c 100644--- a/invokeai/frontend/webv2/src/features/queue/ui/QueueItemDetails.tsx+++ b/invokeai/frontend/webv2/src/features/queue/ui/QueueItemDetails.tsx@@ -16,7 +16,7 @@ const DetailRow = ({ label, children }: { label: string; children: ReactNode })<DataList.ItemLabel>{label}</DataList.ItemLabel>{/* minW=0 lets unbreakable values (batch UUIDs) truncate instead ofpushing the row's min-content past the panel. */}- <DataList.ItemValue fontFamily="mono" fontSize="2xs" minW="0">+ <DataList.ItemValue fontFamily="mono" fontSize="xs" minW="0">{children}</DataList.ItemValue></DataList.Item>@@ -40,7 +40,7 @@ export const QueueItemDetails = ({ item }: { item: QueueItemReadModel }) => {const deviceLabel = useDeviceLabel(item.device);return (- <DataList.Root gap="1.5" orientation="horizontal" size="sm">+ <DataList.Root gap="1.5" orientation="horizontal" size="md"><DetailRow label={t('common.prompt')}>{meta.positivePrompt ?? '—'}</DetailRow><DetailRow label={t('common.negative')}>{meta.negativePrompt ?? '—'}</DetailRow><DetailRow label={t('common.seed')}>diff --git a/invokeai/frontend/webv2/src/features/queue/ui/QueueStats.tsx b/invokeai/frontend/webv2/src/features/queue/ui/QueueStats.tsxindex 024846517a..da98e80ebb 100644--- a/invokeai/frontend/webv2/src/features/queue/ui/QueueStats.tsx+++ b/invokeai/frontend/webv2/src/features/queue/ui/QueueStats.tsx@@ -4,8 +4,8 @@ import { useTranslation } from 'react-i18next';import { useQueueCounts } from './queueDataStore';const QueueStatCard = ({ value, label, danger }: { value: number; label: string; danger?: boolean }) => (- <Stat.Root size="sm" colorScheme={danger ? 'red' : undefined} gap="0">- <Stat.Label fontSize="xs" order="2">+ <Stat.Root size="md" colorScheme={danger ? 'red' : undefined} gap="0">+ <Stat.Label fontSize="md" order="2">{label}</Stat.Label><Stat.ValueText order="1">{value}</Stat.ValueText>diff --git a/invokeai/frontend/webv2/src/features/queue/ui/QueueStepProgress.tsx b/invokeai/frontend/webv2/src/features/queue/ui/QueueStepProgress.tsxindex f96e98fd63..6f06a009e2 100644--- a/invokeai/frontend/webv2/src/features/queue/ui/QueueStepProgress.tsx+++ b/invokeai/frontend/webv2/src/features/queue/ui/QueueStepProgress.tsx@@ -13,7 +13,7 @@ export const QueueStepProgress = ({ message, percentage }: { message: string; pearia-label={t('widgets.queue.itemProgress')}colorPalette="accent"max={1}- size="xs"+ size="md"value={percentage}w="full">@@ -22,7 +22,7 @@ export const QueueStepProgress = ({ message, percentage }: { message: string; pe</Progress.Track></Progress.Root>{caption ? (- <Text color="fg.muted" fontSize="2xs" fontVariantNumeric="tabular-nums">+ <Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums">{caption}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/features/queue/ui/RecentSection.tsx b/invokeai/frontend/webv2/src/features/queue/ui/RecentSection.tsxindex ca470cda37..5de489a0e6 100644--- a/invokeai/frontend/webv2/src/features/queue/ui/RecentSection.tsx+++ b/invokeai/frontend/webv2/src/features/queue/ui/RecentSection.tsx@@ -53,7 +53,7 @@ export const RecentSection = ({) : null}<ListSectionHeader count={filtered.length} label={t('common.recent')} />{filtered.length === 0 ? (- <Text color={loadState === 'error' ? 'fg.error' : 'fg.subtle'} fontSize="2xs" px="2">+ <Text color={loadState === 'error' ? 'fg.error' : 'fg.subtle'} fontSize="xs" px="2">{loadState === 'loading'? t('widgets.queue.loading'): loadState === 'error'diff --git a/invokeai/frontend/webv2/src/features/queue/ui/launchpad/QueueStatusBand.tsx b/invokeai/frontend/webv2/src/features/queue/ui/launchpad/QueueStatusBand.tsxindex c7b9f2f5d5..97db5e7db6 100644--- a/invokeai/frontend/webv2/src/features/queue/ui/launchpad/QueueStatusBand.tsx+++ b/invokeai/frontend/webv2/src/features/queue/ui/launchpad/QueueStatusBand.tsx@@ -48,11 +48,11 @@ export const QueueStatusBand = () => {>{/* Animate only running work; waiting-only queues use a static glyph. */}{inProgress > 0 ? (- <Spinner color="fg.muted" size="xs" />+ <Spinner color="fg.muted" size="md" />) : (<Icon aria-hidden as={HourglassIcon} boxSize="3.5" color="fg.muted" />)}- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{t('launchpad.home.queue.summary', { inProgress, pending })}</Text></Flex>diff --git a/invokeai/frontend/webv2/src/features/queue/ui/queueMenuActions.tsx b/invokeai/frontend/webv2/src/features/queue/ui/queueMenuActions.tsxindex b639ed431d..30a2f1acb3 100644--- a/invokeai/frontend/webv2/src/features/queue/ui/queueMenuActions.tsx+++ b/invokeai/frontend/webv2/src/features/queue/ui/queueMenuActions.tsx@@ -239,7 +239,7 @@ export const QueueMenuItems = ({ actions, label }: { actions: QueueMenuAction[];<><Menu.ItemGroup>{label ? (- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{label}</Menu.ItemGroupLabel>) : null}diff --git a/invokeai/frontend/webv2/src/features/upscale/ui/UpscaleFormFields.tsx b/invokeai/frontend/webv2/src/features/upscale/ui/UpscaleFormFields.tsxindex 3e992a348d..9c8588337c 100644--- a/invokeai/frontend/webv2/src/features/upscale/ui/UpscaleFormFields.tsx+++ b/invokeai/frontend/webv2/src/features/upscale/ui/UpscaleFormFields.tsx@@ -71,7 +71,7 @@ export const UpscalePromptFields = memo(return (<Stack gap="2" p="2">- <Text color="fg.muted" fontSize="2xs" textWrap="pretty">+ <Text color="fg.muted" fontSize="xs" textWrap="pretty">{t('widgets.upscale.sharedPromptDescription')}</Text><PositivePromptFielddiff --git a/invokeai/frontend/webv2/src/features/upscale/ui/UpscaleWidgetView.tsx b/invokeai/frontend/webv2/src/features/upscale/ui/UpscaleWidgetView.tsxindex 1b968e855f..8c143f0688 100644--- a/invokeai/frontend/webv2/src/features/upscale/ui/UpscaleWidgetView.tsx+++ b/invokeai/frontend/webv2/src/features/upscale/ui/UpscaleWidgetView.tsx@@ -123,14 +123,14 @@ const UpscaleOutputPreflight = memo(return (<Stack bg="bg.subtle" gap="2" px="2.5" py="2" rounded="md">- <DataList.Root gap="1.5" orientation="horizontal" size="sm">+ <DataList.Root gap="1.5" orientation="horizontal" size="md"><DataList.Item>- <DataList.ItemLabel color="fg.subtle" fontSize="2xs">+ <DataList.ItemLabel color="fg.subtle" fontSize="xs">{t('widgets.upscale.inputSize')}</DataList.ItemLabel><DataList.ItemValuefontFamily="mono"- fontSize="xs"+ fontSize="md"fontVariantNumeric="tabular-nums"justifyContent="flex-end">@@ -138,12 +138,12 @@ const UpscaleOutputPreflight = memo(</DataList.ItemValue></DataList.Item><DataList.Item>- <DataList.ItemLabel color="fg.subtle" fontSize="2xs">+ <DataList.ItemLabel color="fg.subtle" fontSize="xs">{t('widgets.upscale.scale')}</DataList.ItemLabel><DataList.ItemValuefontFamily="mono"- fontSize="xs"+ fontSize="md"fontVariantNumeric="tabular-nums"justifyContent="flex-end">@@ -151,12 +151,12 @@ const UpscaleOutputPreflight = memo(</DataList.ItemValue></DataList.Item><DataList.Item>- <DataList.ItemLabel color="fg.subtle" fontSize="2xs">+ <DataList.ItemLabel color="fg.subtle" fontSize="xs">{t('widgets.upscale.outputSize')}</DataList.ItemLabel><DataList.ItemValuefontFamily="mono"- fontSize="xs"+ fontSize="md"fontVariantNumeric="tabular-nums"fontWeight="semibold"justifyContent="flex-end"@@ -165,12 +165,12 @@ const UpscaleOutputPreflight = memo(</DataList.ItemValue></DataList.Item><DataList.Item>- <DataList.ItemLabel color="fg.subtle" fontSize="2xs">+ <DataList.ItemLabel color="fg.subtle" fontSize="xs">{t('widgets.upscale.outputMegapixels')}</DataList.ItemLabel><DataList.ItemValuefontFamily="mono"- fontSize="xs"+ fontSize="md"fontVariantNumeric="tabular-nums"fontWeight="semibold"gap="1.5"@@ -178,7 +178,7 @@ const UpscaleOutputPreflight = memo(>{MEGAPIXEL_FORMATTER.format(outputMegapixels)} MP{isLargeOutput ? (- <Badge colorPalette="orange" fontFamily="body" size="xs" variant="surface">+ <Badge colorPalette="orange" fontFamily="body" size="md" variant="surface">{t('widgets.upscale.largeOutput')}</Badge>) : null}@@ -190,7 +190,7 @@ const UpscaleOutputPreflight = memo(borderTopWidth="1px"borderColor="border.subtle"color="fg.warning"- fontSize="2xs"+ fontSize="xs"pt="2"textWrap="pretty">@@ -442,7 +442,7 @@ export const UpscaleWidgetView = () => {const sharedBadge = useMemo(() => (- <Badge fontFamily="mono" size="xs">+ <Badge fontFamily="mono" size="md">{t('widgets.upscale.shared')}</Badge>),@@ -471,7 +471,7 @@ export const UpscaleWidgetView = () => {invalid={!values.upscaleModel}modelTypes={SPANDREL_MODEL_TYPES}placeholder={t('widgets.upscale.selectSpandrelModel')}- size="xs"+ size="md"value={values.upscaleModel?.key ?? null}onChange={set.spandrelModel}/>@@ -491,7 +491,7 @@ export const UpscaleWidgetView = () => {/><SegmentGroup.Rootaria-label={t('widgets.upscale.presetsLabel')}- size="xs"+ size="md"value={activePresetId}w="full"onValueChange={applyPreset}@@ -510,7 +510,7 @@ export const UpscaleWidgetView = () => {<SegmentGroup.Item key={id} flex="1" minW="0" value={id}><SegmentGroup.ItemHiddenInput /><Tooltip content={tooltipContent}>- <SegmentGroup.ItemText fontSize="xs">{t(`widgets.upscale.presets.${id}`)}</SegmentGroup.ItemText>+ <SegmentGroup.ItemText fontSize="md">{t(`widgets.upscale.presets.${id}`)}</SegmentGroup.ItemText></Tooltip></SegmentGroup.Item>);@@ -571,7 +571,7 @@ export const UpscaleWidgetView = () => {invalid={!values.model}modelTypes={MAIN_MODEL_TYPES}placeholder={t('widgets.upscale.selectMainModel')}- size="xs"+ size="md"value={values.model?.key ?? null}onChange={selectMainModel}/>@@ -603,7 +603,7 @@ export const UpscaleWidgetView = () => {<Comboboxaria-label={t('widgets.upscale.scheduler')}options={SCHEDULER_OPTIONS}- size="xs"+ size="md"value={values.scheduler}onValueChange={set.scheduler}/>@@ -623,7 +623,7 @@ export const UpscaleWidgetView = () => {modelTypes={LORA_MODEL_TYPES}placeholder={t('widgets.upscale.searchCompatibleConcepts')}scopeLabel={t('models.scopeConcepts')}- size="xs"+ size="md"value={null}onChange={addLora}/>@@ -658,7 +658,7 @@ export const UpscaleWidgetView = () => {invalid={!values.tileControlnetModel}modelTypes={CONTROLNET_MODEL_TYPES}placeholder={t('widgets.upscale.selectTileControlNet')}- size="xs"+ size="md"value={values.tileControlnetModel?.key ?? null}onChange={setTileControlNet}/>@@ -675,7 +675,7 @@ export const UpscaleWidgetView = () => {invalid={!values.t5EncoderModel}modelTypes={T5_ENCODER_MODEL_TYPES}placeholder={t('widgets.upscale.selectT5Encoder')}- size="xs"+ size="md"value={values.t5EncoderModel?.key ?? null}onChange={setT5Encoder}/>@@ -689,7 +689,7 @@ export const UpscaleWidgetView = () => {invalid={!values.clipEmbedModel}modelTypes={CLIP_EMBED_MODEL_TYPES}placeholder={t('widgets.upscale.selectClipEmbed')}- size="xs"+ size="md"value={values.clipEmbedModel?.key ?? null}onChange={setClipEmbed}/>@@ -732,7 +732,7 @@ export const UpscaleWidgetView = () => {isClearable={!showComponentPickers}modelTypes={VAE_MODEL_TYPES}placeholder={showComponentPickers ? t('widgets.upscale.selectVae') : t('widgets.upscale.bundledVae')}- size="xs"+ size="md"value={values.vae?.key ?? null}onChange={set.vae}/>@@ -741,7 +741,7 @@ export const UpscaleWidgetView = () => {<Selectaria-label={t('widgets.upscale.vaePrecision')}collection={VAE_PRECISION_COLLECTION}- size="xs"+ size="md"value={vaePrecisionValue}onValueChange={set.vaePrecision}/>diff --git a/invokeai/frontend/webv2/src/features/video/ui/PlayClipSpanButton.tsx b/invokeai/frontend/webv2/src/features/video/ui/PlayClipSpanButton.tsxindex 2ed8610814..60f51e060e 100644--- a/invokeai/frontend/webv2/src/features/video/ui/PlayClipSpanButton.tsx+++ b/invokeai/frontend/webv2/src/features/video/ui/PlayClipSpanButton.tsx@@ -75,7 +75,7 @@ export const PlayClipSpanButton = memo(function PlayClipSpanButton({ clip }: { caria-disabled={isResolving}aria-label={label}opacity={isResolving ? 0.5 : undefined}- size="2xs"+ size="sm"title={label}variant="ghost"onClick={handlePress}diff --git a/invokeai/frontend/webv2/src/features/video/ui/TrimBoundThumb.tsx b/invokeai/frontend/webv2/src/features/video/ui/TrimBoundThumb.tsxindex 881641eb06..c111d38032 100644--- a/invokeai/frontend/webv2/src/features/video/ui/TrimBoundThumb.tsx+++ b/invokeai/frontend/webv2/src/features/video/ui/TrimBoundThumb.tsx@@ -68,7 +68,7 @@ export const TrimBoundThumb = memo(function TrimBoundThumb({w="20"><video key={src} ref={videoRef} muted preload="metadata" src={src} style={PREVIEW_VIDEO_STYLE} />- <Badge bottom="0.5" insetInlineStart="0.5" pointerEvents="none" position="absolute" size="xs" variant="solid">+ <Badge bottom="0.5" insetInlineStart="0.5" pointerEvents="none" position="absolute" size="md" variant="solid">{label}</Badge>{onFindInGallery ? <FindInGalleryThumbnailButton name={name} onFind={onFindInGallery} /> : null}diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoComponentsSection.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoComponentsSection.tsxindex 2026b41fb5..ddb081f6bd 100644--- a/invokeai/frontend/webv2/src/features/video/ui/VideoComponentsSection.tsx+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoComponentsSection.tsx@@ -76,7 +76,7 @@ const ComponentSlotRow = memo(function ComponentSlotRow({isClearablemodelTypes={slot.modelTypes}placeholder={t('widgets.video.selectComponent')}- size="xs"+ size="md"value={value?.key ?? null}onChange={handleChange}/>@@ -172,11 +172,11 @@ const WanExpertWiringNotice = memo(function WanExpertWiringNotice({return (<HStack bg="bg.subtle" borderColor="fg.warning" borderWidth="1px" gap="2" p="2" rounded="md">- <Text color="fg.warning" flex="1" fontSize="2xs" textWrap="pretty">+ <Text color="fg.warning" flex="1" fontSize="xs" textWrap="pretty">{message}</Text>{swapResolves && modelsLoaded ? (- <Button flexShrink="0" size="2xs" variant="outline" onClick={swapExperts}>+ <Button flexShrink="0" size="sm" variant="outline" onClick={swapExperts}>{t('widgets.video.expertWiring.swap')}</Button>) : null}diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoConceptsSection.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoConceptsSection.tsxindex 56c3ab7e01..bef448b222 100644--- a/invokeai/frontend/webv2/src/features/video/ui/VideoConceptsSection.tsx+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoConceptsSection.tsx@@ -77,12 +77,12 @@ export const VideoConceptsSection = memo(modelTypes={LORA_MODEL_TYPES}placeholder={t('widgets.video.addLora')}scopeLabel={t('models.scopeConcepts')}- size="xs"+ size="md"value={null}onChange={addLora}/>{loras.length === 0 ? (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('widgets.video.noLoras')}</Text>) : (diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoConditioningClipField.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoConditioningClipField.tsxindex 6ffa35de47..fe69531b34 100644--- a/invokeai/frontend/webv2/src/features/video/ui/VideoConditioningClipField.tsx+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoConditioningClipField.tsx@@ -120,13 +120,13 @@ export const VideoConditioningClipField = memo(<Selectcollection={roleCollection}disabled={disabled}- size="xs"+ size="md"value={roleValue}onValueChange={handleRoleChange}/></Field>) : (- <Text color="fg.muted" fontSize="2xs" textWrap="pretty">+ <Text color="fg.muted" fontSize="xs" textWrap="pretty">{t('widgets.video.conditioningClipHelp')}</Text>)}diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoHeaderActions.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoHeaderActions.tsxindex f0ae9abc30..f2b7f82b29 100644--- a/invokeai/frontend/webv2/src/features/video/ui/VideoHeaderActions.tsx+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoHeaderActions.tsx@@ -47,7 +47,7 @@ export const VideoHeaderActions = () => {<IconButtonaria-label={label}disabled={isAtModelDefaults}- size="2xs"+ size="sm"variant="ghost"onClick={resetToModelDefaults}>diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoLengthControls.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoLengthControls.tsxindex 32693891b8..002ab2adce 100644--- a/invokeai/frontend/webv2/src/features/video/ui/VideoLengthControls.tsx+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoLengthControls.tsx@@ -76,7 +76,7 @@ export const VideoLengthControls = ({<Switch.Rootchecked={autoDuration && autoDurationSupported}disabled={!autoDurationSupported}- size="sm"+ size="md"onCheckedChange={onAutoDurationChange}><Switch.HiddenInput />diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoReferenceListField.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoReferenceListField.tsxindex 98114a3d51..ee8abdaee7 100644--- a/invokeai/frontend/webv2/src/features/video/ui/VideoReferenceListField.tsx+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoReferenceListField.tsx@@ -256,13 +256,13 @@ const ReferenceCard = memo(function ReferenceCard({<HStack gap="1">{/* Render prompt tokens verbatim in LTR order; modality counters differ from card positions. */}{promptLabels.map((label) => (- <Badge key={label} dir="ltr" flexShrink={0} size="xs" userSelect="text" variant="solid">+ <Badge key={label} dir="ltr" flexShrink={0} size="md" userSelect="text" variant="solid">{label}</Badge>))}- <MiddleTruncate flex="1" fontSize="xs" text={name} />+ <MiddleTruncate flex="1" fontSize="md" text={name} />{reference.kind === 'video' && reference.fromSourceVideo === true ? (- <Badge flexShrink={0} size="xs" variant="outline">+ <Badge flexShrink={0} size="md" variant="outline">{t('widgets.video.referenceFromInitialVideo')}</Badge>) : null}@@ -270,12 +270,12 @@ const ReferenceCard = memo(function ReferenceCard({<Selectcollection={selectCollection}disabled={disabled}- size="xs"+ size="md"value={selectValue}onValueChange={handleSelect}/>{imageCost ? (- <Text color="fg.muted" fontSize="2xs" fontVariantNumeric="tabular-nums">+ <Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums">{t('widgets.video.referenceImageCost', {height: imageCost.dimensions.height,rows: imageCost.rows.toLocaleString(),@@ -334,7 +334,7 @@ const ReferenceCard = memo(function ReferenceCard({ref={moveUpRef}aria-label={t('widgets.video.moveReferenceUp')}disabled={disabled || !canMoveUp}- size="2xs"+ size="sm"variant="ghost"onClick={handleMoveUp}>@@ -344,7 +344,7 @@ const ReferenceCard = memo(function ReferenceCard({ref={moveDownRef}aria-label={t('widgets.video.moveReferenceDown')}disabled={disabled || !canMoveDown}- size="2xs"+ size="sm"variant="ghost"onClick={handleMoveDown}>@@ -353,7 +353,7 @@ const ReferenceCard = memo(function ReferenceCard({<IconButtonaria-label={t('widgets.video.removeReference')}disabled={disabled}- size="2xs"+ size="sm"variant="ghost"onClick={handleRemove}>@@ -740,18 +740,18 @@ export const VideoReferenceListField = memo(function VideoReferenceListField({selection={pickerSelection}onPick={handlePick}>- <Button disabled={isInert || (!canAddImage && !canAddVideo)} size="xs" variant="outline" w="full">- {isLoading ? <Spinner size="xs" /> : <Icon as={ImagePlusIcon} boxSize="3.5" />}+ <Button disabled={isInert || (!canAddImage && !canAddVideo)} size="md" variant="outline" w="full">+ {isLoading ? <Spinner size="md" /> : <Icon as={ImagePlusIcon} boxSize="3.5" />}{t('widgets.video.chooseReference')}<Icon as={ChevronDownIcon} boxSize="3" color="fg.subtle" /></Button></GalleryPickerPopover><HStack gap="1" justify="center">- <Button disabled={isInert || !canAddImage} size="xs" variant="ghost" onClick={handlePickImage}>+ <Button disabled={isInert || !canAddImage} size="md" variant="ghost" onClick={handlePickImage}><UploadIcon size={12} />{t('widgets.video.uploadImageReference')}</Button>- <Button disabled={isInert || !canAddVideo} size="xs" variant="ghost" onClick={handlePickVideo}>+ <Button disabled={isInert || !canAddVideo} size="md" variant="ghost" onClick={handlePickVideo}><UploadIcon size={12} />{t('widgets.video.uploadVideoReference')}</Button>@@ -761,7 +761,7 @@ export const VideoReferenceListField = memo(function VideoReferenceListField({</DropZone></Field>{errorMessage ? (- <Text aria-live="polite" color="fg.error" fontSize="xs" role="alert">+ <Text aria-live="polite" color="fg.error" fontSize="md" role="alert">{errorMessage}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoSourceClipField.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoSourceClipField.tsxindex 9e796b6bd8..876de2d214 100644--- a/invokeai/frontend/webv2/src/features/video/ui/VideoSourceClipField.tsx+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoSourceClipField.tsx@@ -115,7 +115,7 @@ export const VideoSourceClipField = memo(<Stack gap="2">{/* Show the disabled reason even when a clip is already set. */}{disabled && disabledReason ? (- <Text color="fg.muted" fontSize="2xs" textWrap="pretty">+ <Text color="fg.muted" fontSize="xs" textWrap="pretty">{disabledReason}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsx b/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsxindex 43e1b2b760..bbbd215bcf 100644--- a/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsx+++ b/invokeai/frontend/webv2/src/features/video/ui/VideoWidgetView.tsx@@ -87,10 +87,10 @@ const StaleMediaStub = ({ label, onClear }: { label: string; onClear: () => voidreturn (<HStack bg="bg.subtle" gap="2" justify="space-between" p="2" rounded="md">- <Text color="fg.muted" fontSize="2xs" textWrap="pretty">+ <Text color="fg.muted" fontSize="xs" textWrap="pretty">{label}</Text>- <Button flexShrink="0" size="2xs" variant="outline" onClick={onClear}>+ <Button flexShrink="0" size="sm" variant="outline" onClick={onClear}>{t('widgets.video.clearStaleMedia')}</Button></HStack>@@ -478,7 +478,7 @@ export const VideoWidgetView = () => {const derivedSourceValueText = useMemo(() =>dimensionSource && dimensionSource !== 'aspect-ratio' ? (- <Text as="span" fontSize="xs" truncate>+ <Text as="span" fontSize="md" truncate>{t(`widgets.video.dimensionSourceValue.${dimensionSource}`)}</Text>) : undefined,@@ -515,7 +515,7 @@ export const VideoWidgetView = () => {invalid={!values.model}modelTypes={MAIN_MODEL_TYPES}placeholder={t('widgets.video.selectModel')}- size="xs"+ size="md"value={values.model?.key ?? null}onChange={selectMainModel}/>@@ -609,7 +609,7 @@ export const VideoWidgetView = () => {<GenerationSettingsSection label={t('widgets.video.initialVideo')} sectionId="video-source" defaultOpen><Stack gap="3" p="2">{referenceExtend ? (- <Text color="fg.muted" fontSize="2xs" textWrap="pretty">+ <Text color="fg.muted" fontSize="xs" textWrap="pretty">{t('widgets.video.referenceExtendHelp')}</Text>) : null}@@ -673,7 +673,7 @@ export const VideoWidgetView = () => {collection={ASPECT_RATIO_COLLECTION}disabled={hasConditioningMedia}flex="1"- size="xs"+ size="md"value={aspectRatioValue}valueText={derivedSourceValueText}onValueChange={set.aspectRatio}@@ -681,7 +681,7 @@ export const VideoWidgetView = () => {<IconButtonaria-label={t('widgets.video.swapAspectRatio')}disabled={hasConditioningMedia}- size="xs"+ size="md"variant="ghost"onClick={swapAspectRatio}>@@ -692,7 +692,7 @@ export const VideoWidgetView = () => {<Field helpText={twoStageHelpText} label={t('widgets.video.targetResolution')}><Selectcollection={targetResolutionCollection}- size="xs"+ size="md"value={targetResolutionValue}onValueChange={set.targetResolution}/>@@ -729,7 +729,7 @@ export const VideoWidgetView = () => {onChange={set.fps}/>) : (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('widgets.video.fixedFps', { fps: policy.fps.defaultValue })}</Text>)}@@ -747,7 +747,7 @@ export const VideoWidgetView = () => {})}label={t('widgets.video.accelerator', { label: policy.ui.accelerator.label })}>- <Switch.Root checked={values.acceleratorEnabled} size="sm" onCheckedChange={toggleAccelerator}>+ <Switch.Root checked={values.acceleratorEnabled} size="md" onCheckedChange={toggleAccelerator}><Switch.HiddenInput /><Switch.Control _checked={SWITCH_CHECKED_PROPS}><Switch.Thumb />@@ -768,7 +768,7 @@ export const VideoWidgetView = () => {onChange={set.steps}/>) : (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('widgets.video.stepsFixed', { steps: policy.defaults.steps })}</Text>)}diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/MenuActionItem.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/MenuActionItem.tsxindex 3bb839eba5..9917d00bb9 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/MenuActionItem.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/MenuActionItem.tsx@@ -37,7 +37,7 @@ export const MenuActionItem = ({ hint, icon, isDisabled, label, tone, value, onS{hint ? (<Stack gap="0" minW="0"><Menu.ItemText>{label}</Menu.ItemText>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{hint}</Text></Stack>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/WorkflowWidgetChrome.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/WorkflowWidgetChrome.tsxindex 19d30154e7..92a0fb2967 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/WorkflowWidgetChrome.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/WorkflowWidgetChrome.tsx@@ -94,7 +94,7 @@ export const WorkflowWidgetLabel = ({ region }: WorkflowWidgetLabelProps) => {if (region !== 'center') {return (- <Text fontSize="xs" fontWeight="700">+ <Text fontSize="md" fontWeight="700">{t('widgets.labels.workflow')}</Text>);@@ -105,7 +105,7 @@ export const WorkflowWidgetLabel = ({ region }: WorkflowWidgetLabelProps) => {return (<HStack flex="1" gap="1" minW="0">- <Text color="fg.subtle" flexShrink={0} fontSize="xs">+ <Text color="fg.subtle" flexShrink={0} fontSize="md">/</Text><Tooltip content={t('widgets.workflow.projectWorkflows')}>@@ -116,7 +116,7 @@ export const WorkflowWidgetLabel = ({ region }: WorkflowWidgetLabelProps) => {maxW="16rem"minW="0"overflow="hidden"- size="2xs"+ size="sm"variant="ghost"onClick={openProjectWorkflows}>@@ -180,7 +180,7 @@ export const WorkflowMenuItems = (_props: WorkflowWidgetViewProps) => {return (<Menu.ItemGroup>- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{t('widgets.labels.workflow')}</Menu.ItemGroupLabel><Menu.Item value="details" onClick={openDetailsPanel}>@@ -243,7 +243,7 @@ export const WorkflowHeaderActions = ({ region }: WorkflowWidgetViewProps) => {<IconButtonaria-label={t('widgets.workflow.addNode')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={openAddNode}>@@ -258,7 +258,7 @@ export const WorkflowHeaderActions = ({ region }: WorkflowWidgetViewProps) => {<IconButtonaria-label={t('widgets.workflow.library')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={openWorkflowLibrary}>@@ -272,7 +272,7 @@ export const WorkflowHeaderActions = ({ region }: WorkflowWidgetViewProps) => {<IconButtonaria-label={t('widgets.workflow.saveToLibraryWithEllipsis')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={saveToLibrary}>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/WorkflowWidgetView.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/WorkflowWidgetView.tsxindex db8fcabfc3..b9ee6a53bc 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/WorkflowWidgetView.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/WorkflowWidgetView.tsx@@ -15,7 +15,7 @@ const WorkflowStatusBarItem = () => {return (<HStack gap="1" maxW="14rem" minW="0" px="2"><Icon as={WorkflowIcon} boxSize="3" color={isRunning ? 'brand.solid' : undefined} flexShrink={0} />- <MiddleTruncate fontSize="2xs" minW="0" text={workflowName || 'Untitled Workflow'} />+ <MiddleTruncate fontSize="xs" minW="0" text={workflowName || 'Untitled Workflow'} />{isRunning ? <Box bg="brand.solid" boxSize="1.5" flexShrink={0} rounded="full" /> : null}</HStack>);diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/editor/AddNodeDialog.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/editor/AddNodeDialog.tsxindex 93404a8181..cf1e78aff2 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/editor/AddNodeDialog.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/editor/AddNodeDialog.tsx@@ -232,15 +232,15 @@ const NodeResultRow = ({<Icon as={HammerIcon} boxSize="3" color="fg.subtle" flexShrink={0} /></Tooltip>) : null}- <MiddleTruncate fontSize="xs" fontWeight="600" text={row.title} />+ <MiddleTruncate fontSize="md" fontWeight="600" text={row.title} /></HStack>{row.description ? (- <Text color="fg.subtle" fontSize="2xs" lineClamp={2} lineHeight="1.4">+ <Text color="fg.subtle" fontSize="xs" lineClamp={2} lineHeight="1.4">{row.description}</Text>) : null}</Stack>- <Badge size="xs" variant="outline" fontFamily="mono">+ <Badge size="md" variant="outline" fontFamily="mono">{row.nodePack}</Badge></HStack>@@ -293,10 +293,10 @@ const CategoryHeaderRow = ({transform={isExpanded ? 'rotate(0deg)' : 'rotate(-90deg)'}transition="transform var(--wb-motion-duration-fast) ease-out"/>- <Text flex="1" fontSize="xs" fontWeight="700">+ <Text flex="1" fontSize="md" fontWeight="700">{group.label}</Text>- <Badge size="sm" variant="surface" fontFamily="mono">+ <Badge size="lg" variant="surface" fontFamily="mono">{group.rows.length}</Badge></HStack>@@ -663,13 +663,13 @@ const AddNodeDialogContent = ({if (status !== 'loaded') {body = (- <Text color={status === 'error' ? 'fg.error' : 'fg.subtle'} fontSize="xs" px="1" py="4">+ <Text color={status === 'error' ? 'fg.error' : 'fg.subtle'} fontSize="md" px="1" py="4">{status === 'error' ? (error ?? 'Failed to load node definitions.') : 'Loading node definitions…'}</Text>);} else if (totalCount === 0) {body = (- <Text color="fg.subtle" fontSize="xs" px="1" py="4" textAlign="center">+ <Text color="fg.subtle" fontSize="md" px="1" py="4" textAlign="center">{connectionFilter? `No compatible ${getConnectionFilterName(connectionFilter)} nodes.`: 'No nodes match your search.'}@@ -717,7 +717,7 @@ const AddNodeDialogContent = ({: 'Search for nodes…'}role="combobox"- size="sm"+ size="lg"value={searchTerm}onChange={onSearchChange}onKeyDown={onSearchKeyDown}@@ -726,7 +726,7 @@ const AddNodeDialogContent = ({<Tooltip content={isAllExpanded ? 'Collapse All' : 'Expand All'}><IconButtonaria-label={isAllExpanded ? 'Collapse all categories' : 'Expand all categories'}- size="sm"+ size="lg"variant="ghost"onClick={toggleAllCategories}>@@ -735,7 +735,7 @@ const AddNodeDialogContent = ({</Tooltip>) : null}</HStack>- <ScrollArea.Root flex="1" minH="0" size="xs" variant="hover" w="full">+ <ScrollArea.Root flex="1" minH="0" size="md" variant="hover" w="full"><ScrollArea.Viewport ref={setScrollElement} h="full" w="full"><ScrollArea.Content id={RESULT_LIST_ID} aria-label="Node search results" role="tree" w="full">{body}diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/editor/CurrentImageFlowNode.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/editor/CurrentImageFlowNode.tsxindex e293a7c2db..841e89cc70 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/editor/CurrentImageFlowNode.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/editor/CurrentImageFlowNode.tsx@@ -42,7 +42,7 @@ const CurrentImageEditorNode = ({ data, selected }: NodeProps<CurrentImageFlowNo<Flex {...getWorkflowNodeHeaderProps()}><Text fontWeight="700">{node.data.label || 'Current Image'}</Text>{progressImage ? (- <Text color="brand.solid" data-node-status-indicator="true" fontSize="2xs" ms="auto">+ <Text color="brand.solid" data-node-status-indicator="true" fontSize="xs" ms="auto">generating…</Text>) : null}@@ -60,7 +60,7 @@ const CurrentImageEditorNode = ({ data, selected }: NodeProps<CurrentImageFlowNoliveImage={progressImageToStreamingSource(progressImage)}w="full">- <Flex align="center" color="fg.subtle" fontSize="2xs" h="full" justify="center" px="4" textAlign="center">+ <Flex align="center" color="fg.subtle" fontSize="xs" h="full" justify="center" px="4" textAlign="center">No image yet — the latest generation will appear here.</Flex></StreamingImageFrame>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/editor/EditorToolbar.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/editor/EditorToolbar.tsxindex 8d1c55fda4..86e6b551be 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/editor/EditorToolbar.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/editor/EditorToolbar.tsx@@ -183,7 +183,7 @@ export const EditorToolbar = ({<IconButtonaria-label="Node opacity"aria-pressed={nodeOpacity < 1}- size="xs"+ size="md"variant={nodeOpacity < 1 ? 'solid' : 'ghost'}><Icon as={BlendIcon} boxSize="3.5" />@@ -195,13 +195,13 @@ export const EditorToolbar = ({<PopoverContent w="12rem"><Popover.Body p="3"><Stack gap="1.5">- <Text color="fg.muted" fontSize="2xs" fontWeight="600">+ <Text color="fg.muted" fontSize="xs" fontWeight="600">Node opacity · {Math.round(nodeOpacity * 100)}%</Text><Slider.Rootmax={100}min={20}- size="sm"+ size="md"step={5}value={opacityValue}onValueChange={onSliderValueChange}diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/editor/InvocationFlowNode.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/editor/InvocationFlowNode.tsxindex 2294447ab3..62bf856fec 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/editor/InvocationFlowNode.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/editor/InvocationFlowNode.tsx@@ -208,7 +208,7 @@ const InlineLabelInput = ({onEnd,}: {ariaLabel: string;- fontSize?: '2xs';+ fontSize?: 'xs';initialValue: string;onCommit: (value: string) => void;onEnd: () => void;@@ -226,7 +226,7 @@ const InlineLabelInput = ({flex="1"fontSize={fontSize}minW="0"- size="2xs"+ size="md"value={draft}onBlur={() => {if (!isCancelled.current && draft.trim() !== initialValue) {@@ -396,7 +396,7 @@ const BatchGroupSuffix = ({ node }: { node: WorkflowInvocationNode }) => {const groupId = getWorkflowBatchGroupId(node);return (- <Text color={BATCH_GROUP_COLORS[groupId] ?? 'fg.subtle'} flexShrink={0} fontSize="2xs" fontWeight="600">+ <Text color={BATCH_GROUP_COLORS[groupId] ?? 'fg.subtle'} flexShrink={0} fontSize="xs" fontWeight="600">({groupId === 'None' ? t('nodes.noBatchGroup') : groupId})</Text>);@@ -486,27 +486,27 @@ const NodeFooter = ({ canUseCache, node }: { canUseCache: boolean; node: Workflo<Checkbox.Rootchecked={node.data.useCache}colorPalette="accent"- size="xs"+ size="sm"onCheckedChange={(event) =>editGraph({ nodeId: node.id, type: 'setNodeUseCache', useCache: event.checked === true })}><Checkbox.HiddenInput /><Checkbox.Control />- <Checkbox.Label fontSize="2xs">Use Cache</Checkbox.Label>+ <Checkbox.Label fontSize="xs">Use Cache</Checkbox.Label></Checkbox.Root>) : null}<Checkbox.Rootchecked={!node.data.isIntermediate}colorPalette="accent"- size="xs"+ size="sm"onCheckedChange={(event) =>editGraph({ isIntermediate: event.checked !== true, nodeId: node.id, type: 'setNodeIsIntermediate' })}><Checkbox.HiddenInput /><Checkbox.Control />- <Checkbox.Label fontSize="2xs">Save to Gallery</Checkbox.Label>+ <Checkbox.Label fontSize="xs">Save to Gallery</Checkbox.Label></Checkbox.Root></HStack></Flex>@@ -518,7 +518,7 @@ const ProvidedByConnectionNote = () => {const { t } = useTranslation();return (- <Text color="fg.subtle" fontSize="2xs" mt="0.5">+ <Text color="fg.subtle" fontSize="xs" mt="0.5">{t('nodes.providedByConnection')}</Text>);@@ -559,7 +559,7 @@ const InputFieldRow = ({<Textcolor={showInvalid ? 'fg.error' : isConnected ? 'fg.muted' : 'fg'}data-node-input-field-title="true"- fontSize="2xs"+ fontSize="xs"lineHeight="shorter"minW="0"truncate@@ -621,7 +621,7 @@ const InputFieldRow = ({) : isEditingLabel ? (<InlineLabelInputariaLabel="Field label"- fontSize="2xs"+ fontSize="xs"initialValue={label}// The template title is the unset label, so renaming back to it follows template changes again.onCommit={(next) =>@@ -657,7 +657,7 @@ const InputFieldRow = ({aria-label={`Reset ${label} to default value`}className="nodrag"color="fg.subtle"- size="2xs"+ size="sm"title="Reset to default value"variant="ghost"onClick={() =>@@ -686,7 +686,7 @@ const InputFieldRow = ({aria-label={isExposed ? `Remove ${label} from Linear UI` : `Expose ${label} in Linear UI`}className="nodrag"color={isExposed ? 'accent.solid' : 'fg.subtle'}- size="2xs"+ size="sm"title={isExposed ? 'Remove from Linear UI form' : 'Expose in Linear UI form'}variant="ghost"onClick={() => editGraph({ fieldIdentifier, type: isExposed ? 'unexposeField' : 'exposeField' })}@@ -725,7 +725,7 @@ const InputFieldRow = ({<ProvidedByConnectionNote />) : null}{invalidReason && !isWorkflowImageExport ? (- <Field.ErrorText fontSize="2xs">{invalidReason}</Field.ErrorText>+ <Field.ErrorText fontSize="xs">{invalidReason}</Field.ErrorText>) : null}</Field.Root></Box>@@ -773,7 +773,7 @@ const OutputFieldRow = ({<Textcolor="fg.muted"data-workflow-export-output-title="true"- fontSize="2xs"+ fontSize="xs"lineHeight="shorter"maxW="full"overflowWrap="anywhere"@@ -789,7 +789,7 @@ const OutputFieldRow = ({<Tooltip content={value.full} positioning={{ placement: 'top-end' }}><Textcolor="fg.subtle"- fontSize="2xs"+ fontSize="xs"lineHeight="shorter"minW="0"overflow="hidden"@@ -805,7 +805,7 @@ const OutputFieldRow = ({<MiddleTruncateas="span"color="fg.muted"- fontSize="2xs"+ fontSize="xs"justifyContent="flex-end"lineHeight="shorter"maxW="full"@@ -825,7 +825,7 @@ const OutputScopeHeader = ({ scope }: { scope: 'iteration' | 'final' }) => {return (<Box px={WORKFLOW_NODE_DENSITY.rowPaddingX} py={WORKFLOW_NODE_DENSITY.rowPaddingY}>- <Text color="fg.subtle" fontSize="2xs" fontWeight="600" textAlign="end">+ <Text color="fg.subtle" fontSize="xs" fontWeight="600" textAlign="end">{scope === 'iteration' ? t('nodes.iterationOutputs') : t('nodes.finalOutputs')}</Text></Box>@@ -890,7 +890,7 @@ const CompactNodeBody = ({ inputCount, outputCount }: { inputCount: number; outp<Flexalign="center"color="fg.muted"- fontSize="2xs"+ fontSize="xs"gap="2"px={WORKFLOW_NODE_DENSITY.rowPaddingX}{...getWorkflowNodeBodyProps()}@@ -924,7 +924,7 @@ const CompactInvocationNode = ({ data, selected }: NodeProps<InvocationFlowNodeTselected={selected ?? false}><Flex {...getWorkflowNodeHeaderProps()}>- <MiddleTruncate fontSize="sm" fontWeight="700" minW="0" text={title} />+ <MiddleTruncate fontSize="lg" fontWeight="700" minW="0" text={title} /><BatchGroupSuffix node={node} /><Box flex="1" /><NodeOutcomeIcon execution={execution} node={node} />@@ -933,7 +933,7 @@ const CompactInvocationNode = ({ data, selected }: NodeProps<InvocationFlowNodeT{templateView ? (<CompactNodeBody inputCount={inputTemplates.length} outputCount={outputTemplates.length} />) : (- <Text color="fg.subtle" fontSize="2xs" px="3" {...getWorkflowNodeBodyProps()} py="2">+ <Text color="fg.subtle" fontSize="xs" px="3" {...getWorkflowNodeBodyProps()} py="2">Unknown node type. Select for details.</Text>)}@@ -974,7 +974,7 @@ const ExpandedInvocationNode = ({ data, selected }: NodeProps<InvocationFlowNode<Text fontWeight="700">{node.data.label || node.data.type}</Text>)}{!isWorkflowImageExport ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">Unknown node type "{node.data.type}". It cannot run on this backend.</Text>) : null}@@ -1018,7 +1018,7 @@ const ExpandedInvocationNode = ({ data, selected }: NodeProps<InvocationFlowNode<IconButtonaria-label={isOpen ? 'Collapse node' : 'Expand node'}className="nodrag"- size="2xs"+ size="sm"variant="ghost"onClick={() => editGraph({ isOpen: !isOpen, nodeId: node.id, type: 'setNodeIsOpen' })}>@@ -1026,7 +1026,7 @@ const ExpandedInvocationNode = ({ data, selected }: NodeProps<InvocationFlowNode</IconButton>) : null}{isZoomedOut ? (- <MiddleTruncate fontSize="sm" fontWeight="700" minW="0" text={node.data.label || template.title} />+ <MiddleTruncate fontSize="lg" fontWeight="700" minW="0" text={node.data.label || template.title} />) : (<><NodeTitle@@ -1073,11 +1073,11 @@ const ExpandedInvocationNode = ({ data, selected }: NodeProps<InvocationFlowNode/>))}{!isWorkflowImageExport && shouldShowCallSavedWorkflowLoadingHint(node) ? (- <Text color="fg.subtle" fontSize="2xs" px={WORKFLOW_NODE_DENSITY.rowPaddingX} py="1">+ <Text color="fg.subtle" fontSize="xs" px={WORKFLOW_NODE_DENSITY.rowPaddingX} py="1">{t('nodes.savedWorkflowDetailLoading')}</Text>) : !isWorkflowImageExport && shouldShowCallSavedWorkflowNoExposedFieldsHint(node) ? (- <Text color="fg.subtle" fontSize="2xs" px={WORKFLOW_NODE_DENSITY.rowPaddingX} py="1">+ <Text color="fg.subtle" fontSize="xs" px={WORKFLOW_NODE_DENSITY.rowPaddingX} py="1">{t('nodes.savedWorkflowNoExposedFields')}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/editor/LoopBodyBoundaryOverlay.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/editor/LoopBodyBoundaryOverlay.tsxindex 6f69dce6c6..a2e37b8674 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/editor/LoopBodyBoundaryOverlay.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/editor/LoopBodyBoundaryOverlay.tsx@@ -115,7 +115,7 @@ export const LoopBodyBoundaryOverlay = ({ nodes, edges }: { nodes: WorkflowNode[px={1}bg="bg.canvas"color={colors.text}- fontSize="xs"+ fontSize="md"lineHeight="short"whiteSpace="nowrap">diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/editor/NotesFlowNode.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/editor/NotesFlowNode.tsxindex b4291d6ea9..cc14a3b51c 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/editor/NotesFlowNode.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/editor/NotesFlowNode.tsx@@ -23,13 +23,13 @@ const NotesSnapshotNode = ({ data }: NodeProps<NotesFlowNodeType>) => {><MiddleTruncatedata-workflow-export-node-title="true"- fontSize="2xs"+ fontSize="xs"fontWeight="700"mb="1.5"text={node.data.label}/>{node.data.notes ? (- <Text fontSize="2xs" overflowWrap="anywhere" whiteSpace="pre-wrap">+ <Text fontSize="xs" overflowWrap="anywhere" whiteSpace="pre-wrap">{node.data.notes}</Text>) : null}@@ -66,7 +66,7 @@ const NotesEditorNode = ({ data, selected }: NodeProps<NotesFlowNodeType>) => {className="nodrag"fontWeight="700"mb="1.5"- size="2xs"+ size="md"value={node.data.label}variant="flushed"onChange={onLabelChange}@@ -74,11 +74,11 @@ const NotesEditorNode = ({ data, selected }: NodeProps<NotesFlowNodeType>) => {<Textareaaria-label="Note text"className="nodrag nowheel"- fontSize="2xs"+ fontSize="xs"minH="5rem"placeholder="Write a note…"resize="vertical"- size="xs"+ size="md"value={node.data.notes}onChange={onNotesChange}/>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/editor/WorkflowEditorView.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/editor/WorkflowEditorView.tsxindex e73cc9c7e5..78e8be4125 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/editor/WorkflowEditorView.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/editor/WorkflowEditorView.tsx@@ -199,12 +199,12 @@ const WorkflowEditorPreparingState = ({ edgeCount, nodeCount }: { edgeCount: num<Flex align="center" bg="bg.inset" h="full" justify="center" p="6" w="full"><Stack align="center" gap="3" textAlign="center"><HStack color="fg.muted" gap="2">- <Spinner size="sm" />- <Text fontSize="sm" fontWeight="700">+ <Spinner size="lg" />+ <Text fontSize="lg" fontWeight="700">Preparing workflow graph</Text></HStack>- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">Loading {nodeCount.toLocaleString()} node{nodeCount === 1 ? '' : 's'} and {edgeCount.toLocaleString()} edge{edgeCount === 1 ? '' : 's'}.</Text>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/fields/FieldDescriptionPopover.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/fields/FieldDescriptionPopover.tsxindex 96eb1fd550..5f5b7cbdd5 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/fields/FieldDescriptionPopover.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/fields/FieldDescriptionPopover.tsx@@ -39,7 +39,7 @@ export const FieldDescriptionPopover = ({aria-label="Edit field description"className="nodrag"color={description ? 'accent.solid' : 'fg.subtle'}- size="2xs"+ size="sm"title="Edit field description"variant="ghost">@@ -51,17 +51,17 @@ export const FieldDescriptionPopover = ({<PopoverContent w="18rem"><Popover.Body p="2"><Stack gap="1">- <Text color="fg.subtle" fontSize="2xs" lineHeight={1.3}>+ <Text color="fg.subtle" fontSize="xs" lineHeight={1.3}>Field description — overrides the node's default. Clear to restore it.</Text><Textareaaria-label="Field description"className="nodrag nowheel"- fontSize="2xs"+ fontSize="xs"minH="4rem"placeholder={templateDescription || 'Describe this field…'}resize="vertical"- size="xs"+ size="md"value={description ?? ''}onChange={onDescriptionChange}/>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/fields/GeneratorFieldInput.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/fields/GeneratorFieldInput.tsxindex d95f2c5f32..ea3a0a0597 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/fields/GeneratorFieldInput.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/fields/GeneratorFieldInput.tsx@@ -101,7 +101,7 @@ const NumberSetting = ({return (<HStack flex="1" gap="1" minW="0">{label ? (- <chakra.label color="fg.subtle" flexShrink={0} fontSize="2xs" htmlFor={`${id}-number-input`} minW="10">+ <chakra.label color="fg.subtle" flexShrink={0} fontSize="xs" htmlFor={`${id}-number-input`} minW="10">{label}</chakra.label>) : null}@@ -112,7 +112,6 @@ const NumberSetting = ({disabled={disabled}id={id}invalid={invalid}- size="2xs"template={template}value={value ?? undefined}onChange={onChange}@@ -153,10 +152,10 @@ const SeedSetting = ({<HStack gap="2" minW="0">{/* Ark controls take the enclosing field's control id; a field of their own keeps ids unique in the widget. */}<Field.Root flexShrink={0} gap="0" w="auto">- <Checkbox.Root checked={seed !== null} colorPalette="accent" size="xs" onCheckedChange={onCheckedChange}>+ <Checkbox.Root checked={seed !== null} colorPalette="accent" size="sm" onCheckedChange={onCheckedChange}><Checkbox.HiddenInput /><Checkbox.Control />- <Checkbox.Label fontSize="2xs">{t('nodes.generatorSeed')}</Checkbox.Label>+ <Checkbox.Label fontSize="xs">{t('nodes.generatorSeed')}</Checkbox.Label></Checkbox.Root></Field.Root><NumberSetting@@ -206,10 +205,10 @@ const InputSetting = ({ id, value, onCommit }: { id: string; value: string; onCoreturn (<Stack gap="1"><HStack justify="space-between">- <chakra.label color="fg.subtle" fontSize="2xs" htmlFor={id}>+ <chakra.label color="fg.subtle" fontSize="xs" htmlFor={id}>{t('nodes.generatorInput')}</chakra.label>- <Button className="nodrag" size="2xs" variant="ghost" onClick={onLoadClick}>+ <Button className="nodrag" size="sm" variant="ghost" onClick={onLoadClick}><UploadIcon />{t('nodes.generatorLoadFromFile')}</Button>@@ -228,7 +227,7 @@ const InputSetting = ({ id, value, onCommit }: { id: string; value: string; onCoid={id}resize="none"rows={4}- size="xs"+ size="md"value={value}onChange={onTextChange}/>@@ -284,7 +283,7 @@ const PreviewBox = ({ children, tone = 'fg.muted' }: { children: string; tone?:className="nowheel"color={tone}fontFamily="mono"- fontSize="2xs"+ fontSize="xs"maxH="32"overflowY="auto"px="1.5"@@ -505,7 +504,7 @@ export const GeneratorFieldInput = ({ id, invalid, onChange, template, value }:className="nodrag"collection={variantCollection}invalid={invalid}- size="xs"+ size="md"value={variantValue}valueTextProps={SELECT_VALUE_TEXT_PROPS}w="full"@@ -609,13 +608,13 @@ export const GeneratorFieldInput = ({ id, invalid, onChange, template, value }:generator.type === 'string_generator_parse_string' ? (<Stack gap="1.5"><HStack gap="1">- <chakra.label color="fg.subtle" flexShrink={0} fontSize="2xs" htmlFor={`${prefix}-split-on`}>+ <chakra.label color="fg.subtle" flexShrink={0} fontSize="xs" htmlFor={`${prefix}-split-on`}>{t('nodes.splitOn')}</chakra.label><InputclassName="nodrag"id={`${prefix}-split-on`}- size="2xs"+ size="md"value={generator.splitOn}onChange={onSplitOnChange}/>@@ -664,7 +663,7 @@ export const GeneratorFieldInput = ({ id, invalid, onChange, template, value }:aria-label={t('nodes.generatorImagesCategory')}className="nodrag"collection={categoryCollection}- size="xs"+ size="md"value={categoryValue}valueTextProps={SELECT_VALUE_TEXT_PROPS}w="full"diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/fields/NumericInput.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/fields/NumericInput.tsxindex 0eefee1dc5..b6c1635aa0 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/fields/NumericInput.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/fields/NumericInput.tsx@@ -57,7 +57,6 @@ export interface NumericInputProps {id?: string;invalid?: boolean;onChange: (value: number | undefined) => void;- size?: 'xs' | '2xs';/** The arrow-key increment when the template declares no `multipleOf`. */step?: number;template: NumericInputTemplate;@@ -80,7 +79,6 @@ export const NumericInput = ({id,invalid,onChange,- size = 'xs',step,template,value,@@ -161,7 +159,7 @@ export const NumericInput = ({max={max !== undefined ? String(max) : undefined}min={min !== undefined ? String(min) : undefined}fontVariantNumeric="tabular-nums"- size={size}+ size="md"step={multipleOf !== undefined ? String(multipleOf) : step !== undefined ? String(step) : isInteger ? '1' : FLOAT_STEP}diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/fields/RecordPickerInput.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/fields/RecordPickerInput.tsxindex c1ebe0ac04..24175a8750 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/fields/RecordPickerInput.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/fields/RecordPickerInput.tsx@@ -82,7 +82,7 @@ const RecordPickerInput = ({aria-label={t('common.retry')}className="nodrag"disabled={isFetching}- size="xs"+ size="md"variant="ghost"onClick={onRetry}>@@ -92,14 +92,14 @@ const RecordPickerInput = ({) : null}{selectedId !== null ? (<Tooltip content={labels.clear}>- <IconButton aria-label={labels.clear} className="nodrag" size="xs" variant="ghost" onClick={onClear}>+ <IconButton aria-label={labels.clear} className="nodrag" size="md" variant="ghost" onClick={onClear}><XIcon /></IconButton></Tooltip>) : null}</HStack>{message !== null ? (- <Text color="fg.error" fontSize="2xs" id={messageId}>+ <Text color="fg.error" fontSize="xs" id={messageId}>{message}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/fields/WorkflowFieldInput.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/fields/WorkflowFieldInput.tsxindex 0ff66e404d..c41357c875 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/fields/WorkflowFieldInput.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/fields/WorkflowFieldInput.tsx@@ -122,12 +122,12 @@ import { useTranslation } from 'react-i18next';const ModelSelect = lazy(() => import('@features/models/react').then((module) => ({ default: module.ModelSelect })));const MODEL_SELECT_FALLBACK = (- <Button disabled size="xs" w="full">+ <Button disabled size="md" w="full">Loading models…</Button>);const RECORD_PICKER_FALLBACK = (- <Button disabled size="xs" w="full">+ <Button disabled size="md" w="full">Loading…</Button>);@@ -192,7 +192,7 @@ const StringInput = ({ ariaLabel, id, invalid, onChange, template, value }: Scalid={id ? `${id}-textarea` : undefined}minHeightPx={56}resizeHandleAriaLabel={`Resize ${template.title}`}- size="xs"+ size="md"value={text}w="full"{...invalidProps(invalid)}@@ -207,7 +207,7 @@ const StringInput = ({ ariaLabel, id, invalid, onChange, template, value }: Scalaria-label={ariaLabel ?? template.title}className="nodrag"id={id ? `${id}-input` : undefined}- size="xs"+ size="md"value={text}w="full"{...invalidProps(invalid)}@@ -287,7 +287,7 @@ const BooleanInput = ({ id, invalid, onChange, template, value }: WorkflowFieldIclassName="nodrag"ids={switchIds}invalid={invalid}- size="sm"+ size="md"onCheckedChange={onCheckedChange}><Switch.HiddenInput aria-label={template.title} {...invalidProps(invalid)} />@@ -340,7 +340,7 @@ const SelectInput = ({collection={collection}ids={selectIds}invalid={invalid}- size="xs"+ size="md"value={selectedValue}valueTextProps={SELECT_VALUE_TEXT_PROPS}w="full"@@ -374,7 +374,7 @@ const EnumInput = ({ id, invalid, onChange, template, value }: WorkflowFieldInpuid={id ? `${id}-scheduler-combobox` : undefined}invalid={invalid}options={options}- size="xs"+ size="md"value={typeof value === 'string' ? value : null}onValueChange={onOptionChange}/>@@ -427,7 +427,7 @@ const ModelIdentifierInput = ({ id, invalid, onChange, template, value }: Workflinvalid={invalid}isClearable={false}modelTypes={modelTypes}- size="xs"+ size="md"value={selectedKey}onChange={onModelChange}/>@@ -442,7 +442,7 @@ const SchedulerInput = ({ id, invalid, onChange, template, value }: WorkflowFielid={id ? `${id}-scheduler-combobox` : undefined}invalid={invalid}options={SCHEDULER_OPTIONS}- size="xs"+ size="md"value={typeof value === 'string' ? value : null}onValueChange={onChange}/>@@ -713,7 +713,7 @@ const ImageCollectionTile = ({insetInlineEnd="0.5"opacity={0}position="absolute"- size="2xs"+ size="sm"top="0.5"transition="opacity var(--wb-motion-duration-fast) ease"variant="subtle"@@ -882,10 +882,10 @@ const ImageCollectionInput = ({w="full"{...(invalid ? MEDIA_WELL_INVALID_PROPS : MEDIA_WELL_PROPS)}>- <Text as="span" color="fg" fontSize="xs" fontWeight="600">+ <Text as="span" color="fg" fontSize="md" fontWeight="600">{pickerLabel}</Text>- <Text as="span" color="fg.subtle" fontSize="2xs">+ <Text as="span" color="fg.subtle" fontSize="xs">{t('widgets.gallery.picker.dropHint')}</Text></Flex>@@ -896,21 +896,21 @@ const ImageCollectionInput = ({</Box><HStack gap="1.5" mt="1" w="full"><GalleryPickerPopover accept={IMAGE_ONLY} label={pickerLabel} selection={pickerSelection} onPick={onPick}>- <Button className="nodrag" size="2xs" variant="outline">+ <Button className="nodrag" size="sm" variant="outline"><Icon as={ImagePlusIcon} boxSize="3" />{t('common.add')}</Button></GalleryPickerPopover>- <Button className="nodrag" disabled={isUploading} size="2xs" variant="outline" onClick={onUploadClick}>+ <Button className="nodrag" disabled={isUploading} size="sm" variant="outline" onClick={onUploadClick}>{isUploading ? 'Uploading…' : 'Upload'}</Button>{names.length > 0 ? (- <Button className="nodrag" size="2xs" variant="ghost" onClick={onClearClick}>+ <Button className="nodrag" size="sm" variant="ghost" onClick={onClearClick}>Clear</Button>) : null}{names.length > 0 ? (- <Text color="fg.subtle" fontSize="2xs" ms="auto">+ <Text color="fg.subtle" fontSize="xs" ms="auto">{t('nodes.imageCollectionCount', { count: names.length })}</Text>) : null}@@ -1045,10 +1045,10 @@ const MediaInput = ({ id, invalid, kind, onChange, value }: WorkflowFieldInputPrw="full"{...(invalid ? MEDIA_WELL_INVALID_PROPS : MEDIA_WELL_PROPS)}>- <Text as="span" color="fg" fontSize="xs" fontWeight="600">+ <Text as="span" color="fg" fontSize="md" fontWeight="600">{pickerLabel}</Text>- <Text as="span" color="fg.subtle" fontSize="2xs">+ <Text as="span" color="fg.subtle" fontSize="xs">{t('widgets.gallery.picker.dropHint')}</Text></Flex>@@ -1062,7 +1062,7 @@ const MediaInput = ({ id, invalid, kind, onChange, value }: WorkflowFieldInputPrinsetInlineEnd="1"pointerEvents="none"position="absolute"- size="xs"+ size="md"variant="solid">{badge}@@ -1078,7 +1078,7 @@ const MediaInput = ({ id, invalid, kind, onChange, value }: WorkflowFieldInputPr<ButtonclassName="nodrag"disabled={isUploading}- size="2xs"+ size="sm"title={`Upload a ${config.noun} and use it here`}variant="outline"onClick={onUploadClick}@@ -1086,7 +1086,7 @@ const MediaInput = ({ id, invalid, kind, onChange, value }: WorkflowFieldInputPr{isUploading ? 'Uploading…' : 'Upload'}</Button>{mediaName ? (- <Button className="nodrag" size="2xs" variant="ghost" onClick={onClearClick}>+ <Button className="nodrag" size="sm" variant="ghost" onClick={onClearClick}>Clear</Button>) : null}@@ -1181,7 +1181,7 @@ const VideoFrameIndexInput = (props: WorkflowFieldInputProps) => {/>) : (<Flex borderStyle="dashed" borderWidth="1px" justifyContent="center" px="2" py="2" rounded="sm">- <Text color="fg.subtle" fontSize="xs" textAlign="center">+ <Text color="fg.subtle" fontSize="md" textAlign="center">{isVideoConnected? 'Frame preview unavailable while the video comes from a graph connection.': videoName === null@@ -1262,7 +1262,7 @@ const FrameScrubber = ({insetInlineEnd="1"pointerEvents="none"position="absolute"- size="xs"+ size="md"variant="solid">{`${resolvedIndex} / ${frameCount - 1}`}@@ -1274,7 +1274,7 @@ const FrameScrubber = ({aria-label={FRAME_SLIDER_ARIA_LABEL}max={frameCount - 1}min={0}- size="sm"+ size="md"step={1}value={sliderValue}withThumbTooltip@@ -1384,7 +1384,7 @@ const LoRACollectionInput = ({ id, invalid, onChange, template, value }: Workfloinvalid={invalid}modelTypes={(template.uiModelType as ModelTaxonomyType[] | null) ?? LORA_MODEL_TYPES}placeholder="Add LoRA…"- size="xs"+ size="md"value={null}onChange={onAdd}/>@@ -1457,7 +1457,7 @@ const LoRACollectionRow = ({return (<HStack gap="1" minW="0" w="full"><Tooltip content={entry ? label : 'This entry is not a readable LoRA and will block invoking.'}>- <MiddleTruncate color={entry ? undefined : 'fg.error'} flex="1" fontSize="2xs" minW="0" text={label} />+ <MiddleTruncate color={entry ? undefined : 'fg.error'} flex="1" fontSize="xs" minW="0" text={label} /></Tooltip>{entry ? (<Field.Root flexShrink="0" invalid={!isLoraFieldWeightValid(entry.weight)} w="16">@@ -1477,7 +1477,7 @@ const LoRACollectionRow = ({className="nodrag"color="fg.muted"flexShrink="0"- size="2xs"+ size="sm"variant="ghost"onClick={onRemoveClick}>@@ -1562,17 +1562,17 @@ const ScalarCollectionInput = ({ id, invalid, onChange, template, value }: Workf</Stack>) : null}<HStack gap="1.5" w="full">- <Button ref={addButtonRef} className="nodrag" size="2xs" variant="outline" onClick={onAdd}>+ <Button ref={addButtonRef} className="nodrag" size="sm" variant="outline" onClick={onAdd}><Icon as={PlusIcon} boxSize="3" />{t('nodes.addItem')}</Button>{items.length > 0 ? (- <Button className="nodrag" size="2xs" variant="ghost" onClick={onClear}>+ <Button className="nodrag" size="sm" variant="ghost" onClick={onClear}>{t('common.clear')}</Button>) : null}{items.length > 0 ? (- <Text color="fg.subtle" fontSize="2xs" ms="auto">+ <Text color="fg.subtle" fontSize="xs" ms="auto">{t('nodes.collectionItemCount', { count: items.length })}</Text>) : null}@@ -1605,7 +1605,7 @@ const ScalarCollectionRow = ({return (<HStack gap="1" w="full">- <Text color="fg.subtle" flexShrink="0" fontSize="2xs" fontVariantNumeric="tabular-nums" minW="4" textAlign="end">+ <Text color="fg.subtle" flexShrink="0" fontSize="xs" fontVariantNumeric="tabular-nums" minW="4" textAlign="end">{index + 1}.</Text>{/* The host's Field.Root marks every control inside it invalid; a row scopes its own validity instead. */}@@ -1626,7 +1626,7 @@ const ScalarCollectionRow = ({color="fg.muted"data-collection-remove=""flexShrink="0"- size="2xs"+ size="sm"variant="ghost"onClick={onRemoveClick}>@@ -1638,7 +1638,7 @@ const ScalarCollectionRow = ({};const CONNECTION_ONLY_FALLBACK = (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">Connection only</Text>);@@ -1737,7 +1737,7 @@ const SavedWorkflowInput = ({ nodeId, onChange, template, value }: WorkflowField<IconButtonaria-label={t('common.retry')}className="nodrag"- size="xs"+ size="md"variant="ghost"onClick={retrySelection}>@@ -1748,7 +1748,7 @@ const SavedWorkflowInput = ({ nodeId, onChange, template, value }: WorkflowField<IconButtonaria-label={t('nodes.savedWorkflowClear')}className="nodrag"- size="xs"+ size="md"variant="ghost"onClick={clearSelection}>@@ -1758,31 +1758,31 @@ const SavedWorkflowInput = ({ nodeId, onChange, template, value }: WorkflowField</HStack>{selectionState.status === 'selected' ? (<HStack flexWrap="wrap" gap="1" minW="0">- <Text color="fg.muted" fontSize="2xs" minW="0" truncate>+ <Text color="fg.muted" fontSize="xs" minW="0" truncate>{selectionState.workflow.name}</Text>{displayState.badges.includes('unsupported') ? (- <Badge fontSize="2xs">{t('nodes.savedWorkflowUnsupported')}</Badge>+ <Badge fontSize="xs">{t('nodes.savedWorkflowUnsupported')}</Badge>) : null}{displayState.badges.includes('default') ? (- <Badge fontSize="2xs">{t('nodes.savedWorkflowDefaultBadge')}</Badge>+ <Badge fontSize="xs">{t('nodes.savedWorkflowDefaultBadge')}</Badge>) : null}{displayState.badges.includes('shared') ? (- <Badge fontSize="2xs">{t('nodes.savedWorkflowShared')}</Badge>+ <Badge fontSize="xs">{t('nodes.savedWorkflowShared')}</Badge>) : null}</HStack>) : (- <Badge alignSelf="flex-start" fontSize="2xs">+ <Badge alignSelf="flex-start" fontSize="xs">{statusText}</Badge>)}{displayState.compatibility?.message ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{displayState.compatibility.message}</Text>) : null}{isFetching ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('nodes.savedWorkflowUpdating')}</Text>) : null}@@ -1944,7 +1944,7 @@ const formatSnapshotValue = (value: unknown, template: FieldInputTemplate): striconst SNAPSHOT_VALUE_TEXT_PROPS = {color: 'fg.muted',- fontSize: '2xs',+ fontSize: 'xs',lineHeight: 'short',mt: '0.5',overflowWrap: 'anywhere',@@ -2072,7 +2072,7 @@ export const WorkflowFieldSnapshot = ({overflowWrap="anywhere"px="2"py="1"- textStyle="xs"+ textStyle="md"w="full"whiteSpace="pre-wrap">diff --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 da88b4bf5b..a07f978a19 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@@ -51,7 +51,7 @@ const ListFallback = () => {return (<Center aria-label={t('common.loading')} h="full" role="status">- <Spinner color="fg.subtle" size="sm" />+ <Spinner color="fg.subtle" size="lg" /></Center>);};@@ -70,7 +70,7 @@ const InvalidBanner = ({ children }: { children: ReactNode }) => (bg="bg.muted"color="fg.muted"display="flex"- fontSize="sm"+ fontSize="lg"gap="2"px="3"py="2"@@ -239,7 +239,7 @@ export const GraphPreviewDialog = ({<Box display="flex" flex="1" gap="3" minH="0"><PreviewPane>{!graph ? (- <Text color="fg.muted" fontSize="sm">+ <Text color="fg.muted" fontSize="lg">{t('graphPreview.noCompiledGraph', { graphId })}</Text>) : mode === 'json' ? (@@ -275,7 +275,7 @@ export const GraphPreviewDialog = ({</Dialog.Body><Dialog.Footer justifyContent="space-between"><Box display="flex" gap="2">- <Button disabled={!graph} size="xs" variant="outline" onClick={copyJson}>+ <Button disabled={!graph} size="md" variant="outline" onClick={copyJson}><Iconas={hasCopied ? CheckIcon : CopyIcon}boxSize="3.5"@@ -290,7 +290,7 @@ export const GraphPreviewDialog = ({sourceLabel={sourceLabel}onClose={closeDialog}>- <Button size="xs" variant="outline">+ <Button size="md" variant="outline">{t('graphPreview.openAs')}<Icon as={ChevronUpIcon} boxSize="3.5" /></Button>@@ -303,14 +303,14 @@ export const GraphPreviewDialog = ({aria-disabled={!canInvoke}cursor={canInvoke ? undefined : 'not-allowed'}opacity={canInvoke ? undefined : 0.6}- size="xs"+ size="md"title={validationMessage}onClick={invokeRoute}>{t('graphPreview.invokeRoute', { route: dialogRoute.label })}</Button>) : null}- <Button size="xs" variant="ghost" onClick={closeDialog}>+ <Button size="md" variant="ghost" onClick={closeDialog}>{t('common.close')}</Button></Box>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewFlow.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewFlow.tsxindex 54eb0880c7..87c6f46610 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewFlow.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewFlow.tsx@@ -76,7 +76,7 @@ const PreviewNode = ({ data }: NodeProps<PreviewFlowNode>) => {bg="bg"borderColor={data.isSelected ? 'accent.solid' : 'border.emphasized'}borderWidth="1px"- fontSize="xs"+ fontSize="md"minW="14rem"outlineColor="accent.solid"outlineStyle={data.isSelected ? 'solid' : undefined}@@ -87,10 +87,10 @@ const PreviewNode = ({ data }: NodeProps<PreviewFlowNode>) => {<Handle position={Position.Left} style={handleStyle} type="target" /><Handle position={Position.Right} style={handleStyle} type="source" /><Stack gap="0.5" px="3" py="2">- <Badge fontFamily="mono" size="xs" w="fit-content">+ <Badge fontFamily="mono" size="md" w="fit-content">{data.nodeType}</Badge>- <Text color="fg.subtle" fontSize="2xs" truncate>+ <Text color="fg.subtle" fontSize="xs" truncate>{data.subtitle ?? `${data.nodeId} · ${t('graphPreview.inputCount', { count: data.inputCount })}`}</Text></Stack>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewSidePanel.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewSidePanel.tsxindex f8c4617c21..311d540c1c 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewSidePanel.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/graph-preview/GraphPreviewSidePanel.tsx@@ -59,17 +59,17 @@ const SummaryNotice = ({<Box alignItems="flex-start" display="flex" gap="1.5"><Icon as={SquareDashedIcon} boxSize="3" color="orange.fg" flexShrink={0} mt="0.5" /><Stack gap="0.5" minW="0">- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{message}</Text>{nodeId ? (<ButtonalignSelf="flex-start"- fontSize="2xs"+ fontSize="xs"fontWeight="normal"h="auto"px="1"- size="2xs"+ size="sm"variant="plain"onClick={handleShowNode}>@@ -94,33 +94,33 @@ const GraphSummary = ({return (<Stack gap="2" p="2"><Stack gap="0.5">- <Text fontSize="sm" fontWeight="semibold">+ <Text fontSize="lg" fontWeight="semibold">{t('graphPreview.thisGraph')}</Text>- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('graphPreview.selectNode')}</Text></Stack>- <DataList.Root gap="1.5" orientation="horizontal" size="sm">+ <DataList.Root gap="1.5" orientation="horizontal" size="md"><DataList.Item>- <DataList.ItemLabel fontSize="2xs">{t('graphPreview.nodes')}</DataList.ItemLabel>- <DataList.ItemValue fontSize="2xs" minW="0">+ <DataList.ItemLabel fontSize="xs">{t('graphPreview.nodes')}</DataList.ItemLabel>+ <DataList.ItemValue fontSize="xs" minW="0">{nodeCount !== undefined ? String(nodeCount) : '—'}</DataList.ItemValue></DataList.Item>{source.destinationLabel === null ? null : (<DataList.Item>- <DataList.ItemLabel fontSize="2xs">{t('graphPreview.destination')}</DataList.ItemLabel>- <DataList.ItemValue fontSize="2xs" minW="0">+ <DataList.ItemLabel fontSize="xs">{t('graphPreview.destination')}</DataList.ItemLabel>+ <DataList.ItemValue fontSize="xs" minW="0">{source.destinationLabel}</DataList.ItemValue></DataList.Item>)}{source.summaryRows.map((row) => (<DataList.Item key={row.id}>- <DataList.ItemLabel fontSize="2xs">{row.label}</DataList.ItemLabel>- <DataList.ItemValue fontSize="2xs" minW="0">+ <DataList.ItemLabel fontSize="xs">{row.label}</DataList.ItemLabel>+ <DataList.ItemValue fontSize="xs" minW="0">{row.value}</DataList.ItemValue></DataList.Item>@@ -215,14 +215,14 @@ const NodeInspector = ({return (<Stack gap="3" p="2"><Box alignItems="center" display="flex" gap="2">- <IconButton aria-label={t('graphPreview.back')} size="2xs" variant="ghost" onClick={onBack}>+ <IconButton aria-label={t('graphPreview.back')} size="sm" variant="ghost" onClick={onBack}><ArrowLeftIcon /></IconButton><Stack gap="0" minW="0">- <Badge fontFamily="mono" size="xs" w="fit-content">+ <Badge fontFamily="mono" size="md" w="fit-content">{node.type}</Badge>- <Text color="fg.muted" fontSize="2xs" truncate>+ <Text color="fg.muted" fontSize="xs" truncate>{node.id}</Text></Stack>@@ -230,7 +230,7 @@ const NodeInspector = ({{provenanceLabels.length > 0 ? (<Stack gap="1">- <Text color="fg.muted" fontSize="2xs" fontWeight="semibold">+ <Text color="fg.muted" fontSize="xs" fontWeight="semibold">{t('graphPreview.setBy')}</Text><Stack gap="0.5">@@ -238,11 +238,11 @@ const NodeInspector = ({<Buttonkey={label}alignSelf="flex-start"- fontSize="2xs"+ fontSize="xs"fontWeight="normal"h="auto"px="1"- size="2xs"+ size="sm"variant="plain"onClick={onProvenanceClick}>@@ -254,17 +254,17 @@ const NodeInspector = ({) : null}<Stack gap="1">- <Text color="fg.muted" fontSize="2xs" fontWeight="semibold">+ <Text color="fg.muted" fontSize="xs" fontWeight="semibold">{t('graphPreview.resolvedInputs')}</Text>- <DataList.Root gap="1.5" orientation="horizontal" size="sm">+ <DataList.Root gap="1.5" orientation="horizontal" size="md">{resolvedFields.map(({ field, value }) => {const { display, isTruncated } = truncateForDisplay(value);return (<DataList.Item key={field}>- <DataList.ItemLabel fontSize="2xs">{field}</DataList.ItemLabel>- <DataList.ItemValue fontSize="2xs" minW="0" title={isTruncated ? value : undefined}>+ <DataList.ItemLabel fontSize="xs">{field}</DataList.ItemLabel>+ <DataList.ItemValue fontSize="xs" minW="0" title={isTruncated ? value : undefined}>{display}</DataList.ItemValue></DataList.Item>@@ -274,13 +274,13 @@ const NodeInspector = ({</Stack><Stack gap="1">- <Text color="fg.muted" fontSize="2xs" fontWeight="semibold">+ <Text color="fg.muted" fontSize="xs" fontWeight="semibold">{t('graphPreview.edges')}</Text><Stack gap="0.5">- <Text fontSize="2xs">{getEdgesInLine(node, source.graph, t)}</Text>+ <Text fontSize="xs">{getEdgesInLine(node, source.graph, t)}</Text>{outgoingEdges.map((edge) => (- <Text key={edge.id} fontSize="2xs">+ <Text key={edge.id} fontSize="xs">{t('graphPreview.edgesOut', { field: edge.sourceField, target: edge.targetNodeId })}</Text>))}diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/LibraryCopyChoiceDialog.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/LibraryCopyChoiceDialog.tsxindex 12700040b3..9d1efef4f5 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/LibraryCopyChoiceDialog.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/LibraryCopyChoiceDialog.tsx@@ -166,7 +166,7 @@ const LibraryCopyChoiceContent = ({</Dialog.Header><Dialog.Body><Stack gap="3">- <Dialog.Description fontSize="xs">+ <Dialog.Description fontSize="md">{t('workflowLibrary.copyChoice.body', { count: copies.length })}{' '}{t('workflowLibrary.copyChoice.replaceHint')}</Dialog.Description>@@ -175,7 +175,7 @@ const LibraryCopyChoiceContent = ({<Selectcollection={copyCollection}portalled={false}- size="xs"+ size="md"value={selectValue}onValueChange={handleCopyChange}/>@@ -189,16 +189,16 @@ const LibraryCopyChoiceContent = ({disabled={isBusy}loading={pending === 'replace'}me="auto"- size="xs"+ size="md"variant="outline"onClick={handleReplace}>{t('workflowLibrary.copyChoice.replace')}</Button>- <Button disabled={isBusy} loading={pending === 'add'} size="xs" variant="outline" onClick={handleAdd}>+ <Button disabled={isBusy} loading={pending === 'add'} size="md" variant="outline" onClick={handleAdd}>{t('workflowLibrary.copyChoice.addCopy')}</Button>- <Button ref={openButtonRef} disabled={isBusy} size="xs" variant="solid" onClick={handleResume}>+ <Button ref={openButtonRef} disabled={isBusy} size="md" variant="solid" onClick={handleResume}>{t('workflowLibrary.copyChoice.open')}</Button></Dialog.Footer>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/ProjectWorkflowsView.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/ProjectWorkflowsView.tsxindex f95a613e8b..375037b635 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/ProjectWorkflowsView.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/ProjectWorkflowsView.tsx@@ -144,11 +144,11 @@ export const ProjectWorkflowsView = ({<><Stack flex="1" gap="2" minH="0" minW="0"><HStack gap="2" justify="space-between" minW="0">- <Text color="fg.muted" fontSize="xs" minW="0" truncate>+ <Text color="fg.muted" fontSize="md" minW="0" truncate>{t('workflowLibrary.projectWorkflowCount', { count: workflows.length })}</Text><HStack flexShrink={0} gap="1">- <Button size="xs" variant="outline" onClick={handleNewWorkflow}>+ <Button size="md" variant="outline" onClick={handleNewWorkflow}><PlusIcon />{t('workflowLibrary.newWorkflow')}</Button>@@ -401,37 +401,37 @@ const ProjectWorkflowDetailPanel = ({) : (<Flex align="center" direction="column" gap="1" h="full" justify="center" w="full"><Icon aria-hidden as={ImageOffIcon} boxSize="5" color="fg.subtle" opacity={0.6} />- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('workflowLibrary.notRunYet')}</Text></Flex>)}</Box>{lastRun ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('workflowLibrary.lastRun', { when: lastRun })}</Text>) : null}</Stack><HStack gap="1.5" minW="0">- <Text fontSize="sm" fontWeight="600" minW="0" overflowWrap="anywhere">+ <Text fontSize="lg" fontWeight="600" minW="0" overflowWrap="anywhere">{name}</Text>{isActive ? (- <Badge flexShrink={0} size="xs" variant="solid">+ <Badge flexShrink={0} size="md" variant="solid">{t('workflowLibrary.activeWorkflow')}</Badge>) : null}</HStack>{entry.document.description ? (- <Text color="fg.muted" fontSize="2xs" lineClamp={4}>+ <Text color="fg.muted" fontSize="xs" lineClamp={4}>{entry.document.description}</Text>) : null}- <Text color="fg.subtle" fontSize="2xs" data-workflow-source={source?.libraryWorkflowId ?? 'none'}>+ <Text color="fg.subtle" fontSize="xs" data-workflow-source={source?.libraryWorkflowId ?? 'none'}>{source? isBundledLibraryWorkflowId(source.libraryWorkflowId)? t('workflowLibrary.sourceBundled')@@ -444,7 +444,7 @@ const ProjectWorkflowDetailPanel = ({{libraryEntry.tags.length > 0 ? (<HStack flexWrap="wrap" gap="1" minW="0">{libraryEntry.tags.map((tag) => (- <Badge key={tag} size="xs" variant="subtle">+ <Badge key={tag} size="md" variant="subtle">{tag}</Badge>))}@@ -457,7 +457,7 @@ const ProjectWorkflowDetailPanel = ({<Stack borderColor="border.subtle" borderTopWidth="1px" gap="2" p="2.5"><HStack gap="2" minW="0">- <Button disabled={isActive} flex="1" minW="0" size="sm" onClick={handleOpen}>+ <Button disabled={isActive} flex="1" minW="0" size="lg" onClick={handleOpen}>{isActive ? t('workflowLibrary.activeWorkflow') : t('workflowLibrary.open')}</Button><Menu.Root ids={moreActionsIds}>@@ -465,7 +465,7 @@ const ProjectWorkflowDetailPanel = ({menu never takes focus and the first pointer move onto it closes it. */}<Menu.Trigger asChild><Tooltip content={t('workflowLibrary.moreActions')} ids={moreActionsIds}>- <IconButton aria-label={t('workflowLibrary.moreActions')} size="sm" variant="outline">+ <IconButton aria-label={t('workflowLibrary.moreActions')} size="lg" variant="outline"><EllipsisIcon /></IconButton></Tooltip>@@ -479,7 +479,7 @@ const ProjectWorkflowDetailPanel = ({</HStack><Buttondisabled={libraryEntry.enrichment.status !== 'ready'}- size="sm"+ size="lg"variant="outline"w="full"onClick={handlePreview}@@ -488,7 +488,7 @@ const ProjectWorkflowDetailPanel = ({{t('workflowLibrary.previewGraph')}</Button>{missingCount > 0 ? (- <Text color="fg.warning" fontSize="2xs">+ <Text color="fg.warning" fontSize="xs">{t('workflowLibrary.installModels', { count: missingCount })}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryCard.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryCard.tsxindex c68ab3e19e..1aab1e7cf2 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryCard.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryCard.tsx@@ -165,7 +165,7 @@ export const WorkflowLibraryCard = ({) : (<Flex align="center" direction="column" gap="1" h="full" justify="center" w="full"><Icon aria-hidden as={ImageOffIcon} boxSize="5" color="fg.subtle" opacity={0.6} />- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('workflowLibrary.notRunYet')}</Text></Flex>@@ -173,9 +173,9 @@ export const WorkflowLibraryCard = ({</Box><Stack gap="1" minW="0" p="2.5" w="full"><HStack gap="1.5" h={TITLE_ROW_HEIGHT} minW="0" pe="7">- <MiddleTruncate fontSize="xs" fontWeight="600" minW="0" text={item.name || t('workflowLibrary.untitled')} />+ <MiddleTruncate fontSize="md" fontWeight="600" minW="0" text={item.name || t('workflowLibrary.untitled')} />{isActive ? (- <Badge data-active-workflow flexShrink={0} size="xs" variant="solid">+ <Badge data-active-workflow flexShrink={0} size="md" variant="solid">{t('workflowLibrary.activeWorkflow')}</Badge>) : null}@@ -186,17 +186,17 @@ export const WorkflowLibraryCard = ({<Skeleton data-enrichment-placeholder h="3" rounded="sm" w="14" />) : null}{primaryBase ? (- <Badge flexShrink={0} size="xs" variant="subtle">+ <Badge flexShrink={0} size="md" variant="subtle">{getModelBaseLabel(primaryBase)}</Badge>) : null}{enrichment.status === 'ready' ? (- <Text color="fg.muted" fontSize="2xs" truncate>+ <Text color="fg.muted" fontSize="xs" truncate>{t('workflowLibrary.nodeCount', { count: enrichment.nodeCount })}</Text>) : null}{missingCount > 0 ? (- <Badge bg="bg.warning" color="fg.warning" flexShrink={0} size="xs" variant="subtle">+ <Badge bg="bg.warning" color="fg.warning" flexShrink={0} size="md" variant="subtle">{t('workflowLibrary.installModels', { count: missingCount })}</Badge>) : null}@@ -215,7 +215,7 @@ export const WorkflowLibraryCard = ({id={getWorkflowLibraryCardMenuId(workflowId)}insetEnd="2.5"position="absolute"- size="2xs"+ size="sm"variant="ghost"onClick={handleMenuButton}>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDetailPanel.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDetailPanel.tsxindex b6a499c2e3..bc4e369b4e 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDetailPanel.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDetailPanel.tsx@@ -454,12 +454,12 @@ export const WorkflowLibraryDetailPanel = ({* Wrap full names, including delimiter-free strings, in the detail rail; zero content min-width permits* containment without truncation.*/}- <Text fontSize="sm" fontWeight="600" minW="0" overflowWrap="anywhere">+ <Text fontSize="lg" fontWeight="600" minW="0" overflowWrap="anywhere">{name}</Text>{item.description ? (- <Text color="fg.muted" fontSize="2xs" lineClamp={4}>+ <Text color="fg.muted" fontSize="xs" lineClamp={4}>{item.description}</Text>) : null}@@ -467,7 +467,7 @@ export const WorkflowLibraryDetailPanel = ({{tags.length > 0 ? (<HStack flexWrap="wrap" gap="1" minW="0">{tags.map((tag) => (- <Badge key={tag} size="xs" variant="subtle">+ <Badge key={tag} size="md" variant="subtle">{tag}</Badge>))}@@ -490,14 +490,14 @@ export const WorkflowLibraryDetailPanel = ({color="fg.warning"flex="1"minW="0"- size="sm"+ size="lg"_hover={INSTALL_HOVER}onClick={handleInstall}>{t('workflowLibrary.installModels', { count: installableCount })}</Button>) : (- <Button flex="1" minW="0" size="sm" onClick={handleOpen}>+ <Button flex="1" minW="0" size="lg" onClick={handleOpen}>{openLabel}</Button>)}@@ -506,7 +506,7 @@ export const WorkflowLibraryDetailPanel = ({menu never takes focus and the first pointer move onto it closes it. */}<Menu.Trigger asChild><Tooltip content={t('workflowLibrary.moreActions')} ids={moreActionsIds}>- <IconButton aria-label={t('workflowLibrary.moreActions')} size="sm" variant="outline">+ <IconButton aria-label={t('workflowLibrary.moreActions')} size="lg" variant="outline"><EllipsisIcon /></IconButton></Tooltip>@@ -518,7 +518,7 @@ export const WorkflowLibraryDetailPanel = ({</Portal></Menu.Root></HStack>- <Button disabled={enrichment?.status !== 'ready'} size="sm" variant="outline" w="full" onClick={handlePreview}>+ <Button disabled={enrichment?.status !== 'ready'} size="lg" variant="outline" w="full" onClick={handlePreview}><WorkflowIcon />{t('workflowLibrary.previewGraph')}</Button>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsxindex 35fd889d83..ecbfc7e88d 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsx@@ -322,8 +322,8 @@ export const WorkflowLibraryDialog = ({role="status"zIndex="modal">- <Spinner color="accent.solid" size="lg" />- <Text fontSize="xs" fontWeight="600">+ <Spinner color="accent.solid" size="2xl" />+ <Text fontSize="md" fontWeight="600">{loadPhase === 'fetching' ? t('workflowLibrary.fetching') : t('workflowLibrary.applying')}</Text></Stack>@@ -333,7 +333,7 @@ export const WorkflowLibraryDialog = ({<HStack gap="3" minW="0"><Dialog.Title flexShrink={0}>{t('workflowLibrary.title')}</Dialog.Title>{isProjectTab ? (- <Text color="fg.subtle" flex="1" fontSize="xs" minW="0" truncate>+ <Text color="fg.subtle" flex="1" fontSize="md" minW="0" truncate>{t('workflowLibrary.thisProjectHint')}</Text>) : (@@ -342,7 +342,7 @@ export const WorkflowLibraryDialog = ({flex="1"minW="0"placeholder={t('workflowLibrary.searchPlaceholder')}- size="xs"+ size="md"type="search"value={searchInput}onChange={handleSearchChange}diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryGrid.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryGrid.tsxindex ccdea3581b..729e7e7848 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryGrid.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryGrid.tsx@@ -125,24 +125,24 @@ export const WorkflowLibraryGrid = ({</Box>) : null}{!hasEntries && isPending ? (- <Text color="fg.subtle" fontSize="xs" py="6" textAlign="center">+ <Text color="fg.subtle" fontSize="md" py="6" textAlign="center">{t('workflowLibrary.loading')}</Text>) : null}{!hasEntries && !isPending ? (- <Text color="fg.subtle" fontSize="xs" py="6" textAlign="center">+ <Text color="fg.subtle" fontSize="md" py="6" textAlign="center">{error ?? t('workflowLibrary.empty')}</Text>) : null}{hasEntries && status === 'loadingMore' ? (<HStack color="fg.subtle" gap="2" justify="center" py="2">- <Spinner size="xs" />- <Text fontSize="2xs">{t('workflowLibrary.loadingMore')}</Text>+ <Spinner size="md" />+ <Text fontSize="xs">{t('workflowLibrary.loadingMore')}</Text></HStack>) : null}{hasEntries && error ? (// A failed page append never blanks the pages already loaded.- <Text color="fg.subtle" fontSize="2xs" py="2" textAlign="center">+ <Text color="fg.subtle" fontSize="xs" py="2" textAlign="center">{error}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryTagChips.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryTagChips.tsxindex 42a738ed05..1d911c5323 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryTagChips.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryTagChips.tsx@@ -39,13 +39,13 @@ const TagChip = ({aria-pressed={isSelected}flexShrink={0}rounded="full"- size="2xs"+ size="sm"variant={isSelected ? 'subtle' : 'ghost'}onClick={handleClick}>{label}{count === null ? null : (- <Text as="span" color="fg.subtle" fontSize="2xs">+ <Text as="span" color="fg.subtle" fontSize="xs">{count}</Text>)}diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryThumbnail.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryThumbnail.tsxindex b5c33142d9..3ea13df2ef 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryThumbnail.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryThumbnail.tsx@@ -246,14 +246,14 @@ export const WorkflowLibraryThumbnail = ({) : (<Flex align="center" direction="column" gap="1" h="full" justify="center" w="full"><Icon aria-hidden as={ImageOffIcon} boxSize="5" color="fg.subtle" opacity={0.6} />- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('workflowLibrary.notRunYet')}</Text></Flex>)}{isBusy ? (<Flex align="center" bg="bg.muted/90" inset="0" justify="center" position="absolute">- <Spinner size="sm" />+ <Spinner size="lg" /></Flex>) : null}</>@@ -285,7 +285,7 @@ export const WorkflowLibraryThumbnail = ({ref={chooseButtonRef}aria-disabled={isBusy || undefined}aria-label={t('workflowLibrary.thumbnailChoose')}- size="xs"+ size="md"variant="outline"onClickCapture={isBusy ? preventClick : undefined}>@@ -297,7 +297,7 @@ export const WorkflowLibraryThumbnail = ({<IconButtonaria-disabled={isBusy || !canSnapshot || undefined}aria-label={t('workflowLibrary.thumbnailSnapshot')}- size="xs"+ size="md"variant="outline"onClick={isBusy || !canSnapshot ? undefined : takeSnapshot}>@@ -310,7 +310,7 @@ export const WorkflowLibraryThumbnail = ({aria-disabled={isBusy || undefined}aria-label={t('workflowLibrary.thumbnailRemove')}data-thumbnail-remove- size="xs"+ size="md"variant="outline"onClick={isBusy ? undefined : handleRemove}>@@ -335,7 +335,7 @@ export const WorkflowLibraryThumbnail = ({{announcement}</Text>{caption ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{caption}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowPublicationHost.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowPublicationHost.tsxindex 1d6028712c..d988d21c02 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowPublicationHost.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowPublicationHost.tsx@@ -385,7 +385,7 @@ export const WorkflowPublicationHost = () => {() => (<Stack gap="2"><Text>{t('workflowLibrary.updateConfirmBody', { name: workflowName })}</Text>- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('workflowLibrary.updateConfirmCallers')}</Text></Stack>@@ -501,15 +501,15 @@ export const WorkflowPublicationHost = () => {) : null}</Dialog.Body><Dialog.Footer>- <Button size="xs" variant="ghost" onClick={close}>+ <Button size="md" variant="ghost" onClick={close}>{t('common.cancel')}</Button>- <Button size="xs" variant="outline" onClick={switchToSaveAsNew}>+ <Button size="md" variant="outline" onClick={switchToSaveAsNew}>{t('workflowLibrary.saveAsNew')}</Button><Buttondisabled={activeStage.kind !== 'review' || !activeStage.record}- size="xs"+ size="md"variant="solid"onClick={confirmReplaceReviewed}>@@ -555,7 +555,7 @@ const ReviewBody = ({if (error) {return (- <Text color="fg.error" fontSize="sm">+ <Text color="fg.error" fontSize="lg">{error}</Text>);@@ -563,7 +563,7 @@ const ReviewBody = ({if (!record) {return (- <Text color="fg.subtle" fontSize="sm" role="status">+ <Text color="fg.subtle" fontSize="lg" role="status">{t('workflowLibrary.reviewLoading')}</Text>);@@ -571,17 +571,17 @@ const ReviewBody = ({return (<Stack gap="2">- <Text fontSize="sm">{t('workflowLibrary.reviewBody', { name: workflowName })}</Text>+ <Text fontSize="lg">{t('workflowLibrary.reviewBody', { name: workflowName })}</Text><Stack gap="0.5">- <Text fontSize="sm" fontWeight="600" overflowWrap="anywhere">+ <Text fontSize="lg" fontWeight="600" overflowWrap="anywhere">{record.name || t('workflowLibrary.untitled')}</Text>{record.description ? (- <Text color="fg.muted" fontSize="xs" lineClamp={3}>+ <Text color="fg.muted" fontSize="md" lineClamp={3}>{record.description}</Text>) : null}- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('workflowLibrary.reviewRevision', {revision: record.revision,when: record.updated_at ? formatRelativeTime(record.updated_at, new Date()) : '',@@ -589,7 +589,7 @@ const ReviewBody = ({</Text></Stack>{onPreview ? (- <Button alignSelf="flex-start" size="xs" variant="outline" onClick={onPreview}>+ <Button alignSelf="flex-start" size="md" variant="outline" onClick={onPreview}>{t('workflowLibrary.previewGraph')}</Button>) : null}@@ -634,10 +634,10 @@ const ChoiceDialog = ({<Dialog.Title>{title}</Dialog.Title></Dialog.Header><Dialog.Body>- <Text fontSize="sm">{body}</Text>+ <Text fontSize="lg">{body}</Text></Dialog.Body><Dialog.Footer>- <Button disabled={isBusy} size="xs" variant="ghost" onClick={onClose}>+ <Button disabled={isBusy} size="md" variant="ghost" onClick={onClose}>{t('common.cancel')}</Button>{options.map((option) => (@@ -661,7 +661,7 @@ const ChoiceButton = ({isBusy: boolean;option: { label: string; onSelect: () => void; value: string };}) => (- <Button data-choice={option.value} loading={isBusy} size="xs" variant="solid" onClick={option.onSelect}>+ <Button data-choice={option.value} loading={isBusy} size="md" variant="solid" onClick={option.onSelect}>{option.label}</Button>);@@ -714,18 +714,18 @@ export const SaveToLibraryDialog = ({<Dialog.Body><Stack gap="3"><Field label={t('workflowLibrary.templateName')}>- <Input defaultValue={initialName} name="templateName" size="sm" />+ <Input defaultValue={initialName} name="templateName" size="lg" /></Field>- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('workflowLibrary.saveToLibraryExplanation')}</Text></Stack></Dialog.Body><Dialog.Footer>- <Button disabled={isPending} size="xs" type="button" variant="ghost" onClick={onClose}>+ <Button disabled={isPending} size="md" type="button" variant="ghost" onClick={onClose}>{t('common.cancel')}</Button>- <Button loading={isPending} size="xs" type="submit" variant="solid">+ <Button loading={isPending} size="md" type="submit" variant="solid">{t('workflowLibrary.saveToLibraryConfirm')}</Button></Dialog.Footer>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowRequirementsList.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowRequirementsList.tsxindex abb46bbdb9..f0150fe4d6 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowRequirementsList.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowRequirementsList.tsx@@ -160,10 +160,10 @@ const RequirementRow = ({{presentation.icon ? (<Icon aria-label={statusLabel} as={presentation.icon} boxSize="3" color={presentation.color} />) : (- <Spinner aria-label={statusLabel} borderWidth="1.5px" color={presentation.color} size="xs" />+ <Spinner aria-label={statusLabel} borderWidth="1.5px" color={presentation.color} size="md" />)}</DataList.ItemLabel>- <DataList.ItemValue color={presentation.color} fontSize="2xs" minW="0">+ <DataList.ItemValue color={presentation.color} fontSize="xs" minW="0">{canFindModel ? (<Text asChild cursor="pointer" textAlign="start" truncate _hover={REQUIREMENT_LINK_HOVER}><button@@ -203,11 +203,11 @@ export const WorkflowRequirementsList = ({ errorMessage, resolved, onFindModel }return (<Stack gap="1" minW="0">- <Text color="fg.muted" fontSize="2xs" fontWeight="600">+ <Text color="fg.muted" fontSize="xs" fontWeight="600">{t('workflowLibrary.requires')}</Text>{errorMessage ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{errorMessage}</Text>) : null}@@ -217,7 +217,7 @@ export const WorkflowRequirementsList = ({ errorMessage, resolved, onFindModel })): null}{!errorMessage && resolved !== null && resolved.length > 0 ? (- <DataList.Root gap="1.5" orientation="horizontal" size="sm">+ <DataList.Root gap="1.5" orientation="horizontal" size="md">{resolved.map((requirement) => (<RequirementRowkey={getRequirementKey(requirement.requirement)}diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/linear/FormBuilderTab.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/linear/FormBuilderTab.tsxindex 321bb9fa9c..38693ffdb1 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/linear/FormBuilderTab.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/linear/FormBuilderTab.tsx@@ -114,7 +114,7 @@ const BuilderDragGhost = ({ element }: { element: WorkflowFormElement }) => (shadow="md"><Icon as={GripVerticalIcon} boxSize="3" color="fg.subtle" flexShrink={0} />- <Text color="fg.muted" fontSize="2xs" fontWeight="600" minW="0" truncate>+ <Text color="fg.muted" fontSize="xs" fontWeight="600" minW="0" truncate>{getFormElementTitle(element)}</Text></HStack>@@ -204,7 +204,7 @@ const BuilderCardBase = ({{...listeners}><Icon as={GripVerticalIcon} boxSize="3" color="fg.subtle" flexShrink={0} />- <Text color="fg.muted" fontSize="2xs" fontWeight="600" minW="0" truncate>+ <Text color="fg.muted" fontSize="xs" fontWeight="600" minW="0" truncate>{title}</Text><Box flex="1" />@@ -212,7 +212,7 @@ const BuilderCardBase = ({{extraActions}<IconButtonaria-label="Remove from form"- size="2xs"+ size="sm"variant="ghost"onClick={() => editGraph({ elementId: element.id, type: 'removeFormElement' })}>@@ -251,7 +251,7 @@ const ContainerDropZoneBody = ({ref={setNodeRef}alignSelf="stretch"flex={isEmpty ? '1' : undefined}- fontSize="2xs"+ fontSize="xs"isOver={isActive}px="2"py="1.5"@@ -305,7 +305,7 @@ const ShuffleToggleAction = ({aria-label="Show shuffle button"aria-pressed={showShuffle}color={showShuffle ? 'accent.solid' : undefined}- size="2xs"+ size="sm"title={showShuffle ? 'Hide shuffle button' : 'Show shuffle button'}variant="ghost"onClick={() => editGraph({ elementId: element.id, showShuffle: !showShuffle, type: 'setNodeFieldShowShuffle' })}@@ -364,7 +364,7 @@ const BuilderElementBase = ({extraActions={<IconButtonaria-label={isRow ? 'Switch container to column layout' : 'Switch container to row layout'}- size="2xs"+ size="sm"title={isRow ? 'Switch to column layout' : 'Switch to row layout'}variant="ghost"onClick={() =>@@ -400,7 +400,7 @@ const BuilderElementBase = ({<><IconButtonaria-label="Zoom to node in editor"- size="2xs"+ size="sm"title="Zoom to node in the Workflow editor"variant="ghost"onClick={() => {@@ -416,7 +416,7 @@ const BuilderElementBase = ({aria-label="Show field description"aria-pressed={element.data.showDescription}color={element.data.showDescription ? 'accent.solid' : undefined}- size="2xs"+ size="sm"title={element.data.showDescription ? 'Hide field description' : 'Show field description'}variant="ghost"onClick={() =>@@ -445,10 +445,10 @@ const BuilderElementBase = ({<BuilderCard element={element} title={getFormElementTitle(element)}><Inputaria-label="Form heading"- fontSize="sm"+ fontSize="lg"fontWeight="700"placeholder="Heading"- size="xs"+ size="md"value={element.data.content}variant="flushed"onChange={(event: ChangeEvent<HTMLInputElement>) =>@@ -464,11 +464,11 @@ const BuilderElementBase = ({<Textareaaria-label="Form text"color="fg.muted"- fontSize="2xs"+ fontSize="xs"minH="2.5rem"placeholder="Text"resize="vertical"- size="xs"+ size="md"value={element.data.content}variant="flushed"onChange={(event: ChangeEvent<HTMLTextAreaElement>) =>@@ -506,7 +506,7 @@ const AddElementMenu = () => {return (<Menu.Root positioning={{ placement: 'bottom-start' }}><Menu.Trigger asChild>- <Button size="2xs" variant="ghost">+ <Button size="sm" variant="ghost"><Icon as={PlusIcon} boxSize="3" />Add form element</Button>@@ -694,7 +694,7 @@ export const FormBuilderTab = ({ projectGraph }: { projectGraph: ProjectGraphSta<BuilderDropTargetContext value={dropTarget}><Stack gap="2" p="3" w="full">{rootChildren.length === 0 ? (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">The form is empty. Pin fields from the Workflow editor's nodes, then arrange them here — drag card titlebars to reorder, drop them into containers, and add headings or dividers below.</Text>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/linear/LinearFormView.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/linear/LinearFormView.tsxindex e38d1f355e..b729b9b7d5 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/linear/LinearFormView.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/linear/LinearFormView.tsx@@ -22,13 +22,13 @@ const ViewElement = ({ element, projectGraph }: { element: WorkflowFormElement;return <NodeFieldControl element={element} projectGraph={projectGraph} />;case 'heading':return (- <Text fontSize="sm" fontWeight="700">+ <Text fontSize="lg" fontWeight="700">{element.data.content}</Text>);case 'text':return (- <Text color="fg.muted" fontSize="2xs" whiteSpace="pre-wrap">+ <Text color="fg.muted" fontSize="xs" whiteSpace="pre-wrap">{element.data.content}</Text>);@@ -49,11 +49,11 @@ export const LinearFormView = ({ projectGraph }: { projectGraph: ProjectGraphStareturn (// Same inset and color as the Edit tab's empty state and as this view once it has fields.<Stack gap="2" p="3">- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">No fields are exposed yet. Pin fields in the Workflow editor, or switch to Edit mode to build this form — itmaps the project graph to simple controls, like the legacy Linear UI.</Text>- <Button size="2xs" variant="outline" w="fit-content" onClick={onOpenWorkflowEditorClick}>+ <Button size="sm" variant="outline" w="fit-content" onClick={onOpenWorkflowEditorClick}>Open Workflow Editor</Button></Stack>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeFieldControl.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeFieldControl.tsxindex 8f5ffd0383..166dd47b00 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeFieldControl.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeFieldControl.tsx@@ -128,7 +128,7 @@ export const NodeFieldControl = ({if (!invocationNode || !template) {return (- <Alert.Root status="error" size="sm" variant="surface">+ <Alert.Root status="error" size="md" variant="surface"><Alert.Indicator /><Alert.Title>This field no longer exists in the project graph.</Alert.Title></Alert.Root>@@ -140,7 +140,7 @@ export const NodeFieldControl = ({aria-label={resetAriaLabel}color="fg.subtle"flexShrink={0}- size="2xs"+ size="sm"title="Reset to default value"variant="ghost"onClick={onResetClick}@@ -158,12 +158,12 @@ export const NodeFieldControl = ({<Inputaria-label="Field label"color={isInvalid ? 'fg.error' : 'fg.muted'}- fontSize="2xs"+ fontSize="xs"fontWeight="600"h="5"id={labelInputId}placeholder={template.title}- size="2xs"+ size="md"value={draftLabel ?? label}variant="flushed"w="full"@@ -184,12 +184,12 @@ export const NodeFieldControl = ({</HStack>)}{element.data.showDescription && description ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{description}</Text>) : null}{isConnected ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('nodes.providedByConnection')}</Text>) : (@@ -213,7 +213,7 @@ export const NodeFieldControl = ({aria-label={`${t('common.shuffle')} ${label}`}color="fg.muted"flexShrink={0}- size="xs"+ size="md"variant="outline"onClick={onShuffleClick}>@@ -223,7 +223,7 @@ export const NodeFieldControl = ({) : null}</HStack>)}- {invalidReason ? <Field.ErrorText fontSize="2xs">{invalidReason}</Field.ErrorText> : null}+ {invalidReason ? <Field.ErrorText fontSize="xs">{invalidReason}</Field.ErrorText> : null}</Stack></Field.Root>);diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeInspector.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeInspector.tsxindex ae69300d8c..4403c08b00 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeInspector.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/linear/NodeInspector.tsx@@ -37,10 +37,10 @@ const getInspectorTab = (values: Record<string, unknown>): InspectorTab =>const DetailRow = ({ label, value }: { label: string; value: string }) => (<HStack align="start" gap="2">- <Text color="fg.subtle" flexShrink={0} fontSize="2xs" minW="16">+ <Text color="fg.subtle" flexShrink={0} fontSize="xs" minW="16">{label}</Text>- <Text fontSize="2xs" minW="0" wordBreak="break-word">+ <Text fontSize="xs" minW="0" wordBreak="break-word">{value}</Text></HStack>@@ -87,11 +87,11 @@ const NodeUpdateRow = ({ node, template }: { node: WorkflowInvocationNode; templ{/* Aligned with the detail values: an empty label cell the width of the label column. */}<Box flexShrink={0} minW="16" />{status === 'updatable' ? (- <Button size="2xs" variant="outline" onClick={onUpdate}>+ <Button size="sm" variant="outline" onClick={onUpdate}>{t('nodes.updateNodeTo', { version: template.version })}</Button>) : (- <Text color="fg.warning" fontSize="2xs">+ <Text color="fg.warning" fontSize="xs">{status === 'newer'? t('nodes.nodeNewerThanBackend', versions): t('nodes.nodeVersionIncompatible', versions)}@@ -123,16 +123,16 @@ const DetailsTab = ({ node, template }: { node: WorkflowInvocationNode; template{template ? <DetailRow label={t('widgets.workflow.pack')} value={template.nodePack} /> : null}{template?.description ? <DetailRow label={t('widgets.workflow.about')} value={template.description} /> : null}<Stack gap="1">- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('widgets.workflow.notes')}</Text><Textareaaria-label={t('widgets.workflow.nodeNotes')}- fontSize="2xs"+ fontSize="xs"minH="3rem"placeholder={t('widgets.workflow.nodeNotesPlaceholder')}resize="vertical"- size="xs"+ size="md"value={node.data.notes}onChange={onNotesChange}/>@@ -170,12 +170,12 @@ const OutputsTab = ({ nodeId, template }: { nodeId: string; template: Invocationif (!execution) {return (<Stack gap="2">- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('widgets.workflow.noRunRecorded')}</Text>{outputs.length > 0 ? (<Stack gap="1">- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('widgets.workflow.declaredOutputs')}</Text>{outputs.map((output) => (@@ -253,7 +253,7 @@ const InspectorBody = ({ node, tab }: { node: WorkflowNode; tab: InspectorTab })return template ? (<JsonBlock label={t('widgets.workflow.nodeTemplate')} value={template} />) : (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('widgets.workflow.noTemplateKnown', { type: node.data.type })}</Text>);@@ -275,13 +275,13 @@ export const NodeInspector = ({ projectGraph }: { projectGraph: ProjectGraphStatreturn (<Flex data-node-inspector="" direction="column" h="full" minH="0"><HStack flexShrink={0} justify="space-between" px="2" h={10} borderBottomWidth={1}>- <Text color="fg.muted" fontSize="2xs" fontWeight="600" textTransform="uppercase">+ <Text color="fg.muted" fontSize="xs" fontWeight="600" textTransform="uppercase">{t('widgets.workflow.nodeInspector')}</Text>- <Tabs.Root size="sm" value={tab} variant="outline" mb="-1" onValueChange={onTabValueChange}>+ <Tabs.Root size="xl" value={tab} variant="outline" mb="-1" onValueChange={onTabValueChange}><Tabs.List>{(['details', 'outputs', 'data', 'template'] as const).map((value) => (- <Tabs.Trigger key={value} fontSize="2xs" textTransform="capitalize" value={value}>+ <Tabs.Trigger key={value} fontSize="xs" textTransform="capitalize" value={value}>{t(`widgets.workflow.inspectorTabs.${value}`)}</Tabs.Trigger>))}@@ -293,7 +293,7 @@ export const NodeInspector = ({ projectGraph }: { projectGraph: ProjectGraphStat{selectedNode ? (<InspectorBody node={selectedNode} tab={tab} />) : (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('widgets.workflow.selectNodeToInspect')}</Text>)}diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/linear/WorkflowDetailsTab.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/linear/WorkflowDetailsTab.tsxindex 1c65872dfc..b8f34c55e3 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/linear/WorkflowDetailsTab.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/linear/WorkflowDetailsTab.tsx@@ -51,7 +51,7 @@ export const WorkflowDetailsTab = ({ metadata }: { metadata: WorkflowMetadata })onChange: (event: ChangeEvent<HTMLInputElement>) => void) => (<Field label={label}>- <Input size="xs" value={metadata[key]} onChange={onChange} />+ <Input size="md" value={metadata[key]} onChange={onChange} /></Field>);@@ -62,7 +62,7 @@ export const WorkflowDetailsTab = ({ metadata }: { metadata: WorkflowMetadata })<TextareaminH="3.5rem"resize="vertical"- size="xs"+ size="md"value={metadata.description}onChange={onDescriptionChange}/>@@ -76,7 +76,7 @@ export const WorkflowDetailsTab = ({ metadata }: { metadata: WorkflowMetadata }){textField(t('widgets.workflow.contact'), 'contact', onContactChange)}</HStack><Field label={t('widgets.workflow.notes')}>- <Textarea minH="3.5rem" resize="vertical" size="xs" value={metadata.notes} onChange={onNotesChange} />+ <Textarea minH="3.5rem" resize="vertical" size="md" value={metadata.notes} onChange={onNotesChange} /></Field></Stack>);diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/linear/WorkflowLinearPanel.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/linear/WorkflowLinearPanel.tsxindex 6d1990b5dc..be53a58aec 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/linear/WorkflowLinearPanel.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/linear/WorkflowLinearPanel.tsx@@ -68,7 +68,7 @@ export const PanelModeToggle = ({ mode, onChange }: { mode: PanelMode; onChange:);return (- <Tabs.Root mb="-1" size="sm" value={mode} variant="line" onValueChange={onValueChange}>+ <Tabs.Root mb="-1" size="xl" value={mode} variant="line" onValueChange={onValueChange}><Tabs.List aria-label={t('widgets.workflow.panelMode')}>{PANEL_MODES.map(({ labelKey, icon, mode: itemMode }) => (<Tabs.Trigger key={itemMode} value={itemMode}>@@ -112,15 +112,15 @@ export const WorkflowLinearPanel = () => {<HStack flexShrink={0} justify="space-between" px="2" h={10} borderBottomWidth={1}><PanelModeToggle mode={mode} onChange={onPanelModeChange} />{mode === 'edit' ? (- <Tabs.Root size="sm" value={editTab} variant="outline" mb="-1" onValueChange={onEditTabChange}>+ <Tabs.Root size="xl" value={editTab} variant="outline" mb="-1" onValueChange={onEditTabChange}><Tabs.List>- <Tabs.Trigger value="form" fontSize="2xs">+ <Tabs.Trigger value="form" fontSize="xs">{t('widgets.workflow.form')}</Tabs.Trigger>- <Tabs.Trigger value="details" fontSize="2xs">+ <Tabs.Trigger value="details" fontSize="xs">{t('widgets.workflow.details')}</Tabs.Trigger>- <Tabs.Trigger value="json" fontSize="2xs">+ <Tabs.Trigger value="json" fontSize="xs">{t('common.json')}</Tabs.Trigger></Tabs.List>diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/nodeChrome.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/nodeChrome.tsxindex 9bb6a96071..75dd455766 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/nodeChrome.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/nodeChrome.tsx@@ -84,7 +84,7 @@ export const getWorkflowNodeChromeProps = (state: WorkflowNodeChromeState): BoxP/** The node surface itself: chrome plus background, radius, and base type size. */export const getWorkflowNodeShellProps = (state: WorkflowNodeChromeState): BoxProps => ({bg: 'bg',- fontSize: 'xs',+ fontSize: 'md',rounded: 'lg',...getWorkflowNodeChromeProps(state),});diff --git a/invokeai/frontend/webv2/src/platform/ui/Button.tsx b/invokeai/frontend/webv2/src/platform/ui/Button.tsxindex 433e0496ac..8fde079cc5 100644--- a/invokeai/frontend/webv2/src/platform/ui/Button.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/Button.tsx@@ -38,8 +38,8 @@ export const IconButton = ({ colorPalette, ...props }: IconButtonProps) => (<ChakraIconButton colorPalette={colorPalette ?? defaultPalette(props.variant)} {...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} />;+/** Chakra defaults close buttons to a full `xl` control; dismissal chrome here is small and muted. */+export const CloseButton = (props: CloseButtonProps) => <ChakraCloseButton color="fg.muted" size="md" {...props} />;export interface ToggleIconButtonProps extends Omit<IconButtonProps,@@ -70,7 +70,7 @@ export const ToggleIconButton = ({aria-label={label}aria-pressed={checked}color={checked ? undefined : 'fg.muted'}- size="2xs"+ size="sm"variant={checked ? 'solid' : 'ghost'}{...props}onClick={handleClick}diff --git a/invokeai/frontend/webv2/src/platform/ui/ColorPicker.tsx b/invokeai/frontend/webv2/src/platform/ui/ColorPicker.tsxindex 5061b55a68..0d3f742393 100644--- a/invokeai/frontend/webv2/src/platform/ui/ColorPicker.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/ColorPicker.tsx@@ -87,9 +87,9 @@ const FormatTrigger = ({<IconButtonaria-label={t('common.colorPicker.format')}flexShrink="0"- fontSize="2xs"+ fontSize="xs"fontWeight="medium"- size="xs"+ size="md"variant="subtle"w="10"onClick={handleClick}@@ -141,7 +141,7 @@ const AlphaInput = ({className="colorPicker__channelInput"flexShrink="0"inputMode="numeric"- size="xs"+ size="md"value={draft ?? String(Math.round(alpha * 100))}w="12"onBlur={handleBlur}@@ -289,7 +289,7 @@ export const ColorPicker = ({<ChakraColorPicker.ValueSwatch /></ChakraColorPicker.Trigger>{withValueText ? (- <Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums">+ <Text color="fg.muted" fontSize="md" fontVariantNumeric="tabular-nums">{lastEmittedValue}</Text>) : null}@@ -306,7 +306,7 @@ export const ColorPicker = ({{onSampleColor ? (<IconButtonaria-label={t('common.colorPicker.sampleFromCanvas')}- size="xs"+ size="md"variant="ghost"onClick={handleSampleColor}>@@ -315,7 +315,7 @@ export const ColorPicker = ({) : canUseScreenEyeDropper ? (// Use asChild with IconButton: Ark's bare trigger has no icon or workbench styling.<ChakraColorPicker.EyeDropperTrigger asChild>- <IconButton aria-label={t('common.colorPicker.sampleFromScreen')} size="xs" variant="ghost">+ <IconButton aria-label={t('common.colorPicker.sampleFromScreen')} size="md" variant="ghost"><Icon as={Pipette} boxSize="4" /></IconButton></ChakraColorPicker.EyeDropperTrigger>diff --git a/invokeai/frontend/webv2/src/platform/ui/Combobox.tsx b/invokeai/frontend/webv2/src/platform/ui/Combobox.tsxindex 108ae02537..af5d795a01 100644--- a/invokeai/frontend/webv2/src/platform/ui/Combobox.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/Combobox.tsx@@ -206,7 +206,7 @@ export const Combobox = ({</ChakraCombobox.ItemIndicator></ChakraCombobox.Item>))}- <ChakraCombobox.Empty color="fg.muted" fontSize="xs" px="3" py="2">+ <ChakraCombobox.Empty color="fg.muted" fontSize="md" px="3" py="2">{noResultsText ?? t('common.noSchedulersFound')}</ChakraCombobox.Empty></ChakraCombobox.List>diff --git a/invokeai/frontend/webv2/src/platform/ui/ConfirmDialog.tsx b/invokeai/frontend/webv2/src/platform/ui/ConfirmDialog.tsxindex 777f72e8bd..e2230059be 100644--- a/invokeai/frontend/webv2/src/platform/ui/ConfirmDialog.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/ConfirmDialog.tsx@@ -81,17 +81,17 @@ export const ConfirmDialog = ({<Dialog.Title>{title}</Dialog.Title></Dialog.Header><Dialog.Body>- <Stack gap="2">{typeof body === 'string' ? <Text fontSize="xs">{body}</Text> : body}</Stack>+ <Stack gap="2">{typeof body === 'string' ? <Text fontSize="md">{body}</Text> : body}</Stack></Dialog.Body><Dialog.Footer>- <Button disabled={isPending} size="xs" variant="ghost" onClick={handleClose}>+ <Button disabled={isPending} size="md" variant="ghost" onClick={handleClose}>Cancel</Button><ButtoncolorPalette={isDestructive ? 'red' : 'accent'}disabled={isPending}loading={isPending}- size="xs"+ size="md"variant="solid"onClick={handleConfirmClick}>diff --git a/invokeai/frontend/webv2/src/platform/ui/DropTargetOverlay.tsx b/invokeai/frontend/webv2/src/platform/ui/DropTargetOverlay.tsxindex 7925774fa3..f941f3b5b0 100644--- a/invokeai/frontend/webv2/src/platform/ui/DropTargetOverlay.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/DropTargetOverlay.tsx@@ -28,7 +28,7 @@ export const DropTargetOverlay = ({zIndex="2">{label ? (- <Text color="fg" fontSize="sm" fontWeight="700" px="2" textAlign="center" textWrap="pretty">+ <Text color="fg" fontSize="lg" fontWeight="700" px="2" textAlign="center" textWrap="pretty">{label}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/platform/ui/Field.tsx b/invokeai/frontend/webv2/src/platform/ui/Field.tsxindex d95b607f82..439ad58b1d 100644--- a/invokeai/frontend/webv2/src/platform/ui/Field.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/Field.tsx@@ -77,11 +77,11 @@ export const Field = ({</ChakraField.Label>);const message = error ? (- <ChakraField.ErrorText color="fg.error" fontSize="2xs" role="alert">+ <ChakraField.ErrorText color="fg.error" fontSize="xs" role="alert">{error}</ChakraField.ErrorText>) : helpText ? (- <ChakraField.HelperText color="fg.muted" fontSize="2xs">+ <ChakraField.HelperText color="fg.muted" fontSize="xs">{helpText}</ChakraField.HelperText>) : null;diff --git a/invokeai/frontend/webv2/src/platform/ui/InputShell.tsx b/invokeai/frontend/webv2/src/platform/ui/InputShell.tsxindex a14eaa7010..7e7c46e563 100644--- a/invokeai/frontend/webv2/src/platform/ui/InputShell.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/InputShell.tsx@@ -48,7 +48,7 @@ export const InputShell = ({ children, endElement, ref, startElement, tone, ...b// Trailing buttons own their inset; omit duplicate end padding.pe={endElement ? '1' : '2'}ps="2"- textStyle="xs"+ textStyle="md"w="full"onPointerDown={focusInnerInput}{...boxProps}diff --git a/invokeai/frontend/webv2/src/platform/ui/JsonPreview.tsx b/invokeai/frontend/webv2/src/platform/ui/JsonPreview.tsxindex b1cc9b501e..3887bb9d5b 100644--- a/invokeai/frontend/webv2/src/platform/ui/JsonPreview.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/JsonPreview.tsx@@ -77,7 +77,7 @@ export const JsonPreview = ({bg="bg.muted"position="absolute"right="1.5"- size="2xs"+ size="sm"title={copyLabel}top="1.5"variant="ghost"@@ -86,13 +86,13 @@ export const JsonPreview = ({><Icon as={hasCopied ? CheckIcon : CopyIcon} boxSize="3" color={hasCopied ? 'green.solid' : undefined} /></IconButton>- <ScrollArea.Root flex="1" maxW="full" minH="0" minW="0" size="xs" variant="hover" w="full">+ <ScrollArea.Root flex="1" maxW="full" minH="0" minW="0" size="md" variant="hover" w="full"><ScrollArea.Viewport ref={viewportRef} aria-label={label} h="full" maxH={maxH} minW="0" role="region" w="full"><ScrollArea.Content w="full"><Codebg="transparent"display="block"- fontSize="2xs"+ fontSize="xs"minW="max-content"p="2"whiteSpace="pre"diff --git a/invokeai/frontend/webv2/src/platform/ui/ManagerLayout.tsx b/invokeai/frontend/webv2/src/platform/ui/ManagerLayout.tsxindex fd303feb58..320ffcbb06 100644--- a/invokeai/frontend/webv2/src/platform/ui/ManagerLayout.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/ManagerLayout.tsx@@ -24,11 +24,11 @@ export const ManagerColumn = ({}) => (<Flex borderEndWidth="1px" direction="column" flexShrink={0} h="full" minH="0" position="relative" w={COLUMN_WIDTH}><HStack borderBottomWidth="1px" flexShrink={0} gap="2" minH={HEADER_MIN_HEIGHT} px="3">- <Text as="h2" fontSize="sm" fontWeight="700">+ <Text as="h2" fontSize="lg" fontWeight="700">{title}</Text>{count === undefined ? null : (- <Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums">+ <Text color="fg.muted" fontSize="md" fontVariantNumeric="tabular-nums">{count}</Text>)}diff --git a/invokeai/frontend/webv2/src/platform/ui/Menu.tsx b/invokeai/frontend/webv2/src/platform/ui/Menu.tsxindex e28eb50b8a..2bbf82bae5 100644--- a/invokeai/frontend/webv2/src/platform/ui/Menu.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/Menu.tsx@@ -64,20 +64,20 @@ export const MenuActionItem = ({) : null}{hint ? (<Stack flex="1" gap="0" minW="0">- <Text fontSize="xs">{label}</Text>- <Text color="fg.subtle" fontSize="2xs">+ <Text fontSize="md">{label}</Text>+ <Text color="fg.subtle" fontSize="xs">{hint}</Text></Stack>) : (- <Text flex="1" fontSize="xs">+ <Text flex="1" fontSize="md">{label}</Text>)}{hintParts && hintParts.length > 0 ? (<HStack flexShrink={0} gap="0.5">{hintParts.map((part) => (- <Kbd key={part} size="sm" textTransform="lowercase">+ <Kbd key={part} size="md" textTransform="lowercase">{part}</Kbd>))}@@ -87,7 +87,7 @@ export const MenuActionItem = ({</Menu.Item>);-const ICON_ITEM_TOOLTIP_CONTENT_PROPS = { fontSize: '2xs' } as const;+const ICON_ITEM_TOOLTIP_CONTENT_PROPS = { fontSize: 'xs' } as const;const ICON_ITEM_TOOLTIP_POSITIONING_PROPS = { placement: 'top' } as const;export interface MenuIconItemProps {diff --git a/invokeai/frontend/webv2/src/platform/ui/ModelDefaultButton.tsx b/invokeai/frontend/webv2/src/platform/ui/ModelDefaultButton.tsxindex 6f6b647431..218657fbcc 100644--- a/invokeai/frontend/webv2/src/platform/ui/ModelDefaultButton.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/ModelDefaultButton.tsx@@ -17,7 +17,7 @@ export const ModelDefaultButton = ({ label, onClick }: { label: string; onClick:return (<Tooltip content={label}>- <IconButton aria-label={label} color="fg.muted" size="2xs" variant="ghost" onClick={handleClick}>+ <IconButton aria-label={label} color="fg.muted" size="sm" variant="ghost" onClick={handleClick}><Icon as={RotateCcwIcon} boxSize="2.5" /></IconButton></Tooltip>diff --git a/invokeai/frontend/webv2/src/platform/ui/PageShell.tsx b/invokeai/frontend/webv2/src/platform/ui/PageShell.tsxindex 9e11875358..83cedcaaa5 100644--- a/invokeai/frontend/webv2/src/platform/ui/PageShell.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/PageShell.tsx@@ -42,11 +42,11 @@ const PageShellHeader = ({}: Pick<PageShellProps, 'actions' | 'description' | 'title'>) => (<Flex align="center" gap="3" justify="space-between" wrap="wrap"><Stack gap="0.5">- <Heading fontSize="xl" fontWeight="700">+ <Heading fontSize="3xl" fontWeight="700">{title}</Heading>{description ? (- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{description}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/platform/ui/Picker.tsx b/invokeai/frontend/webv2/src/platform/ui/Picker.tsxindex e79a9a48cd..b0fd6cde59 100644--- a/invokeai/frontend/webv2/src/platform/ui/Picker.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/Picker.tsx@@ -20,7 +20,7 @@ export interface PickerOptionState {isSelected: boolean;}-const SEARCH_ICON = <Icon as={SearchIcon} size="xs" />;+const SEARCH_ICON = <Icon as={SearchIcon} size="md" />;const flattenGroups = <T,>(groups: PickerGroup<T>[]): T[] => groups.flatMap((group) => group.options);@@ -150,7 +150,7 @@ export const Picker = <T,>({aria-label={searchPlaceholder}autoComplete="off"placeholder={searchPlaceholder}- size="xs"+ size="md"value={searchTerm}onChange={handleSearchChange}onKeyDown={handleSearchKeyDown}@@ -161,16 +161,16 @@ export const Picker = <T,>({{toolbarSlot}</Stack><Box borderColor="border.subtle" borderTopWidth="1px" />- <ScrollArea.Root maxH="18rem" size="xs" variant="hover" w="full">+ <ScrollArea.Root maxH="18rem" size="md" variant="hover" w="full"><ScrollArea.Viewport ref={listRef} maxH="inherit" w="full"><ScrollArea.Content aria-label={listLabel} maxW="full" minW="0" py="1" role="listbox" w="full">{statusSlot ??(!hasAnyOption ? (- <Text color="fg.subtle" fontSize="2xs" p="2">+ <Text color="fg.subtle" fontSize="xs" p="2">{emptyMessage}</Text>) : visibleGroups.length === 0 ? (- <Text color="fg.subtle" fontSize="2xs" p="2">+ <Text color="fg.subtle" fontSize="xs" p="2">{noMatchesMessage}</Text>) : (@@ -241,7 +241,7 @@ const PickerGroupSection = <T,>({</Text><Spacer />{countLabel ? (- <Text color="fg.subtle" flexShrink={0} fontSize="2xs">+ <Text color="fg.subtle" flexShrink={0} fontSize="xs">{countLabel}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/platform/ui/RemovableTag.tsx b/invokeai/frontend/webv2/src/platform/ui/RemovableTag.tsxindex 498122a75c..80264d809f 100644--- a/invokeai/frontend/webv2/src/platform/ui/RemovableTag.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/RemovableTag.tsx@@ -24,7 +24,7 @@ export const RemovableTag = ({ children, disabled, onRemove, removeLabel }: Remo}, []);return (- <Tag.Root flexShrink={0} maxW="full" minW="0" size="sm" variant="surface">+ <Tag.Root flexShrink={0} maxW="full" minW="0" size="md" variant="surface"><Tooltip content={children} open={isLabelTipOpen} onOpenChange={handleLabelTipChange}><Tag.Label ref={labelRef} truncate>{children}diff --git a/invokeai/frontend/webv2/src/platform/ui/RenameDialog.tsx b/invokeai/frontend/webv2/src/platform/ui/RenameDialog.tsxindex f36062ae6a..ca1c1567b0 100644--- a/invokeai/frontend/webv2/src/platform/ui/RenameDialog.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/RenameDialog.tsx@@ -89,15 +89,15 @@ export const RenameDialog = ({<Dialog.Body><Stack gap="2"><Field label={label}>- <Input autoFocus defaultValue={initialName} name="renameValue" size="sm" />+ <Input autoFocus defaultValue={initialName} name="renameValue" size="lg" /></Field></Stack></Dialog.Body><Dialog.Footer>- <Button disabled={isPending} size="xs" type="button" variant="ghost" onClick={onClose}>+ <Button disabled={isPending} size="md" type="button" variant="ghost" onClick={onClose}>Cancel</Button>- <Button loading={isPending} size="xs" type="submit" variant="solid">+ <Button loading={isPending} size="md" type="submit" variant="solid">{submitLabel}</Button></Dialog.Footer>diff --git a/invokeai/frontend/webv2/src/platform/ui/ResizableTextarea.tsx b/invokeai/frontend/webv2/src/platform/ui/ResizableTextarea.tsxindex 2adaa6088f..e21f097c88 100644--- a/invokeai/frontend/webv2/src/platform/ui/ResizableTextarea.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/ResizableTextarea.tsx@@ -148,7 +148,7 @@ export const ResizableTextarea = ({<ScrollArea.RootborderRadius="control"h={`${displayHeightPx}px`}- size="xs"+ size="md"variant="hover"zIndex={underlay ? 1 : undefined}>diff --git a/invokeai/frontend/webv2/src/platform/ui/RetryBoundary.tsx b/invokeai/frontend/webv2/src/platform/ui/RetryBoundary.tsxindex cb7ca65b87..5c045ff789 100644--- a/invokeai/frontend/webv2/src/platform/ui/RetryBoundary.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/RetryBoundary.tsx@@ -33,10 +33,10 @@ export class RetryBoundary extends Component<}return (<Stack role="alert" gap="2" aria-busy={this.state.retrying}>- <Text fontSize="xs" color="fg.error">+ <Text fontSize="md" color="fg.error">{this.props.message}</Text>- <Button size="xs" loading={this.state.retrying} onClick={this.handleRetry}>+ <Button size="md" loading={this.state.retrying} onClick={this.handleRetry}>{this.props.retryLabel}</Button></Stack>diff --git a/invokeai/frontend/webv2/src/platform/ui/Scrollable.browser.test.tsx b/invokeai/frontend/webv2/src/platform/ui/Scrollable.browser.test.tsxindex 2bff1ad9d0..c2bb75c9c1 100644--- a/invokeai/frontend/webv2/src/platform/ui/Scrollable.browser.test.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/Scrollable.browser.test.tsx@@ -121,7 +121,7 @@ describe('Scrollable', () => {<PopoverContent w="22rem"><Popover.Body p="2.5"><Scrollable h="14rem" label="preview">- <Text fontSize="xs">one short row</Text>+ <Text fontSize="md">one short row</Text></Scrollable></Popover.Body></PopoverContent>diff --git a/invokeai/frontend/webv2/src/platform/ui/Scrollable.tsx b/invokeai/frontend/webv2/src/platform/ui/Scrollable.tsxindex 6f0fff2f5e..c28dd0428d 100644--- a/invokeai/frontend/webv2/src/platform/ui/Scrollable.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/Scrollable.tsx@@ -53,7 +53,7 @@ export const Scrollable = ({useScrollAreaPhantomHeal(resolvedViewportRef);return (- <ScrollArea.Root size="xs" variant="hover" {...rootProps}>+ <ScrollArea.Root size="md" variant="hover" {...rootProps}><ScrollArea.Viewportaria-label={label}h="full"diff --git a/invokeai/frontend/webv2/src/platform/ui/ScrubberField.tsx b/invokeai/frontend/webv2/src/platform/ui/ScrubberField.tsxindex 213149b944..eae4796fe6 100644--- a/invokeai/frontend/webv2/src/platform/ui/ScrubberField.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/ScrubberField.tsx@@ -94,7 +94,7 @@ const ROOT_CSS = {minW: '0',overflow: 'hidden',position: 'relative',- textStyle: 'xs',+ textStyle: 'md',touchAction: 'pan-y',userSelect: 'none',w: 'full',@@ -627,7 +627,7 @@ export const ScrubberField = ({)}</Box>{message ? (- <Text color={error ? 'fg.error' : 'fg.muted'} fontSize="2xs" id={messageId} role={error ? 'alert' : undefined}>+ <Text color={error ? 'fg.error' : 'fg.muted'} fontSize="xs" id={messageId} role={error ? 'alert' : undefined}>{message}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/platform/ui/SeedInput.tsx b/invokeai/frontend/webv2/src/platform/ui/SeedInput.tsxindex 26881bd345..731ce52063 100644--- a/invokeai/frontend/webv2/src/platform/ui/SeedInput.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/SeedInput.tsx@@ -58,7 +58,7 @@ export const SeedModeMenu = ({ contentClassName, description, onChange, value }:ids={triggerIds}><Menu.Trigger asChild>- <Button aria-label={accessibleName} flexShrink={0} gap="1" maxW="9rem" minW="0" size="xs" variant="outline">+ <Button aria-label={accessibleName} flexShrink={0} gap="1" maxW="9rem" minW="0" size="md" variant="outline"><Icon as={SEED_MODE_ICONS[value]} boxSize="3.5" color="fg.muted" flexShrink={0} /><Text as="span" minW="0" truncate>{valueLabel}@@ -78,7 +78,7 @@ export const SeedModeMenu = ({ contentClassName, description, onChange, value }:<Icon alignSelf="flex-start" as={SEED_MODE_ICONS[mode]} boxSize="3.5" color="fg.subtle" mt="0.5" /><Stack gap="0" minW="0"><Menu.ItemText>{t(`common.seedMode.${mode}`)}</Menu.ItemText>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t(`common.seedMode.${mode}Description`)}</Text></Stack>@@ -103,7 +103,7 @@ export const SeedSequencePreview = ({ id, plan }: SeedSequencePreviewProps) => {const { t } = useTranslation();return (- <Text color="fg.subtle" css={TABULAR_NUMS} data-testid="seed-sequence-preview" fontSize="2xs" id={id}>+ <Text color="fg.subtle" css={TABULAR_NUMS} data-testid="seed-sequence-preview" fontSize="xs" id={id}>{plan.sequenceLength > 1? t('common.seedNextBatchRange', { first: plan.startSeed, last: plan.lastSeed }): t('common.seedNextBatch', { seed: plan.startSeed })}@@ -173,7 +173,7 @@ export const SeedInput = ({max={SEED_MAX}min={0}minW="0"- size="xs"+ size="md"value={seed === undefined ? '' : String(seed)}translations={stepperTranslations}onValueChange={({ valueAsNumber }) => {@@ -198,7 +198,7 @@ export const SeedInput = ({color="fg.muted"disabled={isRandom}flexShrink={0}- size="xs"+ size="md"variant="outline"onClick={() => onCommit({ seed: Math.floor(Math.random() * SEED_MAX) })}>diff --git a/invokeai/frontend/webv2/src/platform/ui/SegmentTabs.tsx b/invokeai/frontend/webv2/src/platform/ui/SegmentTabs.tsxindex 7ef1f0a11a..1459181d5e 100644--- a/invokeai/frontend/webv2/src/platform/ui/SegmentTabs.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/SegmentTabs.tsx@@ -142,7 +142,7 @@ const SegmentTabButton = <T extends string>({aria-selected={isSelected}bg={isShown ? TAB_SHOWN_BG : 'transparent'}color={isShown ? 'fg' : 'fg.muted'}- fontSize="xs"+ fontSize="md"fontWeight="medium"h="7"id={segmentTabsTabId(idBase, id)}diff --git a/invokeai/frontend/webv2/src/platform/ui/SegmentedControl.tsx b/invokeai/frontend/webv2/src/platform/ui/SegmentedControl.tsxindex 69decfda0c..150ec22e63 100644--- a/invokeai/frontend/webv2/src/platform/ui/SegmentedControl.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/SegmentedControl.tsx@@ -22,7 +22,7 @@ export interface SegmentedControlProps extends Omit<SegmentGroup.RootProps, 'onCvalue: string | null;}-/** The house segmented control: an `xs` group of equal centered segments with `2xs` labels. */+/** The house segmented control: an `md` group of equal centered segments with `xs` labels. */export const SegmentedControl = ({ariaLabel,disabled,@@ -45,7 +45,7 @@ export const SegmentedControl = ({<SegmentGroup.Rootaria-label={ariaLabel}disabled={disabled}- size="xs"+ size="md"value={value}w={isFullWidth ? 'full' : undefined}onValueChange={handleValueChange}@@ -63,7 +63,7 @@ export const SegmentedControl = ({_checked={CHECKED_ITEM_STYLES}><SegmentGroup.ItemHiddenInput />- <SegmentGroup.ItemText fontSize="2xs">{option.label}</SegmentGroup.ItemText>+ <SegmentGroup.ItemText fontSize="xs">{option.label}</SegmentGroup.ItemText></SegmentGroup.Item>))}</SegmentGroup.Root>diff --git a/invokeai/frontend/webv2/src/platform/ui/SliderNumberField.tsx b/invokeai/frontend/webv2/src/platform/ui/SliderNumberField.tsxindex 23da6d2209..addbe9f8c6 100644--- a/invokeai/frontend/webv2/src/platform/ui/SliderNumberField.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/SliderNumberField.tsx@@ -77,7 +77,7 @@ export const SliderNumberField = memo(function SliderNumberField({max={max}min={min}minW="0"- size="sm"+ size="md"step={step}value={sliderValue}onValueChange={handleSliderChange}@@ -87,7 +87,7 @@ export const SliderNumberField = memo(function SliderNumberField({flexShrink="0"max={numberInputMax ?? max}min={numberInputMin ?? min}- size="xs"+ size="md"step={numberInputStep ?? step}value={String(value)}w="20"diff --git a/invokeai/frontend/webv2/src/platform/ui/Tabs.tsx b/invokeai/frontend/webv2/src/platform/ui/Tabs.tsxindex 3e2558ecb5..b182ca73a4 100644--- a/invokeai/frontend/webv2/src/platform/ui/Tabs.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/Tabs.tsx@@ -2,14 +2,7 @@ import type { ComponentProps } from 'react';import { Tabs as ChakraTabs } from '@chakra-ui/react';-type ChakraTabsRootProps = ComponentProps<typeof ChakraTabs.Root>;-type TabsRootProps = Omit<ChakraTabsRootProps, 'size'> & {- size?: ChakraTabsRootProps['size'] | 'xs';-};--const Root = ({ size, ...props }: TabsRootProps) => (- <ChakraTabs.Root colorPalette="accent" size={size as ChakraTabsRootProps['size']} {...props} />-);+const Root = (props: ComponentProps<typeof ChakraTabs.Root>) => <ChakraTabs.Root colorPalette="accent" {...props} />;export const Tabs = {...ChakraTabs,diff --git a/invokeai/frontend/webv2/src/platform/ui/Toolbar.tsx b/invokeai/frontend/webv2/src/platform/ui/Toolbar.tsxindex 7c7e1ccbfa..b9b884833d 100644--- a/invokeai/frontend/webv2/src/platform/ui/Toolbar.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/Toolbar.tsx@@ -40,7 +40,7 @@ export const ToolbarButton = ({<IconButtonaria-label={label}aria-pressed={isActive}- size="xs"+ size="md"variant={isActive ? 'solid' : 'ghost'}{...buttonProps}>diff --git a/invokeai/frontend/webv2/src/platform/ui/hints/FeatureHint.tsx b/invokeai/frontend/webv2/src/platform/ui/hints/FeatureHint.tsxindex 53f659a7cf..cd7399b6e7 100644--- a/invokeai/frontend/webv2/src/platform/ui/hints/FeatureHint.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/hints/FeatureHint.tsx@@ -39,12 +39,12 @@ const HintCard = ({ hint, onDisable }: { hint: FeatureHintId; onDisable: (() =>// Padding belongs to the `hoverCard` content recipe, not here.return (<Stack gap="1.5">- <Heading fontSize="xs" fontWeight="600">+ <Heading fontSize="md" fontWeight="600">{heading}</Heading><Separator />{paragraphs.map((paragraph) => (- <Text key={paragraph} color="fg.muted" fontSize="xs" lineHeight="1.45">+ <Text key={paragraph} color="fg.muted" fontSize="md" lineHeight="1.45">{paragraph}</Text>))}@@ -53,13 +53,13 @@ const HintCard = ({ hint, onDisable }: { hint: FeatureHintId; onDisable: (() =><Separator /><HStack gap="2" minH="4">{onDisable && (- <Button color="fg.subtle" fontSize="2xs" h="auto" px="1" size="2xs" variant="plain" onClick={onDisable}>+ <Button color="fg.subtle" fontSize="xs" h="auto" px="1" size="sm" variant="plain" onClick={onDisable}>{t('common.dontShowMeThese')}</Button>)}<Spacer />{href && (- <Link fontSize="2xs" gap="1" href={href} rel="noreferrer" target="_blank">+ <Link fontSize="xs" gap="1" href={href} rel="noreferrer" target="_blank">{t('common.learnMore')}<Icon as={ExternalLinkIcon} boxSize="3" /></Link>diff --git a/invokeai/frontend/webv2/src/platform/ui/list/List.tsx b/invokeai/frontend/webv2/src/platform/ui/list/List.tsxindex de902c5552..e4092eae1a 100644--- a/invokeai/frontend/webv2/src/platform/ui/list/List.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/list/List.tsx@@ -414,7 +414,7 @@ export const List = <T,>({if (status === 'loading') {content = (<Flex align="center" aria-label={t('common.loading')} h="full" justify="center" py="8" role="status" w="full">- <Spinner color="fg.subtle" size="sm" />+ <Spinner color="fg.subtle" size="lg" /></Flex>);} else if (status === 'error') {diff --git a/invokeai/frontend/webv2/src/platform/ui/list/ListItem.tsx b/invokeai/frontend/webv2/src/platform/ui/list/ListItem.tsxindex 4760674591..2bd9545baa 100644--- a/invokeai/frontend/webv2/src/platform/ui/list/ListItem.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/list/ListItem.tsx@@ -211,7 +211,7 @@ export const ListItem = ({checked={isChecked}colorPalette="accent"disabled={isBusy}- size="xs"+ size="sm"onCheckedChange={handleCheckedChange}><Checkbox.HiddenInput />diff --git a/invokeai/frontend/webv2/src/platform/ui/list/ListPager.tsx b/invokeai/frontend/webv2/src/platform/ui/list/ListPager.tsxindex ceda80258d..fe09d83a18 100644--- a/invokeai/frontend/webv2/src/platform/ui/list/ListPager.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/list/ListPager.tsx@@ -26,16 +26,16 @@ export const ListPager = ({ hasNext, hasPrevious, isBusy = false, page, onNext,<HStack borderColor="border.subtle" borderTopWidth="1px" flexShrink={0} justify="center" minH="8"><Buttonaria-disabled={previousUnavailable}- size="2xs"+ size="sm"variant="ghost"onClick={previousUnavailable ? undefined : onPrevious}>{t('common.previousPage')}</Button>- <Text aria-live="polite" color="fg.muted" fontSize="2xs" fontVariantNumeric="tabular-nums">+ <Text aria-live="polite" color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums">{t('common.pageNumber', { page })}</Text>- <Button aria-disabled={nextUnavailable} size="2xs" variant="ghost" onClick={nextUnavailable ? undefined : onNext}>+ <Button aria-disabled={nextUnavailable} size="sm" variant="ghost" onClick={nextUnavailable ? undefined : onNext}>{t('common.nextPage')}</Button></HStack>diff --git a/invokeai/frontend/webv2/src/platform/ui/list/ListSelectionBar.tsx b/invokeai/frontend/webv2/src/platform/ui/list/ListSelectionBar.tsxindex 01337bb76e..329ecce9f4 100644--- a/invokeai/frontend/webv2/src/platform/ui/list/ListSelectionBar.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/list/ListSelectionBar.tsx@@ -50,16 +50,16 @@ export const ListSelectionBar = ({checked={checked}colorPalette="accent"disabled={isDisabled}- size="xs"+ size="sm"onCheckedChange={onCheckedChange}><Checkbox.HiddenInput /><Checkbox.Control />- <Checkbox.Label color="fg.muted" fontSize="2xs" fontWeight="600">+ <Checkbox.Label color="fg.muted" fontSize="xs" fontWeight="600">{label}</Checkbox.Label></Checkbox.Root>- <Text color="fg.muted" flex="1" fontSize="2xs" id={summaryId} minW="0" textAlign="end" truncate>+ <Text color="fg.muted" flex="1" fontSize="xs" id={summaryId} minW="0" textAlign="end" truncate>{summary}</Text>{Children.toArray(children).length > 0 ? (diff --git a/invokeai/frontend/webv2/src/platform/ui/settings/SettingControl.tsx b/invokeai/frontend/webv2/src/platform/ui/settings/SettingControl.tsxindex 1fdff51a39..912a19bcad 100644--- a/invokeai/frontend/webv2/src/platform/ui/settings/SettingControl.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/settings/SettingControl.tsx@@ -74,18 +74,18 @@ export const SettingControl = ({ field, surface, value, onChange, disabled, isMoalignItems="center"gap="4"w="full"- size="sm"+ size="md"onCheckedChange={handleCheckedChange}><Stack gap="1"><HStack gap="2">- <Switch.Label fontSize={surface === 'quick' ? 'xs' : 'sm'} fontWeight="500">+ <Switch.Label fontSize={surface === 'quick' ? 'md' : 'lg'} fontWeight="500">{label}</Switch.Label>{isModified ? <ModifiedSettingIndicator label={label} /> : null}</HStack>{description ? (- <Text id={descriptionId} color="fg.muted" fontSize="xs">+ <Text id={descriptionId} color="fg.muted" fontSize="md">{description}</Text>) : null}@@ -109,13 +109,13 @@ export const SettingControl = ({ field, surface, value, onChange, disabled, isMo><Stack gap="1" flex="1"><HStack gap="2">- <Field.Label fontSize={surface === 'quick' ? 'xs' : 'sm'} fontWeight="500">+ <Field.Label fontSize={surface === 'quick' ? 'md' : 'lg'} fontWeight="500">{label}</Field.Label>{isModified ? <ModifiedSettingIndicator label={label} /> : null}</HStack>{description ? (- <Field.HelperText color="fg.muted" fontSize="xs">+ <Field.HelperText color="fg.muted" fontSize="md">{description}</Field.HelperText>) : null}@@ -125,7 +125,7 @@ export const SettingControl = ({ field, surface, value, onChange, disabled, isMocollection={collection}value={selectValue}disabled={disabled}- size={surface === 'quick' ? 'xs' : 'sm'}+ size={surface === 'quick' ? 'md' : 'lg'}w={surface === 'quick' ? 'full' : DIALOG_CONTROL_WIDTH}flexShrink={0}portalled={false}@@ -143,7 +143,7 @@ export const SettingControl = ({ field, surface, value, onChange, disabled, isMomax={field.max}step={field.step ?? 1}flex="1"- size="sm"+ size="md"onValueChange={handleSliderChange}><Slider.Control>@@ -153,7 +153,7 @@ export const SettingControl = ({ field, surface, value, onChange, disabled, isMo<Slider.Thumbs /></Slider.Control></Slider.Root>- <Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums" minW="6" textAlign="end">+ <Text color="fg.muted" fontSize="md" fontVariantNumeric="tabular-nums" minW="6" textAlign="end">{value}</Text></HStack>@@ -166,7 +166,7 @@ export const SettingControl = ({ field, surface, value, onChange, disabled, isMostep={field.step ?? 1}value={String(value)}disabled={disabled}- size="sm"+ size="lg"w="24"onChange={handleNumberChange}/>diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/ControlHeights.browser.test.tsx b/invokeai/frontend/webv2/src/platform/ui/theme/ControlHeights.browser.test.tsxnew file mode 100644index 0000000000..82c992c01f--- /dev/null+++ b/invokeai/frontend/webv2/src/platform/ui/theme/ControlHeights.browser.test.tsx@@ -0,0 +1,90 @@+import {+ Button,+ ChakraProvider,+ Combobox,+ createListCollection,+ Input,+ NumberInput,+ SegmentGroup,+ Select,+} from '@chakra-ui/react';+import { system } from '@theme/system';+import { act } from 'react';+import { createRoot, type Root } from 'react-dom/client';+import { afterEach, describe, expect, it } from 'vitest';++import { CONTROL_HEIGHT_PX, type ControlSize } from './scale';++const OPTIONS = createListCollection({ items: [{ label: 'One', value: 'one' }] });++let host: HTMLDivElement | null = null;+let root: Root | null = null;+(globalThis as typeof globalThis & { IS_REACT_ACT_ENVIRONMENT: boolean }).IS_REACT_ACT_ENVIRONMENT = true;++afterEach(async () => {+ await act(() => root?.unmount());+ host?.remove();+ host = null;+ root = null;+});++const renderControls = async (size: ControlSize): Promise<Record<string, HTMLElement>> => {+ host = document.createElement('div');+ document.body.append(host);+ root = createRoot(host);++ await act(() => {+ root?.render(+ <ChakraProvider value={system}>+ <Button data-testid="button" size={size}>+ Reference+ </Button>+ <Input aria-label="Input" data-testid="input" size={size} />+ <NumberInput.Root size={size}>+ <NumberInput.Input aria-label="Number" data-testid="number" />+ </NumberInput.Root>+ <SegmentGroup.Root data-testid="segments" size={size} value="a">+ <SegmentGroup.Indicator />+ {['a', 'b'].map((value) => (+ <SegmentGroup.Item key={value} value={value}>+ <SegmentGroup.ItemHiddenInput />+ <SegmentGroup.ItemText>{value}</SegmentGroup.ItemText>+ </SegmentGroup.Item>+ ))}+ </SegmentGroup.Root>+ <Select.Root collection={OPTIONS} size={size}>+ <Select.Control>+ <Select.Trigger aria-label="Select" data-testid="select">+ <Select.ValueText placeholder="Pick" />+ </Select.Trigger>+ </Select.Control>+ </Select.Root>+ <Combobox.Root collection={OPTIONS} size={size}>+ <Combobox.Control>+ <Combobox.Input aria-label="Combobox" data-testid="combobox" />+ </Combobox.Control>+ </Combobox.Root>+ </ChakraProvider>+ );+ });++ return Object.fromEntries(+ ['button', 'input', 'number', 'segments', 'select', 'combobox'].map((id) => [+ id,+ host!.querySelector<HTMLElement>(`[data-testid="${id}"]`)!,+ ])+ );+};++describe('control heights', () => {+ // Same-named control sizes share the scale's outer height, so mixed rows of controls align.+ (Object.entries(CONTROL_HEIGHT_PX) as [ControlSize, number][]).forEach(([size, height]) => {+ it(`renders ${size} controls at ${height}px`, async () => {+ const controls = await renderControls(size);++ for (const [id, element] of Object.entries(controls)) {+ expect(element.getBoundingClientRect().height, id).toBeCloseTo(height, 1);+ }+ });+ });+});diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/DataListDividers.browser.test.tsx b/invokeai/frontend/webv2/src/platform/ui/theme/DataListDividers.browser.test.tsxindex 11260ad6ed..fa528d29d5 100644--- a/invokeai/frontend/webv2/src/platform/ui/theme/DataListDividers.browser.test.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/theme/DataListDividers.browser.test.tsx@@ -24,7 +24,7 @@ const renderDataList = async (): Promise<{ reference: HTMLElement; rows: HTMLEleroot?.render(<ChakraProvider value={system}><Box borderColor="border.subtle" borderWidth="1px" data-testid="reference" />- <DataList.Root gap="1.5" orientation="horizontal" size="sm">+ <DataList.Root gap="1.5" orientation="horizontal" size="md">{['Seed', 'Steps', 'Prompt'].map((label) => (<DataList.Item key={label} data-testid="row"><DataList.ItemLabel>{label}</DataList.ItemLabel>diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/SegmentGroupContrast.browser.test.tsx b/invokeai/frontend/webv2/src/platform/ui/theme/SegmentGroupContrast.browser.test.tsxindex 7bbac14370..231514c148 100644--- a/invokeai/frontend/webv2/src/platform/ui/theme/SegmentGroupContrast.browser.test.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/theme/SegmentGroupContrast.browser.test.tsx@@ -25,7 +25,7 @@ const renderSegments = async (): Promise<{ checked: HTMLElement; count: HTMLElemawait act(() => {root?.render(<ChakraProvider value={system}>- <SegmentGroup.Root size="xs" value="media">+ <SegmentGroup.Root size="md" value="media"><SegmentGroup.Indicator data-testid="indicator" />{['media', 'assets'].map((value) => (<SegmentGroup.Item key={value} data-testid={value} value={value}>diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/SegmentGroupSizing.browser.test.tsx b/invokeai/frontend/webv2/src/platform/ui/theme/SegmentGroupSizing.browser.test.tsxdeleted file mode 100644index 512d0a711d..0000000000--- a/invokeai/frontend/webv2/src/platform/ui/theme/SegmentGroupSizing.browser.test.tsx+++ /dev/null@@ -1,58 +0,0 @@-import { Button, ChakraProvider, SegmentGroup } from '@chakra-ui/react';-import { system } from '@theme/system';-import { act } from 'react';-import { createRoot, type Root } from 'react-dom/client';-import { afterEach, describe, expect, it } from 'vitest';--let host: HTMLDivElement | null = null;-let root: Root | null = null;-(globalThis as typeof globalThis & { IS_REACT_ACT_ENVIRONMENT: boolean }).IS_REACT_ACT_ENVIRONMENT = true;--afterEach(async () => {- await act(() => root?.unmount());- host?.remove();- host = null;- root = null;-});--const renderPair = async (size: '2xs' | 'xs' | 'sm'): Promise<{ button: HTMLElement; segmentRoot: HTMLElement }> => {- host = document.createElement('div');- document.body.append(host);- root = createRoot(host);-- await act(() => {- root?.render(- <ChakraProvider value={system}>- <Button data-testid="button" size={size}>- Reference- </Button>- {/* `2xs` is a repo recipe extension the generated Chakra types don't know. */}- <SegmentGroup.Root data-testid="segments" size={size as 'xs'} value="a">- <SegmentGroup.Indicator />- {['a', 'b'].map((value) => (- <SegmentGroup.Item key={value} value={value}>- <SegmentGroup.ItemHiddenInput />- <SegmentGroup.ItemText>{value}</SegmentGroup.ItemText>- </SegmentGroup.Item>- ))}- </SegmentGroup.Root>- </ChakraProvider>- );- });-- return {- button: host.querySelector<HTMLElement>('[data-testid="button"]')!,- segmentRoot: host.querySelector<HTMLElement>('[data-testid="segments"]')!,- };-};--describe('segmentGroup slot recipe sizing', () => {- // Same-size segment groups and buttons must have equal outer heights.- (['2xs', 'xs', 'sm'] as const).forEach((size) => {- it(`matches the ${size} button height`, async () => {- const { button, segmentRoot } = await renderPair(size);-- expect(segmentRoot.getBoundingClientRect().height).toBeCloseTo(button.getBoundingClientRect().height, 1);- });- });-});diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/SpinnerReducedMotion.browser.test.tsx b/invokeai/frontend/webv2/src/platform/ui/theme/SpinnerReducedMotion.browser.test.tsxindex bed451d78c..67103e4d34 100644--- a/invokeai/frontend/webv2/src/platform/ui/theme/SpinnerReducedMotion.browser.test.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/theme/SpinnerReducedMotion.browser.test.tsx@@ -26,7 +26,7 @@ const render = async () => {await act(() =>root?.render(<ChakraProvider value={system}>- <Spinner data-testid="spinner" size="sm" />+ <Spinner data-testid="spinner" size="lg" /><Skeleton data-testid="skeleton" h="4" w="20" /></ChakraProvider>)diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/rebase.test.ts b/invokeai/frontend/webv2/src/platform/ui/theme/rebase.test.tsnew file mode 100644index 0000000000..0395170ce9--- /dev/null+++ b/invokeai/frontend/webv2/src/platform/ui/theme/rebase.test.ts@@ -0,0 +1,149 @@+import { defaultConfig } from '@chakra-ui/react';+import { recipes as stockRecipes, slotRecipes as stockSlotRecipes } from '@chakra-ui/react/theme';+import { describe, expect, it } from 'vitest';++import { baseConfig, rebaseRecipe, recipes, renameFonts, SIZE_NAMES, slotRecipes, TYPE_NAMES } from './rebase';+import { CONTROL_HEIGHT_PX, type ControlSize } from './scale';++const stockTheme = defaultConfig.theme!;+const theme = baseConfig.theme!;++type TextStyleValue = { fontSize: string; letterSpacing?: string; lineHeight: string };+type StyleRecord = Record<string, Record<string, string>>;+type StockRecipe = { base?: StyleRecord; variants?: { size?: Record<string, StyleRecord> } };++const stockRecipe = (name: string): StockRecipe =>+ ((stockRecipes as Record<string, StockRecipe>)[name] ?? (stockSlotRecipes as Record<string, StockRecipe>)[name])!;++const fontSizeOf = (tokens: typeof stockTheme.tokens, name: string) =>+ (tokens!.fontSizes as Record<string, { value: string }>)[name]?.value;++const textStyleOf = (styles: typeof stockTheme.textStyles, name: string) =>+ (styles as Record<string, { value: TextStyleValue }>)[name]?.value;++describe('workbench type scale', () => {+ it.each(Object.entries(TYPE_NAMES))('renders stock %s at the pixels it had, under the name %s', (stock, renamed) => {+ const before = textStyleOf(stockTheme.textStyles, stock);+ const after = textStyleOf(theme.textStyles, renamed);++ expect(fontSizeOf(theme.tokens, renamed)).toBe(fontSizeOf(stockTheme.tokens, stock));+ expect(after?.lineHeight).toBe(before?.lineHeight);+ expect(after?.letterSpacing).toBe(before?.letterSpacing);+ expect(after?.fontSize).toBe(renamed);+ });++ it('retires the stock 2xs name and adds an 11px step', () => {+ expect(fontSizeOf(theme.tokens, '2xs')).toBeUndefined();+ expect(textStyleOf(theme.textStyles, '2xs')).toBeUndefined();+ expect(fontSizeOf(theme.tokens, 'sm')).toBe('0.6875rem');+ });++ it('keeps the label text style at its stock size', () => {+ expect(textStyleOf(theme.textStyles, 'label')).toMatchObject({ fontSize: 'lg', lineHeight: '1.25rem' });+ });+});++describe('renameFonts', () => {+ it('renames text style and font size values, including responsive and conditional ones', () => {+ expect(+ renameFonts({+ _hover: { fontSize: 'xs' },+ fontSize: { base: '2xs', md: 'sm' },+ textStyle: 'sm',+ })+ ).toEqual({ _hover: { fontSize: 'md' }, fontSize: { base: 'xs', md: 'lg' }, textStyle: 'lg' });+ });++ it('renames font size tokens referenced from CSS variables', () => {+ expect(renameFonts({ '--indicator-font-size': 'fontSizes.xs', '--label': '{fontSizes.2xs}' })).toEqual({+ '--indicator-font-size': 'fontSizes.md',+ '--label': '{fontSizes.xs}',+ });+ });++ it('leaves the same names alone outside font properties', () => {+ const styles = { borderRadius: 'sm', boxShadow: 'md', fontSize: 'inherit', maxW: 'xs', px: '2' };++ expect(renameFonts(styles)).toEqual(styles);+ });+});++describe('rebaseRecipe', () => {+ it('renames sizes and the default size, drops unmapped scale steps, and keeps other keys', () => {+ const recipe = rebaseRecipe(+ 'test',+ {+ defaultVariants: { size: 'sm' },+ variants: { size: { '2xl': { h: '16' }, full: { h: 'full' }, sm: { h: '9', textStyle: 'sm' } } },+ },+ { sm: 'lg' }+ );++ expect(recipe.variants?.size).toEqual({ full: { h: 'full' }, lg: { h: '9', textStyle: 'lg' } });+ expect(recipe.defaultVariants).toEqual({ size: 'lg' });+ });++ it('renames compound variant sizes and adds no compound key a recipe lacked', () => {+ const sizes = { sm: { h: '9' } };++ expect(+ rebaseRecipe('test', { compoundVariants: [{ css: {}, size: 'sm' }], variants: { size: sizes } }, { sm: 'md' })+ .compoundVariants+ ).toEqual([{ css: {}, size: 'md' }]);+ expect(rebaseRecipe('test', { variants: { size: sizes } }, { sm: 'md' })).not.toHaveProperty('compoundVariants');+ });++ it('refuses maps that would merge two sizes or orphan the default', () => {+ const variants = { size: { sm: { h: '8' }, xs: { h: '7' } } };++ expect(() => rebaseRecipe('test', { variants }, { sm: 'md', xs: 'md' })).toThrow(/collide on md/);+ expect(() => rebaseRecipe('test', { defaultVariants: { size: 'sm' }, variants }, { xs: 'md' })).toThrow(+ /default size sm/+ );+ expect(() =>+ rebaseRecipe('test', { compoundVariants: [{ css: {}, size: ['sm', 'xs'] }], variants }, { sm: 'md', xs: 'sm' })+ ).toThrow(/compound size/);+ });++ it('moves stock button sizes onto the control scale by height', () => {+ const stock = stockRecipe('button').variants!.size!;+ const renamed = recipes.button.variants?.size;++ expect(renamed?.sm).toMatchObject({ h: stock['2xs']!.h, textStyle: 'md' });+ expect(renamed?.md).toMatchObject({ h: stock.xs!.h, textStyle: 'md' });+ expect(renamed?.['3xl']).toMatchObject({ h: stock.lg!.h, textStyle: 'xl' });+ expect(Object.keys(renamed ?? {})).not.toContain('2xs');+ // Bare buttons keep their stock size until callers move to the workbench default.+ expect(recipes.button.defaultVariants).toMatchObject({ size: 'xl' });+ });++ // The theme pins button, input, select, combobox, and segment heights itself; these keep their stock heights, so+ // their names must land on the scale step of the same height.+ it.each([+ ['avatar', 'root', '--avatar-size'],+ ['colorPicker', 'trigger', '--input-height'],+ ['inputAddon', undefined, '--input-height'],+ ['nativeSelect', 'root', '--select-field-height'],+ ['tagsInput', 'root', '--tags-input-height'],+ ] as const)('names stock %s sizes by their pixel height', (name, part, variable) => {+ const stock = stockRecipe(name).variants!.size!;+ const sizes = stockTheme.tokens?.sizes as Record<string, { value: string }>;++ for (const [stockSize, renamed] of Object.entries(SIZE_NAMES[name]!)) {+ const styles = stock[stockSize];++ if (!styles) {+ continue;+ }+ const token = (part ? styles[part]?.[variable] : (styles as unknown as Record<string, string>)[variable])!;+ const px = Number.parseFloat(sizes[token.replace('sizes.', '')]!.value) * 16;++ expect(px, `${name} ${stockSize}`).toBe(CONTROL_HEIGHT_PX[renamed as ControlSize]);+ }+ });++ it('renames fonts in stock recipes it does not resize', () => {+ expect(slotRecipes.tooltip.base?.content).toMatchObject({ textStyle: 'md' });+ expect(stockRecipe('tooltip').base?.content).toMatchObject({ textStyle: 'xs' });+ });+});diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/rebase.ts b/invokeai/frontend/webv2/src/platform/ui/theme/rebase.tsnew file mode 100644index 0000000000..b6626b8340--- /dev/null+++ b/invokeai/frontend/webv2/src/platform/ui/theme/rebase.ts@@ -0,0 +1,213 @@+import type { RecipeDefinition, SlotRecipeDefinition, SystemConfig } from '@chakra-ui/react';++import { defaultConfig } from '@chakra-ui/react';+import { recipes as stockRecipes, slotRecipes as stockSlotRecipes } from '@chakra-ui/react/theme';++import { TYPE_SCALE } from './scale';++/**+ * Chakra's stock theme, renamed onto the workbench scales (`./scale`). Chakra sizes for marketing pages, so its stock+ * `md` is 36-40px with 16px text; renaming its variants and font references lets `md` mean the workbench's working+ * size while every stock style keeps its pixels. Overrides in `./recipes` build on these renamed recipes and pin the+ * control heights onto the scale.+ *+ * Chakra's `InputElement` (InputGroup start/end slots) hardcodes the stock `sm` font size outside any recipe, so it+ * now computes 11px; give slot content its own size rather than relying on that inherited one.+ */++type NameMap = Readonly<Record<string, string>>;++/** Stock text style and font size names to the workbench type scale's same-pixel names. */+export const TYPE_NAMES: NameMap = {+ '2xs': 'xs',+ xs: 'md',+ sm: 'lg',+ md: 'xl',+ lg: '2xl',+ xl: '3xl',+ '2xl': '4xl',+ '3xl': '5xl',+ '4xl': '6xl',+ '5xl': '7xl',+ '6xl': '8xl',+ '7xl': '9xl',+};++const SCALE_NAMES = new Set(['3xs', '2xs', 'xs', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl', '5xl', '6xl', '7xl']);++/** One step: recipes whose stock `sm` is the workbench's usual size. */+const ONE_STEP: NameMap = { xs: 'sm', sm: 'md', md: 'lg', lg: 'xl', xl: '2xl' };++/** Two steps: inline companions whose stock `xs` is the workbench's usual size. */+const TWO_STEPS: NameMap = {+ '3xs': 'xs',+ '2xs': 'sm',+ xs: 'md',+ sm: 'lg',+ md: 'xl',+ lg: '2xl',+ xl: '3xl',+ '2xl': '4xl',+};++/**+ * Stock size variant names to workbench names, per recipe. Control-height recipes map by pixel height onto+ * `CONTROL_HEIGHT_PX` (after `./recipes` pins the heights it overrides); stock steps off that scale are dropped.+ * Scale names a map omits are dropped; other keys (`inherit`, `full`) pass through. Unlisted recipes keep their+ * names because their sizes are widths or paddings (dialog, popover) or the workbench does not use them.+ */+export const SIZE_NAMES: Readonly<Record<string, NameMap>> = {+ alert: ONE_STEP,+ avatar: { '2xs': 'sm', xs: 'lg', sm: 'xl', md: '2xl', lg: '3xl' },+ badge: TWO_STEPS,+ button: { '2xs': 'sm', xs: 'md', sm: 'lg', md: 'xl', lg: '3xl' },+ checkbox: ONE_STEP,+ checkmark: ONE_STEP,+ code: TWO_STEPS,+ colorPicker: { '2xs': 'md', xs: 'lg', sm: 'xl', md: '2xl', lg: '3xl' },+ combobox: { xs: 'md', sm: 'lg', md: 'xl' },+ dataList: ONE_STEP,+ heading: TYPE_NAMES,+ icon: TWO_STEPS,+ // Stock 2xs drops: once `./recipes` pins xs to the md height, the two are identical.+ input: { xs: 'md', sm: 'lg', md: 'xl', lg: '3xl' },+ inputAddon: { '2xs': 'md', xs: 'lg', sm: 'xl', md: '2xl', lg: '3xl' },+ kbd: ONE_STEP,+ menu: ONE_STEP,+ nativeSelect: { xs: 'lg', sm: 'xl', md: '2xl', lg: '3xl' },+ numberInput: { xs: 'md', sm: 'lg', md: 'xl', lg: '3xl' },+ progress: TWO_STEPS,+ progressCircle: TWO_STEPS,+ radioGroup: ONE_STEP,+ radiomark: ONE_STEP,+ scrollArea: TWO_STEPS,+ segmentGroup: { xs: 'md', sm: 'lg', md: '2xl', lg: '3xl' },+ select: { xs: 'md', sm: 'lg', md: 'xl' },+ slider: ONE_STEP,+ spinner: TWO_STEPS,+ stat: ONE_STEP,+ status: ONE_STEP,+ switch: ONE_STEP,+ table: ONE_STEP,+ tabs: { sm: 'xl', md: '2xl', lg: '3xl' },+ tag: ONE_STEP,+ tagsInput: { xs: 'lg', sm: 'xl', md: '2xl', lg: '3xl' },+ textarea: TWO_STEPS,+};++const isFontKey = (key: string | undefined) => key === 'textStyle' || key === 'fontSize';++const FONT_TOKEN = /fontSizes\.(\w+)/g;++/** Rewrites text style and font size names, including `fontSizes.*` token references in CSS variables. */+export const renameFonts = (value: unknown, key?: string): unknown => {+ if (typeof value === 'string') {+ if (isFontKey(key) && Object.hasOwn(TYPE_NAMES, value)) {+ return TYPE_NAMES[value];+ }++ return value.replace(FONT_TOKEN, (match, name: string) =>+ Object.hasOwn(TYPE_NAMES, name) ? `fontSizes.${TYPE_NAMES[name]}` : match+ );+ }++ if (Array.isArray(value)) {+ return value.map((item) => renameFonts(item, key));+ }++ if (value && typeof value === 'object') {+ // Responsive and conditional font values keep their font key while descending.+ return Object.fromEntries(+ Object.entries(value).map(([entryKey, entry]) => [entryKey, renameFonts(entry, isFontKey(key) ? key : entryKey)])+ );+ }++ return value;+};++type AnyRecipe = RecipeDefinition | SlotRecipeDefinition;++/** Renames one recipe's fonts and, given a map, its size variants, default size, and compound size selections. */+export const rebaseRecipe = <T extends AnyRecipe>(name: string, recipe: T, sizes: NameMap | undefined): T => {+ const renamed = renameFonts(recipe) as T;++ if (!sizes || !renamed.variants?.size) {+ return renamed;+ }++ const rename = (size: string) => (SCALE_NAMES.has(size) ? sizes[size] : size);+ const sizeVariants: Record<string, unknown> = {};++ for (const [size, styles] of Object.entries(renamed.variants.size)) {+ const next = rename(size);++ if (next === undefined) {+ continue;+ }+ if (Object.hasOwn(sizeVariants, next)) {+ throw new Error(`Recipe ${name}: sizes collide on ${next}`);+ }+ sizeVariants[next] = styles;+ }++ const defaultSize = renamed.defaultVariants?.size;++ if (typeof defaultSize === 'string' && rename(defaultSize) === undefined) {+ throw new Error(`Recipe ${name}: default size ${defaultSize} has no workbench name`);+ }++ return {+ ...renamed,+ // Chakra iterates `compoundVariants` whenever the key exists, so absent stays absent.+ ...(renamed.compoundVariants && {+ compoundVariants: renamed.compoundVariants.map((compound: Record<string, unknown>) => {+ if (compound.size === undefined) {+ return compound;+ }+ const next = typeof compound.size === 'string' ? rename(compound.size) : undefined;+ if (next === undefined) {+ throw new Error(`Recipe ${name}: compound size ${String(compound.size)} has no workbench name`);+ }+ return { ...compound, size: next };+ }),+ }),+ defaultVariants:+ typeof defaultSize === 'string'+ ? { ...renamed.defaultVariants, size: rename(defaultSize) }+ : renamed.defaultVariants,+ variants: { ...renamed.variants, size: sizeVariants },+ };+};++const rebaseAll = <T extends AnyRecipe>(all: Record<string, T>): Record<string, T> =>+ Object.fromEntries(Object.entries(all).map(([name, recipe]) => [name, rebaseRecipe(name, recipe, SIZE_NAMES[name])]));++export const recipes = rebaseAll<RecipeDefinition>(stockRecipes) as Record<keyof typeof stockRecipes, RecipeDefinition>;++export const slotRecipes = rebaseAll<SlotRecipeDefinition>(stockSlotRecipes) as Record<+ keyof typeof stockSlotRecipes,+ SlotRecipeDefinition+>;++const stockTheme = defaultConfig.theme ?? {};++/** Chakra's default config on the workbench scales; stock font names are replaced, not merged, so none survive. */+export const baseConfig: SystemConfig = {+ ...defaultConfig,+ theme: {+ ...stockTheme,+ recipes,+ slotRecipes,+ textStyles: {+ ...Object.fromEntries(+ Object.entries(TYPE_SCALE).map(([name, step]) => [name, { value: { ...step, fontSize: name } }])+ ),+ label: renameFonts(stockTheme.textStyles?.label) as NonNullable<typeof stockTheme.textStyles>[string],+ none: { value: {} },+ },+ tokens: {+ ...stockTheme.tokens,+ fontSizes: Object.fromEntries(Object.entries(TYPE_SCALE).map(([name, step]) => [name, { value: step.fontSize }])),+ },+ },+};diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts b/invokeai/frontend/webv2/src/platform/ui/theme/recipes.tsindex 35b3511ea2..6643a0c29a 100644--- a/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts+++ b/invokeai/frontend/webv2/src/platform/ui/theme/recipes.ts@@ -1,5 +1,37 @@+import type { SystemStyleObject } from '@chakra-ui/react';+import { defineRecipe, defineSlotRecipe } from '@chakra-ui/react';-import { recipes as chakraRecipes, slotRecipes as chakraSlotRecipes } from '@chakra-ui/react/theme';++import { recipes as chakraRecipes, slotRecipes as chakraSlotRecipes } from './rebase';+import { CONTROL_HEIGHT_PX, type ControlSize } from './scale';++const CONTROL_SIZES = Object.keys(CONTROL_HEIGHT_PX) as ControlSize[];++type SlotStyles = Partial<Record<string, SystemStyleObject>>;++/** The renamed stock step each control size takes padding and text from; heights always come from the scale. */+const CONTROL_BASIS: Record<ControlSize, string> = {+ xs: 'md',+ sm: 'md',+ md: 'md',+ lg: 'lg',+ xl: 'xl',+ '2xl': 'xl',+ '3xl': '3xl',+};++/**+ * Builds every control size from the stock steps, so same-named sizes align across control recipes. A recipe without+ * the basis step (select has no stock 3xl) takes its xl.+ */+const controlSizes = <T>(+ stock: Record<string, T> | undefined,+ build: (styles: T | undefined, height: string, size: ControlSize) => T,+ basis: Record<ControlSize, string> = CONTROL_BASIS+) =>+ Object.fromEntries(+ CONTROL_SIZES.map((size) => [size, build(stock?.[basis[size]] ?? stock?.xl, `{sizes.control.${size}}`, size)])+ );/** Extend the tooltip recipe; replacing it drops arrow size/background variables. */export const tooltipSlotRecipe = defineSlotRecipe({@@ -100,20 +132,20 @@ export const tabsSlotRecipe = defineSlotRecipe({...chakraSlotRecipes.tabs.variants,size: {...chakraSlotRecipes.tabs.variants?.size,- xs: {+ lg: {root: {- '--tabs-height': 'sizes.8',+ '--tabs-height': '{sizes.control.lg}','--tabs-content-padding': 'spacing.2.5',},- trigger: { px: '2.5', py: '0.5', textStyle: 'xs' },+ trigger: { px: '2.5', py: '0.5', textStyle: 'md' },},- sm: {- ...chakraSlotRecipes.tabs.variants?.size?.sm,- trigger: { ...chakraSlotRecipes.tabs.variants?.size?.sm?.trigger, textStyle: 'xs' },+ xl: {+ ...chakraSlotRecipes.tabs.variants?.size?.xl,+ trigger: { ...chakraSlotRecipes.tabs.variants?.size?.xl?.trigger, textStyle: 'md' },},- md: {- ...chakraSlotRecipes.tabs.variants?.size?.md,- trigger: { ...chakraSlotRecipes.tabs.variants?.size?.md?.trigger, textStyle: 'xs' },+ '2xl': {+ ...chakraSlotRecipes.tabs.variants?.size?.['2xl'],+ trigger: { ...chakraSlotRecipes.tabs.variants?.size?.['2xl']?.trigger, textStyle: 'md' },},},variant: {@@ -173,6 +205,15 @@ export const tabsSlotRecipe = defineSlotRecipe({} as unknown as typeof chakraSlotRecipes.tabs.variants,});+/** Buttons keep their stock 2xs styles (renamed sm) for the two smallest steps. */+const BUTTON_BASIS: Record<ControlSize, string> = { ...CONTROL_BASIS, xs: 'sm', sm: 'sm' };++const BUTTON_SIZE_TWEAKS: Partial<Record<ControlSize, SystemStyleObject>> = {+ xs: { px: '1.5', _icon: { height: '3', width: '3' } },+ lg: { px: '3', textStyle: 'md' },+ xl: { textStyle: 'md' },+};+export const buttonRecipe = defineRecipe({...chakraRecipes.button,base: {@@ -183,13 +224,12 @@ export const buttonRecipe = defineRecipe({},variants: {...chakraRecipes.button.variants,- // Align xs button height with segment tabs.- size: {- ...chakraRecipes.button.variants?.size,- xs: { ...chakraRecipes.button.variants?.size?.xs, h: '7', minW: '7' },- sm: { ...chakraRecipes.button.variants?.size?.sm, h: '8', minW: '8', px: '3', textStyle: 'xs' },- md: { ...chakraRecipes.button.variants?.size?.md, h: '9', minW: '9', textStyle: 'xs' },- },+ // Heights come from the shared scale, so a button aligns with same-sized inputs, selects, and segment tabs.+ size: controlSizes<SystemStyleObject>(+ chakraRecipes.button.variants?.size,+ (styles, height, size) => ({ ...styles, h: height, minW: height, ...BUTTON_SIZE_TWEAKS[size] }),+ BUTTON_BASIS+ ),variant: {...chakraRecipes.button.variants?.variant,// Use translucent hover tint because solid subtle fills disappear on matching surfaces.@@ -219,6 +259,19 @@ export const buttonRecipe = defineRecipe({} as unknown as typeof chakraRecipes.button.variants,});+/**+ * Stock segment groups skip xl; the larger steps take the renamed stock 2xl and 3xl. Those two now subtract the root+ * border like every other step (stock did not), so they are 2px shorter than stock but align with same-sized buttons.+ */+const SEGMENT_BASIS: Record<ControlSize, string> = { ...CONTROL_BASIS, xl: 'lg', '2xl': '2xl' };++const SEGMENT_SIZE_TWEAKS: Partial<Record<ControlSize, SystemStyleObject>> = {+ xs: { px: '1.5' },+ sm: { px: '2' },+ md: { px: '2.5' },+ lg: { px: '3.5', textStyle: 'md' },+};+export const segmentGroupSlotRecipe = defineSlotRecipe({...chakraSlotRecipes.segmentGroup,base: {@@ -266,37 +319,17 @@ export const segmentGroupSlotRecipe = defineSlotRecipe({variants: {...chakraSlotRecipes.segmentGroup.variants,// Subtract root borders from same-size button heights so segment controls align with neighboring buttons.- size: {- ...chakraSlotRecipes.segmentGroup.variants?.size,- // Chakra has no 2xs segment group; derive it from xs styles.- '2xs': {- item: {- ...chakraSlotRecipes.segmentGroup.variants?.size?.xs?.item,- height: 'calc({sizes.6} - 2px)',- px: '2',- textStyle: 'xs',- },- },- xs: {- item: {- ...chakraSlotRecipes.segmentGroup.variants?.size?.xs?.item,- height: 'calc({sizes.7} - 2px)',- px: '2.5',- },- },- sm: {- item: {- ...chakraSlotRecipes.segmentGroup.variants?.size?.sm?.item,- height: 'calc({sizes.8} - 2px)',- px: '3.5',- textStyle: 'xs',- },- },- },+ size: controlSizes<SlotStyles>(+ chakraSlotRecipes.segmentGroup.variants?.size,+ (styles, height, size) => ({+ item: { ...styles?.item, height: `calc(${height} - 2px)`, ...SEGMENT_SIZE_TWEAKS[size] },+ }),+ SEGMENT_BASIS+ ),} as unknown as typeof chakraSlotRecipes.segmentGroup.variants,defaultVariants: {...chakraSlotRecipes.segmentGroup.defaultVariants,- size: 'xs',+ size: 'md',},});@@ -361,13 +394,10 @@ export const inputRecipe = defineRecipe({...chakraRecipes.input,variants: {...chakraRecipes.input.variants,- // Keep same-named input, select, combobox, and button sizes aligned.- size: {- ...chakraRecipes.input.variants?.size,- xs: { ...chakraRecipes.input.variants?.size?.xs, '--input-height': 'sizes.7' },- sm: { ...chakraRecipes.input.variants?.size?.sm, '--input-height': 'sizes.8' },- md: { ...chakraRecipes.input.variants?.size?.md, '--input-height': 'sizes.9' },- },+ size: controlSizes<SystemStyleObject>(chakraRecipes.input.variants?.size, (styles, height) => ({+ ...styles,+ '--input-height': height,+ })),variant: {...chakraRecipes.input.variants?.variant,outline: { ...chakraRecipes.input.variants?.variant?.outline, ...formControlNoFocusRing },@@ -400,21 +430,10 @@ export const numberInputSlotRecipe = defineSlotRecipe({...chakraSlotRecipes.numberInput,variants: {...chakraSlotRecipes.numberInput.variants,- size: {- ...chakraSlotRecipes.numberInput.variants?.size,- xs: {- ...chakraSlotRecipes.numberInput.variants?.size?.xs,- input: { ...chakraSlotRecipes.numberInput.variants?.size?.xs?.input, '--input-height': 'sizes.7' },- },- sm: {- ...chakraSlotRecipes.numberInput.variants?.size?.sm,- input: { ...chakraSlotRecipes.numberInput.variants?.size?.sm?.input, '--input-height': 'sizes.8' },- },- md: {- ...chakraSlotRecipes.numberInput.variants?.size?.md,- input: { ...chakraSlotRecipes.numberInput.variants?.size?.md?.input, '--input-height': 'sizes.9' },- },- },+ size: controlSizes<SlotStyles>(chakraSlotRecipes.numberInput.variants?.size, (styles, height) => ({+ ...styles,+ input: { ...styles?.input, '--input-height': height },+ })),variant: {...chakraSlotRecipes.numberInput.variants?.variant,outline: {@@ -470,7 +489,7 @@ export const dropdownItem = {export const dropdownGroupLabel = {color: 'fg.subtle',- fontSize: '2xs',+ fontSize: 'xs',fontWeight: '600',letterSpacing: '0.02em',lineHeight: 'shorter',@@ -501,7 +520,7 @@ export const menuSlotRecipe = defineSlotRecipe({},defaultVariants: {...chakraSlotRecipes.menu.defaultVariants,- size: 'sm',+ size: 'md',},});@@ -511,21 +530,10 @@ export const selectSlotRecipe = defineSlotRecipe({// in the cast.variants: {...chakraSlotRecipes.select.variants,- size: {- ...chakraSlotRecipes.select.variants?.size,- xs: {- ...chakraSlotRecipes.select.variants?.size?.xs,- root: { ...chakraSlotRecipes.select.variants?.size?.xs?.root, '--select-trigger-height': 'sizes.7' },- },- sm: {- ...chakraSlotRecipes.select.variants?.size?.sm,- root: { ...chakraSlotRecipes.select.variants?.size?.sm?.root, '--select-trigger-height': 'sizes.8' },- },- md: {- ...chakraSlotRecipes.select.variants?.size?.md,- root: { ...chakraSlotRecipes.select.variants?.size?.md?.root, '--select-trigger-height': 'sizes.9' },- },- },+ size: controlSizes<SlotStyles>(chakraSlotRecipes.select.variants?.size, (styles, height) => ({+ ...styles,+ root: { ...styles?.root, '--select-trigger-height': height },+ })),variant: {...chakraSlotRecipes.select.variants?.variant,outline: {@@ -571,21 +579,10 @@ export const comboboxSlotRecipe = defineSlotRecipe({...chakraSlotRecipes.combobox,variants: {...chakraSlotRecipes.combobox.variants,- size: {- ...chakraSlotRecipes.combobox.variants?.size,- xs: {- ...chakraSlotRecipes.combobox.variants?.size?.xs,- root: { ...chakraSlotRecipes.combobox.variants?.size?.xs?.root, '--combobox-input-height': 'sizes.7' },- },- sm: {- ...chakraSlotRecipes.combobox.variants?.size?.sm,- root: { ...chakraSlotRecipes.combobox.variants?.size?.sm?.root, '--combobox-input-height': 'sizes.8' },- },- md: {- ...chakraSlotRecipes.combobox.variants?.size?.md,- root: { ...chakraSlotRecipes.combobox.variants?.size?.md?.root, '--combobox-input-height': 'sizes.9' },- },- },+ size: controlSizes<SlotStyles>(chakraSlotRecipes.combobox.variants?.size, (styles, height) => ({+ ...styles,+ root: { ...styles?.root, '--combobox-input-height': height },+ })),variant: {...chakraSlotRecipes.combobox.variants?.variant,outline: {@@ -668,12 +665,12 @@ export const dialogSlotRecipe = defineSlotRecipe({title: {...chakraSlotRecipes.dialog.base?.title,fontWeight: '700',- textStyle: 'xs',+ textStyle: 'md',},description: {...chakraSlotRecipes.dialog.base?.description,color: 'fg.subtle',- textStyle: 'xs',+ textStyle: 'md',},closeTrigger: {...chakraSlotRecipes.dialog.base?.closeTrigger,@@ -718,23 +715,23 @@ export const sliderSlotRecipe = defineSlotRecipe({size: {// Fine pointers use smaller thumbs. Update marker center with thumb size and zero marker inset because Zag// already applies half-thumb offsets.- lg: {+ xl: {root: {- ...chakraSlotRecipes.slider.variants?.size?.lg?.root,+ ...chakraSlotRecipes.slider.variants?.size?.xl?.root,'--slider-marker-inset': '0px','@media (pointer: fine)': { '--slider-marker-center': '4px', '--slider-thumb-size': 'sizes.3.5' },},},- md: {+ lg: {root: {- ...chakraSlotRecipes.slider.variants?.size?.md?.root,+ ...chakraSlotRecipes.slider.variants?.size?.lg?.root,'--slider-marker-inset': '0px','@media (pointer: fine)': { '--slider-marker-center': '4px', '--slider-thumb-size': 'sizes.3' },},},- sm: {+ md: {root: {- ...chakraSlotRecipes.slider.variants?.size?.sm?.root,+ ...chakraSlotRecipes.slider.variants?.size?.md?.root,'--slider-marker-inset': '0px','@media (pointer: fine)': { '--slider-marker-center': '3px', '--slider-thumb-size': 'sizes.2.5' },},@@ -749,22 +746,22 @@ export const progressCircleSlotRecipe = defineSlotRecipe({...chakraSlotRecipes.progressCircle.variants,size: {...chakraSlotRecipes.progressCircle.variants?.size,- '2xs': {+ sm: {circle: {'--size': '16px','--thickness': '3px',},valueText: {- textStyle: '2xs',+ textStyle: 'xs',},},- '3xs': {+ xs: {circle: {'--size': '14px','--thickness': '2px',},valueText: {- textStyle: '2xs',+ textStyle: 'xs',},},},@@ -829,7 +826,7 @@ export const colorPickerSlotRecipe = defineSlotRecipe({channelText: {...chakraSlotRecipes.colorPicker.base?.channelText,color: 'fg.subtle',- textStyle: '2xs',+ textStyle: 'xs',},transparencyGrid: {...chakraSlotRecipes.colorPicker.base?.transparencyGrid,@@ -838,7 +835,7 @@ export const colorPickerSlotRecipe = defineSlotRecipe({},defaultVariants: {...chakraSlotRecipes.colorPicker.defaultVariants,- size: 'xs',+ size: 'lg',},});@@ -1011,7 +1008,7 @@ export const listItemSlotRecipe = defineSlotRecipe({minW: 0,},title: {- fontSize: 'xs',+ fontSize: 'md',fontWeight: '600',lineHeight: 'shorter',},@@ -1023,7 +1020,7 @@ export const listItemSlotRecipe = defineSlotRecipe({},description: {color: 'fg.muted',- fontSize: '2xs',+ fontSize: 'xs',lineHeight: 'shorter',minW: 0,},@@ -1032,7 +1029,7 @@ export const listItemSlotRecipe = defineSlotRecipe({color: 'fg.muted',display: 'flex',flexShrink: 0,- fontSize: '2xs',+ fontSize: 'xs',gap: '1.5',},// Controls beside the primary button, never inside it.@@ -1094,7 +1091,7 @@ export const listSectionHeaderSlotRecipe = defineSlotRecipe({},label: {color: 'fg.muted',- fontSize: '2xs',+ fontSize: 'xs',fontWeight: '700',letterSpacing: '0.04em',lineHeight: 'shorter',@@ -1107,7 +1104,7 @@ export const listSectionHeaderSlotRecipe = defineSlotRecipe({count: {color: 'fg.muted',flexShrink: 0,- fontSize: '2xs',+ fontSize: 'xs',fontVariantNumeric: 'tabular-nums',lineHeight: 'shorter',},@@ -1120,7 +1117,7 @@ export const chipRecipe = defineRecipe({borderRadius: 'sm',display: 'inline-flex',flexShrink: '0',- fontSize: '2xs',+ fontSize: 'xs',fontWeight: '500',gap: '1.5',px: '2',@@ -1143,7 +1140,7 @@ export const chipRecipe = defineRecipe({export const fieldLabelRecipe = defineRecipe({base: {color: 'fg.muted',- fontSize: '2xs',+ fontSize: 'xs',fontWeight: '600',letterSpacing: '0.03em',},@@ -1188,8 +1185,8 @@ export const themeCardRecipe = defineSlotRecipe({flexDirection: 'column',gap: '0.5',},- name: { color: 'fg', fontSize: 'sm', fontWeight: '600' },- description: { color: 'fg.muted', fontSize: '2xs', lineHeight: '1.3' },+ name: { color: 'fg', fontSize: 'lg', fontWeight: '600' },+ description: { color: 'fg.muted', fontSize: 'xs', lineHeight: '1.3' },indicator: {alignItems: 'center',borderRadius: 'full',diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/scale.ts b/invokeai/frontend/webv2/src/platform/ui/theme/scale.tsnew file mode 100644index 0000000000..840cbc1f08--- /dev/null+++ b/invokeai/frontend/webv2/src/platform/ui/theme/scale.ts@@ -0,0 +1,32 @@+/**+ * The workbench's size scales. `md` is the working size: a control or text that names no size renders dense enough+ * for the workbench, smaller names are for tight inline spots, and larger ones for roomier surfaces.+ */++/** Control heights in px; button, input, select, and segment-group sizes of the same name align. */+export const CONTROL_HEIGHT_PX = { xs: 20, sm: 24, md: 28, lg: 32, xl: 36, '2xl': 40, '3xl': 44 } as const;++export type ControlSize = keyof typeof CONTROL_HEIGHT_PX;++interface TypeStep {+ fontSize: string;+ letterSpacing?: string;+ lineHeight: string;+}++/** Font size and line height per text style; `md` (12px) is body text. */+export const TYPE_SCALE = {+ xs: { fontSize: '0.625rem', lineHeight: '0.75rem' },+ sm: { fontSize: '0.6875rem', lineHeight: '0.875rem' },+ md: { fontSize: '0.75rem', lineHeight: '1rem' },+ lg: { fontSize: '0.875rem', lineHeight: '1.25rem' },+ xl: { fontSize: '1rem', lineHeight: '1.5rem' },+ '2xl': { fontSize: '1.125rem', lineHeight: '1.75rem' },+ '3xl': { fontSize: '1.25rem', lineHeight: '1.875rem' },+ '4xl': { fontSize: '1.5rem', lineHeight: '2rem' },+ '5xl': { fontSize: '1.875rem', lineHeight: '2.375rem' },+ '6xl': { fontSize: '2.25rem', letterSpacing: '-0.025em', lineHeight: '2.75rem' },+ '7xl': { fontSize: '3rem', letterSpacing: '-0.025em', lineHeight: '3.75rem' },+ '8xl': { fontSize: '3.75rem', letterSpacing: '-0.025em', lineHeight: '4.5rem' },+ '9xl': { fontSize: '4.5rem', letterSpacing: '-0.025em', lineHeight: '5.75rem' },+} as const satisfies Record<string, TypeStep>;diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/system.test.ts b/invokeai/frontend/webv2/src/platform/ui/theme/system.test.tsindex 4ec45df27e..02ebf658a7 100644--- a/invokeai/frontend/webv2/src/platform/ui/theme/system.test.ts+++ b/invokeai/frontend/webv2/src/platform/ui/theme/system.test.ts@@ -124,7 +124,7 @@ describe('high contrast conditions', () => {describe('native Chakra integration', () => {it('adds an icon-sized progress circle variant', () => {- expect(progressCircleSlotRecipe.variants?.size?.['2xs']).toMatchObject({+ expect(progressCircleSlotRecipe.variants?.size?.sm).toMatchObject({circle: { '--size': '16px', '--thickness': '3px' },});});diff --git a/invokeai/frontend/webv2/src/platform/ui/theme/system.ts b/invokeai/frontend/webv2/src/platform/ui/theme/system.tsindex 474bd38a50..866f03ee9d 100644--- a/invokeai/frontend/webv2/src/platform/ui/theme/system.ts+++ b/invokeai/frontend/webv2/src/platform/ui/theme/system.ts@@ -1,5 +1,6 @@-import { createSystem, defaultConfig, defineConfig } from '@chakra-ui/react';+import { createSystem, defineConfig } from '@chakra-ui/react';+import { baseConfig } from './rebase';import {buttonRecipe,colorPickerSlotRecipe,@@ -22,6 +23,7 @@ import {textareaRecipe,tooltipSlotRecipe,} from './recipes';+import { CONTROL_HEIGHT_PX } from './scale';import { DEFAULT_THEME, DEFAULT_THEME_ID, type NeutralStep, THEMES, type ThemeDefinition } from './themes';/**@@ -339,6 +341,11 @@ const config = defineConfig({radii: {control: { value: '0.3125rem' },},+ sizes: {+ control: Object.fromEntries(+ Object.entries(CONTROL_HEIGHT_PX).map(([size, px]) => [size, { value: `${px / 16}rem` }])+ ),+ },fonts: {body: {value: "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",@@ -393,7 +400,7 @@ const config = defineConfig({},});-export const system = createSystem(defaultConfig, config);+export const system = createSystem(baseConfig, config);/** Theme metadata re-exported so UI can import a single module. */export { THEMES, THEMES_BY_ID, DEFAULT_THEME, DEFAULT_THEME_ID, previewSwatches } from './themes';diff --git a/invokeai/frontend/webv2/src/platform/ui/wheelScrollsHorizontally.browser.test.tsx b/invokeai/frontend/webv2/src/platform/ui/wheelScrollsHorizontally.browser.test.tsxindex 2fefcd6890..025c08089f 100644--- a/invokeai/frontend/webv2/src/platform/ui/wheelScrollsHorizontally.browser.test.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/wheelScrollsHorizontally.browser.test.tsx@@ -65,7 +65,7 @@ describe('wheelScrollsHorizontally', () => {await act(() =>root!.render(<ChakraProvider value={system}>- <ScrollArea.Root size="xs" w="200px">+ <ScrollArea.Root size="md" w="200px"><ScrollArea.Viewport ref={wheelScrollsHorizontally} data-testid="viewport"><ScrollArea.Content><div style={{ height: 20, width: 1000 }} />diff --git a/invokeai/frontend/webv2/src/workbench/components/QueueProgressIndicator.tsx b/invokeai/frontend/webv2/src/workbench/components/QueueProgressIndicator.tsxindex 9ad117e003..70b48f2777 100644--- a/invokeai/frontend/webv2/src/workbench/components/QueueProgressIndicator.tsx+++ b/invokeai/frontend/webv2/src/workbench/components/QueueProgressIndicator.tsx@@ -7,14 +7,12 @@ const getProgressValuePercent = (state: QueueProgressBarState): number | null =>state.kind === 'determinate' ? state.value * 100 : state.value;type ProgressCircleRootProps = ComponentProps<typeof ProgressCircle.Root>;-type QueueCircularProgressSize = NonNullable<ProgressCircleRootProps['size']> | '2xs';export const QueueCircularProgress = ({- size = '2xs',+ size = 'sm',state,...props-}: Omit<ProgressCircleRootProps, 'size' | 'value'> & {- size?: QueueCircularProgressSize;+}: Omit<ProgressCircleRootProps, 'value'> & {state: QueueProgressBarState;}) => {if (state.kind === 'idle') {@@ -26,7 +24,7 @@ export const QueueCircularProgress = ({aria-label="Project queue progress"colorPalette="accent"flexShrink="0"- size={size as ProgressCircleRootProps['size']}+ size={size}value={getProgressValuePercent(state)}{...props}>diff --git a/invokeai/frontend/webv2/src/workbench/components/WorkbenchSplashScreen.tsx b/invokeai/frontend/webv2/src/workbench/components/WorkbenchSplashScreen.tsxindex 3a48620942..6a2770f3f4 100644--- a/invokeai/frontend/webv2/src/workbench/components/WorkbenchSplashScreen.tsx+++ b/invokeai/frontend/webv2/src/workbench/components/WorkbenchSplashScreen.tsx@@ -27,16 +27,16 @@ export const WorkbenchSplashScreen = ({ messageKey = 'splash.loadingWorkspace' }<InvokeMark size={164} /></Box><VStack align="start" flex="1" minH="full" minW="80" textAlign="start" py="2">- <Heading size="2xl">{t('app.nameWithVersion', { name: t('app.name'), version: APP_VERSION })}</Heading>- <Text fontSize="md">{t('splash.tagline')}</Text>- <Text fontSize="xs">{t('splash.artworkBy', { artist: 'Jonathan Pollack' })}</Text>+ <Heading size="4xl">{t('app.nameWithVersion', { name: t('app.name'), version: APP_VERSION })}</Heading>+ <Text fontSize="xl">{t('splash.tagline')}</Text>+ <Text fontSize="md">{t('splash.artworkBy', { artist: 'Jonathan Pollack' })}</Text><Flex alignItems="center" gap="2" mt="auto">- <Spinner size="xs" />- <Text fontSize="xs" flex="1">+ <Spinner size="md" />+ <Text fontSize="md" flex="1">{t(messageKey)}</Text></Flex>- <Text fontSize="2xs" mt="auto" fontFamily="mono">+ <Text fontSize="xs" mt="auto" fontFamily="mono">{t('splash.copyright', { year: new Date().getFullYear() })}</Text></VStack>diff --git a/invokeai/frontend/webv2/src/workbench/components/WorkbenchUnavailableScreen.tsx b/invokeai/frontend/webv2/src/workbench/components/WorkbenchUnavailableScreen.tsxindex 0ae3b38812..f0857c2da5 100644--- a/invokeai/frontend/webv2/src/workbench/components/WorkbenchUnavailableScreen.tsx+++ b/invokeai/frontend/webv2/src/workbench/components/WorkbenchUnavailableScreen.tsx@@ -102,7 +102,7 @@ export const WorkbenchUnavailableScreen = ({<Box borderColor="border.subtle" borderRadius="xl" borderWidth="1px" maxW="2xl" p="6" shadow="sm" w="full"><Stack gap="5"><Stack gap="2">- <Heading size="xl">{t('shell.backendUnavailable.title')}</Heading>+ <Heading size="3xl">{t('shell.backendUnavailable.title')}</Heading><Text color="fg.muted">{t('shell.backendUnavailable.description')}</Text></Stack><Alert.Root status="error" variant="surface">@@ -116,7 +116,7 @@ export const WorkbenchUnavailableScreen = ({{t('shell.backendUnavailable.retry')}</Button><Stack gap="3">- <Heading size="md">{t('shell.backendUnavailable.draftsTitle')}</Heading>+ <Heading size="xl">{t('shell.backendUnavailable.draftsTitle')}</Heading>{draftError ? (<Alert.Root status="error" variant="surface"><Alert.Indicator />@@ -127,7 +127,7 @@ export const WorkbenchUnavailableScreen = ({) : null}{drafts === null ? (<HStack color="fg.muted">- <Spinner size="xs" />+ <Spinner size="md" /><Text>{t('shell.backendUnavailable.loadingDrafts')}</Text></HStack>) : drafts === 'unavailable' ? (@@ -145,7 +145,7 @@ export const WorkbenchUnavailableScreen = ({)))}{nextCursor ? (- <Button alignSelf="start" loading={isLoadingMore} onClick={handleLoadMore} size="sm" variant="ghost">+ <Button alignSelf="start" loading={isLoadingMore} onClick={handleLoadMore} size="lg" variant="ghost">{t('shell.backendUnavailable.loadMore')}</Button>) : null}@@ -174,11 +174,11 @@ const RecoverableDraftRow = ({<Text fontWeight="semibold" truncate>{draft.projectId}</Text>- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{new Date(draft.updatedAt).toLocaleString()}</Text></Stack>- <Button loading={isExporting} onClick={handleExport} size="sm" variant="outline">+ <Button loading={isExporting} onClick={handleExport} size="lg" variant="outline">{t('shell.backendUnavailable.exportDraft')}</Button></HStack>diff --git a/invokeai/frontend/webv2/src/workbench/diagnostics/DiagnosticsPanel.tsx b/invokeai/frontend/webv2/src/workbench/diagnostics/DiagnosticsPanel.tsxindex 03e0348826..81b6d82ba8 100644--- a/invokeai/frontend/webv2/src/workbench/diagnostics/DiagnosticsPanel.tsx+++ b/invokeai/frontend/webv2/src/workbench/diagnostics/DiagnosticsPanel.tsx@@ -293,7 +293,7 @@ export const DiagnosticsPanel = ({ projectId }: { projectId: string | null }) =>flex="1 1 13rem"minW="0"positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={scopeValue}valueText={currentScopeLabel}onValueChange={changeScope}@@ -304,7 +304,7 @@ export const DiagnosticsPanel = ({ projectId }: { projectId: string | null }) =>flex="1 1 9rem"minW="0"positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={severityValue}valueText={severityCollection.items.find((item) => item.value === filters.severity)?.label}onValueChange={changeSeverity}@@ -315,7 +315,7 @@ export const DiagnosticsPanel = ({ projectId }: { projectId: string | null }) =>flex="1 1 9rem"minW="0"positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={namespaceValue}valueText={namespaceCollection.items.find((item) => item.value === filters.namespace)?.label}onValueChange={changeNamespace}@@ -324,7 +324,7 @@ export const DiagnosticsPanel = ({ projectId }: { projectId: string | null }) =><Inputaria-label={t('widgets.diagnostics.search')}placeholder={t('widgets.diagnostics.search')}- size="xs"+ size="md"value={filters.query}onChange={changeQuery}/>@@ -333,13 +333,13 @@ export const DiagnosticsPanel = ({ projectId }: { projectId: string | null }) =><RecordingStatus config={config} snapshot={snapshot} /><HStack flexWrap="wrap" gap="2" justify="space-between"><HStack flexWrap="wrap" gap="2">- <Button disabled={matched.length === 0} size="2xs" variant="outline" onClick={copyFiltered}>+ <Button disabled={matched.length === 0} size="sm" variant="outline" onClick={copyFiltered}>{t('widgets.diagnostics.copyFiltered', { count: matched.length })}</Button>- <Button disabled={matched.length === 0} size="2xs" variant="outline" onClick={downloadFiltered}>+ <Button disabled={matched.length === 0} size="sm" variant="outline" onClick={downloadFiltered}>{t('widgets.diagnostics.downloadFiltered', { count: matched.length })}</Button>- <Button disabled={scopedCount === 0} size="2xs" variant="outline" onClick={clearScope}>+ <Button disabled={scopedCount === 0} size="sm" variant="outline" onClick={clearScope}>{t('widgets.diagnostics.clearScope', { scope: currentScopeLabel })}</Button></HStack>@@ -349,21 +349,21 @@ export const DiagnosticsPanel = ({ projectId }: { projectId: string | null }) =><IconButtonaria-label={t('common.previousPage')}disabled={page <= 1}- size="2xs"+ size="sm"variant="ghost"onClick={previousPage}><ChevronLeftIcon /></IconButton></Tooltip>- <Text color="fg.muted" fontSize="2xs" role="status">+ <Text color="fg.muted" fontSize="xs" role="status">{t('widgets.diagnostics.page', { page, total: pageCount })}</Text><Tooltip content={t('common.nextPage')}><IconButtonaria-label={t('common.nextPage')}disabled={page >= pageCount}- size="2xs"+ size="sm"variant="ghost"onClick={nextPage}>@@ -377,27 +377,27 @@ export const DiagnosticsPanel = ({ projectId }: { projectId: string | null }) =><Stack gap="2" py="4">{!config.enabled && scopedCount === 0 ? (<>- <Text color="fg" fontSize="xs" fontWeight="600" role="status">+ <Text color="fg" fontSize="md" fontWeight="600" role="status">{t('widgets.diagnostics.recordingOff')}</Text>- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('widgets.diagnostics.recordingOffHint')}</Text>- <Button alignSelf="start" size="2xs" variant="outline" onClick={openDeveloperSettings}>+ <Button alignSelf="start" size="sm" variant="outline" onClick={openDeveloperSettings}>{t('widgets.diagnostics.openDeveloperSettings')}</Button></>) : scopedCount === 0 ? (- <Text color="fg.muted" fontSize="2xs" role="status">+ <Text color="fg.muted" fontSize="xs" role="status">{t('widgets.diagnostics.emptyScope')}</Text>) : (<>- <Text color="fg.muted" fontSize="2xs" role="status">+ <Text color="fg.muted" fontSize="xs" role="status">{t('widgets.diagnostics.noMatches')}</Text>{hasFilters ? (- <Button alignSelf="start" size="2xs" variant="outline" onClick={clearFilters}>+ <Button alignSelf="start" size="sm" variant="outline" onClick={clearFilters}>{t('widgets.diagnostics.clearFilters')}</Button>) : null}@@ -425,7 +425,7 @@ const RecordingStatus = ({ config, snapshot }: { config: LoggingConfig; snapshotreturn (<HStack flexWrap="wrap" gap="1.5">{config.enabled ? (- <Badge colorPalette="green" size="xs">+ <Badge colorPalette="green" size="md">{t('widgets.diagnostics.recordingStatus', {count: config.namespaces.length,level: t(`settings.catalog.options.${config.level}`),@@ -433,21 +433,21 @@ const RecordingStatus = ({ config, snapshot }: { config: LoggingConfig; snapshot})}</Badge>) : (- <Badge colorPalette="gray" size="xs">+ <Badge colorPalette="gray" size="md">{t('widgets.diagnostics.recordingOff')}</Badge>)}{config.performanceTimingsEnabled ? (- <Badge colorPalette="purple" size="xs">+ <Badge colorPalette="purple" size="md">{t('widgets.diagnostics.timingsOn')}</Badge>) : null}{config.consoleOutputEnabled ? (- <Badge colorPalette="blue" size="xs">+ <Badge colorPalette="blue" size="md">{t('widgets.diagnostics.consoleOn')}</Badge>) : null}- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('widgets.diagnostics.retention', {problemLimit: retention.problems.limit,problems: retention.problems.count,@@ -458,12 +458,12 @@ const RecordingStatus = ({ config, snapshot }: { config: LoggingConfig; snapshot})}</Text>{evicted > 0 ? (- <Badge colorPalette="orange" size="xs">+ <Badge colorPalette="orange" size="md">{t('widgets.diagnostics.evicted', { count: evicted })}</Badge>) : null}{truncatedCount > 0 ? (- <Badge colorPalette="orange" size="xs">+ <Badge colorPalette="orange" size="md">{t('widgets.diagnostics.truncated', { count: truncatedCount })}</Badge>) : null}@@ -488,36 +488,36 @@ const DiagnosticsEntryRow = memo(({ entry, showProject }: { entry: LogEntry; sho<HStack align="start" gap="2" justify="space-between"><Stack flex="1" gap="1" minW="0"><HStack flexWrap="wrap" gap="1.5">- <Badge colorPalette={LEVEL_COLOR_PALETTE[entry.level]} size="xs">+ <Badge colorPalette={LEVEL_COLOR_PALETTE[entry.level]} size="md">{t(`settings.catalog.options.${entry.level}`)}</Badge>{entry.durationMs !== undefined ? (- <Badge colorPalette="purple" size="xs">+ <Badge colorPalette="purple" size="md">{entry.durationMs.toFixed(1)}ms</Badge>) : null}{entry.truncated ? (- <Badge colorPalette="orange" size="xs">+ <Badge colorPalette="orange" size="md">{t('widgets.diagnostics.entryTruncated')}</Badge>) : null}- <Text color="fg.muted" fontFamily="mono" fontSize="2xs" minW="0" wordBreak="break-all">+ <Text color="fg.muted" fontFamily="mono" fontSize="xs" minW="0" wordBreak="break-all">{formatSource(entry, showProject)}</Text></HStack>- <Text color="fg" fontSize="xs" fontWeight="600" wordBreak="break-word">+ <Text color="fg" fontSize="md" fontWeight="600" wordBreak="break-word">{entry.message || entry.name}</Text>{entry.error ? (- <Text color="fg.muted" fontFamily="mono" fontSize="2xs" wordBreak="break-word">+ <Text color="fg.muted" fontFamily="mono" fontSize="xs" wordBreak="break-word">{entry.error.name}: {entry.error.message}</Text>) : null}- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{new Date(entry.createdAt).toLocaleTimeString()} · {entry.name}</Text></Stack>- <Button aria-expanded={isExpanded} flexShrink="0" size="2xs" variant="ghost" onClick={toggle}>+ <Button aria-expanded={isExpanded} flexShrink="0" size="sm" variant="ghost" onClick={toggle}>{isExpanded ? t('widgets.diagnostics.hideDetails') : t('widgets.diagnostics.details')}</Button></HStack>diff --git a/invokeai/frontend/webv2/src/workbench/image-actions/ImageContextMenu.tsx b/invokeai/frontend/webv2/src/workbench/image-actions/ImageContextMenu.tsxindex 95888ff599..62672930f3 100644--- a/invokeai/frontend/webv2/src/workbench/image-actions/ImageContextMenu.tsx+++ b/invokeai/frontend/webv2/src/workbench/image-actions/ImageContextMenu.tsx@@ -546,7 +546,7 @@ const BulkItemMenuItems = ({return (<>- <Text color="fg.subtle" fontSize="2xs" fontWeight="700" px="3" py="1.5" textTransform="uppercase">+ <Text color="fg.subtle" fontSize="xs" fontWeight="700" px="3" py="1.5" textTransform="uppercase">{itemRefs.length} items selected</Text><Menu.Separator borderColor="border.subtle" />@@ -947,7 +947,7 @@ const BulkMenuItems = ({return (<>- <Text color="fg.subtle" fontSize="2xs" fontWeight="700" px="3" py="1.5" textTransform="uppercase">+ <Text color="fg.subtle" fontSize="xs" fontWeight="700" px="3" py="1.5" textTransform="uppercase">{images.length} images selected</Text><Menu.Separator borderColor="border.subtle" />@@ -1093,7 +1093,7 @@ const ChangeBoardMenuItem = ({ board, onMove }: { board: GalleryBoard; onMove: (return (<Menu.Item value={`move-to-${board.id}`} onClick={handleClick}>- <MiddleTruncate fontSize="xs" minW="0" text={board.name} />+ <MiddleTruncate fontSize="md" minW="0" text={board.name} /></Menu.Item>);};@@ -1113,7 +1113,7 @@ const ContextSubMenu = ({<Menu.TriggerItem><HStack gap="2" minW="0" w="full"><Icon as={icon} boxSize="3.5" color="fg.subtle" flexShrink={0} />- <Text flex="1" fontSize="xs">+ <Text flex="1" fontSize="md">{label}</Text><Icon as={ChevronRightIcon} boxSize="3" color="fg.subtle" flexShrink={0} />@@ -1123,7 +1123,7 @@ const ContextSubMenu = ({<Menu.Positioner><MenuContent {...MENU_CONTENT_PROPS} maxH="18rem" overflowY={scrollArea ? undefined : 'auto'}>{scrollArea ? (- <ScrollArea.Root maxH="inherit" size="xs" variant="hover" w="full">+ <ScrollArea.Root maxH="inherit" size="md" variant="hover" w="full"><ScrollArea.Viewport maxH="inherit" w="full"><ScrollArea.Content>{children}</ScrollArea.Content></ScrollArea.Viewport>@@ -1161,7 +1161,7 @@ const ContextMenuItem = ({<Menu.Item data-danger={isDanger ? '' : undefined} disabled={disabled} value={value} onClick={onClick}><HStack gap="2" minW="0" w="full"><Icon as={icon} boxSize="3.5" color={isDanger ? undefined : 'fg.subtle'} fill={iconFill} flexShrink={0} />- <Text flex="1" fontSize="xs">+ <Text flex="1" fontSize="md">{label}</Text></HStack>diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/HelpMenu.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/HelpMenu.tsxindex 7f01c2b21d..71039874d5 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/HelpMenu.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/HelpMenu.tsx@@ -9,7 +9,7 @@ import { BookOpenTextIcon, ChevronRightIcon, ClapperboardIcon, CircleQuestionMarimport { useTranslation } from 'react-i18next';const MENU_POSITIONING = { placement: 'right-end' } as const;-const GROUP_LABEL_PROPS = { color: 'fg.subtle', fontSize: '2xs', textTransform: 'uppercase' } as const;+const GROUP_LABEL_PROPS = { color: 'fg.subtle', fontSize: 'xs', textTransform: 'uppercase' } as const;const TRIGGER_JUSTIFY = { justifyContent: 'space-between' } as const;interface HelpLink {@@ -73,7 +73,7 @@ export const HelpMenu = () => {aria-label={t('launchpad.help.label')}color="fg.muted"css={TRIGGER_JUSTIFY}- size="xs"+ size="md"variant="ghost"w="full">@@ -102,10 +102,10 @@ export const HelpMenu = () => {</Menu.ItemGroup><Menu.Separator /><HStack justify="space-between" px="3" py="1.5">- <Text fontSize="2xs" fontWeight="700">+ <Text fontSize="xs" fontWeight="700">Invoke</Text>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('launchpad.help.version', { version: APP_VERSION })}</Text></HStack>diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/KnownBrowserIssuesAlert.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/KnownBrowserIssuesAlert.tsxindex fc152efef9..58a7ebe8cb 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/KnownBrowserIssuesAlert.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/KnownBrowserIssuesAlert.tsx@@ -30,12 +30,12 @@ const BrowserIssueAlert = ({ issue }: { issue: DetectedBrowserIssue }) => {const { t } = useTranslation();return (- <Alert.Root borderRadius="md" role="alert" size="sm" status={issue.severity} variant="surface">+ <Alert.Root borderRadius="md" role="alert" size="md" status={issue.severity} variant="surface"><Alert.Indicator alignSelf="start" mt="0.5" /><Alert.Content gap="2" minW="0"><Stack gap="0.5">- <Alert.Title fontSize="sm">{t(issue.titleKey)}</Alert.Title>- <Alert.Description fontSize="xs">{t(issue.descriptionKey)}</Alert.Description>+ <Alert.Title fontSize="lg">{t(issue.titleKey)}</Alert.Title>+ <Alert.Description fontSize="md">{t(issue.descriptionKey)}</Alert.Description></Stack><Stack gap="1.5">{issue.workarounds.map((workaround) => (@@ -52,7 +52,7 @@ const BrowserIssueWorkaround = ({ workaround }: { workaround: KnownBrowserIssueWreturn (<Stack gap="1">- <Text color="fg.muted" fontSize="xs" overflowWrap="anywhere">+ <Text color="fg.muted" fontSize="md" overflowWrap="anywhere">{t(workaround.instructionKey)}</Text>{workaround.copyableValue ? <CopyableBrowserSetting value={workaround.copyableValue} /> : null}@@ -94,13 +94,13 @@ const CopyableBrowserSetting = ({ value }: { value: string }) => {minW="0"p="1">- <Code bg="transparent" fontSize="2xs" minW="0" overflowWrap="anywhere" px="1" whiteSpace="normal">+ <Code bg="transparent" fontSize="xs" minW="0" overflowWrap="anywhere" px="1" whiteSpace="normal">{value}</Code><IconButtonaria-label={t('launchpad.browserIssues.copySetting')}flexShrink={0}- size="2xs"+ size="sm"title={t('launchpad.browserIssues.copySetting')}variant="ghost"onClick={handleCopy}diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/LaunchpadNav.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/LaunchpadNav.tsxindex 98a95bbb0f..3b26fea405 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/LaunchpadNav.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/LaunchpadNav.tsx@@ -42,7 +42,7 @@ const GROUP_LABEL_KEY: Record<Exclude<LaunchpadNavGroupId, 'footer'>, string> =/** Use fg.muted for rail-heading contrast; the menu label's fg.subtle falls below 4.5:1 here. */const GROUP_LABEL_SX: SystemStyleObject = {color: 'fg.muted',- fontSize: '2xs',+ fontSize: 'xs',fontWeight: '600',letterSpacing: '0.02em',pb: '1',@@ -54,7 +54,7 @@ const GROUP_LABEL_SX: SystemStyleObject = {const NAV_SX: SystemStyleObject = { '& > section ~ section': { pt: '2' } };/** Rail entries match the settings dialog's navigation items: ghost buttons, subtle for the current page. */-const NAV_ITEM_PROPS = { justifyContent: 'start', size: 'sm', w: 'full' } as const;+const NAV_ITEM_PROPS = { justifyContent: 'start', size: 'lg', w: 'full' } as const;const NavLink = ({ isActive, item }: { isActive: boolean; item: LaunchpadNavItem }) => (<Button@@ -77,7 +77,7 @@ const WhatsNewButton = () => {const { t } = useTranslation();return (- <Button color="fg.muted" css={WHATS_NEW_JUSTIFY} size="xs" variant="ghost" w="full" onClick={openWhatsNew}>+ <Button color="fg.muted" css={WHATS_NEW_JUSTIFY} size="md" variant="ghost" w="full" onClick={openWhatsNew}><Icon as={LightbulbFilamentIcon} boxSize="3.5" /><Text flex="1" textAlign="start" truncate>{t('whatsNew.whatsNewInInvoke')}diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/LaunchpadTopBar.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/LaunchpadTopBar.tsxindex 791ad8b53f..a0480e2518 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/LaunchpadTopBar.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/LaunchpadTopBar.tsx@@ -22,7 +22,7 @@ const ConnectionChip = () => {}return (- <Badge aria-live="polite" colorPalette={status === 'disconnected' ? 'red' : 'gray'} size="md" variant="subtle">+ <Badge aria-live="polite" colorPalette={status === 'disconnected' ? 'red' : 'gray'} size="xl" variant="subtle"><Box aria-hidden bg="currentColor" boxSize="1.5" rounded="full" />{t(CONNECTION_LABEL_KEY[status])}</Badge>@@ -42,7 +42,7 @@ export const LaunchpadTopBar = () => (><HStack gap="3"><InvokeMark size={20} />- <Text fontSize="sm" fontWeight="700">+ <Text fontSize="lg" fontWeight="700">Invoke</Text></HStack>diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/OpenProjectsControl.browser.test.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/OpenProjectsControl.browser.test.tsxindex 35b26459d7..47ceacf791 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/OpenProjectsControl.browser.test.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/OpenProjectsControl.browser.test.tsx@@ -51,7 +51,7 @@ const renderedOrder = async () => {await act(() =>root.render(<ChakraProvider value={system}>- <OpenProjectsNavSection headingCss={{}} itemProps={{ justifyContent: 'start', size: 'sm', w: 'full' }} />+ <OpenProjectsNavSection headingCss={{}} itemProps={{ justifyContent: 'start', size: 'lg', w: 'full' }} /></ChakraProvider>));diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/OpenProjectsControl.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/OpenProjectsControl.tsxindex 815f7297e3..76420e2ab8 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/OpenProjectsControl.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/OpenProjectsControl.tsx@@ -122,7 +122,7 @@ const OpenProjectEntry = ({<Icon as={FolderOpenIcon} boxSize="3.5" flexShrink={0} /><MiddleTruncate flex="1" minW="0" text={name ?? id} textAlign="start" />{isActive ? (- <Badge flexShrink={0} size="xs" variant="subtle">+ <Badge flexShrink={0} size="md" variant="subtle">{t('launchpad.openProjects.current')}</Badge>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/home/IntentTiles.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/home/IntentTiles.tsxindex c76aa711d7..28a0915499 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/home/IntentTiles.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/home/IntentTiles.tsx@@ -29,10 +29,10 @@ const IntentTile = ({ entry }: { entry: LaunchpadStartEntry }) => {_hover={TILE_HOVER}><Icon as={entry.icon} boxSize="4" color="fg.muted" />- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{t(entry.labelKey)}</Text>- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t(entry.descriptionKey)}</Text></Stack>diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/home/RecentProjectsRow.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/home/RecentProjectsRow.tsxindex b6fa7f3a70..5dc350e7ed 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/home/RecentProjectsRow.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/home/RecentProjectsRow.tsx@@ -27,10 +27,10 @@ export const RecentProjectsRow = ({return (<Flex direction="column" gap="3"><Flex align="center" justify="space-between">- <Text fontSize="xs" fontWeight="700">+ <Text fontSize="md" fontWeight="700">{t('launchpad.home.recentProjects')}</Text>- <Button asChild size="xs" variant="ghost">+ <Button asChild size="md" variant="ghost"><Link to="/projects">{t('launchpad.home.viewAllProjects')}<ArrowRightIcon />diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/home/ResumeCard.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/home/ResumeCard.tsxindex 23f967bb57..0ba752e40f 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/home/ResumeCard.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/home/ResumeCard.tsx@@ -81,25 +81,25 @@ export const ResumeCard = ({</Flex><Flex align="center" flex="1" gap="3" justify="space-between" minW="0" p="4" pointerEvents="none" wrap="wrap"><Stack gap="0.5" minW="0">- <Text color="fg.muted" fontSize="2xs" fontWeight="600" textTransform="uppercase">+ <Text color="fg.muted" fontSize="xs" fontWeight="600" textTransform="uppercase">{t('launchpad.home.resume')}</Text>- <MiddleTruncate fontSize="sm" fontWeight="700" text={summary.name} />- <Text color="fg.muted" fontSize="2xs">+ <MiddleTruncate fontSize="lg" fontWeight="700" text={summary.name} />+ <Text color="fg.muted" fontSize="xs">{t('projects.editedRelative', { time: formatRelativeTime(summary.updatedAt) })}</Text><ProjectCompatibilityBadge summary={summary} /></Stack><HStack gap="1.5" pointerEvents="auto">{isCompatible ? (- <Button asChild size="xs" variant="solid">+ <Button asChild size="md" variant="solid"><Link search={search} to="/app">{t('launchpad.home.resumeAction')}<ArrowRightIcon /></Link></Button>) : (- <Button disabled size="xs" title={t('projects.file.updateClient')} variant="solid">+ <Button disabled size="md" title={t('projects.file.updateClient')} variant="solid">{t('launchpad.home.resumeAction')}<ArrowRightIcon /></Button>@@ -109,7 +109,7 @@ export const ResumeCard = ({aria-haspopup="menu"aria-label={t('common.actions')}color="fg.muted"- size="xs"+ size="md"variant="ghost"onClick={menuTrigger.onClick}onPointerDown={menuTrigger.onPointerDown}diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/pages/HomePage.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/pages/HomePage.tsxindex 157854995b..aba962baf3 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/pages/HomePage.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/pages/HomePage.tsx@@ -76,7 +76,7 @@ export const HomePage = () => {<PageShellactions={<>- <Button size="xs" variant="outline" onClick={handleImportClick}>+ <Button size="md" variant="outline" onClick={handleImportClick}><FileUpIcon />{t('projects.importWithEllipsis')}</Button>@@ -114,7 +114,7 @@ export const HomePage = () => {</Box><Stack gap="3">- <Text fontSize="xs" fontWeight="700">+ <Text fontSize="md" fontWeight="700">{t('launchpad.home.intents.heading')}</Text><IntentTiles />diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/pages/ProjectsPage.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/pages/ProjectsPage.tsxindex f617bdabdf..4504ec5256 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/pages/ProjectsPage.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/pages/ProjectsPage.tsx@@ -68,7 +68,7 @@ export const ProjectsPage = () => {<PageShellactions={<>- <Button size="xs" variant="outline" onClick={handleImportClick}>+ <Button size="md" variant="outline" onClick={handleImportClick}><FileUpIcon />{t('projects.importWithEllipsis')}</Button>diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/projects/NewProjectButton.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/projects/NewProjectButton.tsxindex 0452ab425f..2599fea76e 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/projects/NewProjectButton.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/projects/NewProjectButton.tsx@@ -20,7 +20,7 @@ export const NewProjectButton = ({ variant = 'solid' }: { variant?: 'outline' |return (<Group attached>- <Button asChild size="xs" variant={variant}>+ <Button asChild size="md" variant={variant}><Link search={NEW_PROJECT_SEARCH} to="/app"><Icon as={PlusIcon} boxSize="3.5" />{t('projects.newProject')}@@ -28,7 +28,7 @@ export const NewProjectButton = ({ variant = 'solid' }: { variant?: 'outline' |</Button><Menu.Root positioning={MENU_POSITIONING}><Menu.Trigger asChild>- <IconButton aria-label={t('projects.newProjectStart')} size="xs" variant={variant}>+ <IconButton aria-label={t('projects.newProjectStart')} size="md" variant={variant}><Icon as={ChevronDownIcon} boxSize="3.5" /></IconButton></Menu.Trigger>diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectActionsMenuHost.browser.test.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectActionsMenuHost.browser.test.tsxindex 7dcd15fee6..67259242d2 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectActionsMenuHost.browser.test.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectActionsMenuHost.browser.test.tsx@@ -67,7 +67,7 @@ const Card = ({ id }: { id: string }) => {aria-expanded={menuTrigger.isExpanded}aria-haspopup="menu"aria-label={`actions ${id}`}- size="2xs"+ size="sm"variant="ghost"onClick={menuTrigger.onClick}onPointerDown={menuTrigger.onPointerDown}diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCard.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCard.tsxindex 9ab747c556..9094bf1f25 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCard.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCard.tsx@@ -83,8 +83,8 @@ export const ProjectCard = ({</Box><Flex align="center" gap="2" p="3" pointerEvents="none"><Stack flex="1" gap="0" minW="0">- <MiddleTruncate fontSize="xs" fontWeight="600" text={summary.name} />- <Text color="fg.muted" fontSize="2xs">+ <MiddleTruncate fontSize="md" fontWeight="600" text={summary.name} />+ <Text color="fg.muted" fontSize="xs">{t('projects.editedRelative', { time: formatRelativeTime(summary.updatedAt) })}</Text><ProjectCompatibilityBadge summary={summary} />@@ -97,7 +97,7 @@ export const ProjectCard = ({aria-pressed={isPinned}color={isPinned ? 'fg' : 'fg.muted'}opacity={isPinned ? 1 : 0}- size="2xs"+ size="sm"title={isPinned ? t('projects.unpin') : t('projects.pin')}variant="subtle"_focusVisible={REVEAL_ON_HOVER}@@ -114,7 +114,7 @@ export const ProjectCard = ({aria-haspopup="menu"aria-label={t('common.actions')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={menuTrigger.onClick}onPointerDown={menuTrigger.onPointerDown}diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCompatibilityBadge.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCompatibilityBadge.tsxindex d89a966ea1..0edf87f190 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCompatibilityBadge.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCompatibilityBadge.tsx@@ -14,7 +14,7 @@ export const ProjectCompatibilityBadge = ({ summary }: { summary: ProjectSummary}return (- <Badge alignSelf="flex-start" colorPalette="orange" size="xs" variant="surface">+ <Badge alignSelf="flex-start" colorPalette="orange" size="md" variant="surface">{t(summary.minimumCanvasSchemaVersion < MIN_SUPPORTED_CANVAS_SCHEMA_VERSION? 'projects.legacyFormat'diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectRow.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectRow.tsxindex 74198cd1b1..8cf586f5b7 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectRow.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectRow.tsx@@ -65,9 +65,9 @@ export const ProjectRow = ({<ProjectCover coverUrl={summary.coverUrl} /></Box><Flex flex="1" gap="3" minW="0" pointerEvents="none">- <MiddleTruncate flex="1" fontSize="xs" fontWeight="600" minW="0" text={summary.name} />+ <MiddleTruncate flex="1" fontSize="md" fontWeight="600" minW="0" text={summary.name} /><ProjectCompatibilityBadge summary={summary} />- <Text color="fg.muted" flexShrink={0} fontSize="2xs">+ <Text color="fg.muted" flexShrink={0} fontSize="xs">{t('projects.editedRelative', { time: formatRelativeTime(summary.updatedAt) })}</Text></Flex>@@ -77,7 +77,7 @@ export const ProjectRow = ({aria-pressed={isPinned}color={isPinned ? 'fg' : 'fg.muted'}opacity={isPinned ? 1 : 0}- size="2xs"+ size="sm"title={isPinned ? t('projects.unpin') : t('projects.pin')}variant="ghost"_focusVisible={REVEAL_ON_HOVER}@@ -91,7 +91,7 @@ export const ProjectRow = ({aria-haspopup="menu"aria-label={t('common.actions')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={menuTrigger.onClick}onPointerDown={menuTrigger.onPointerDown}diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsxindex 5549378c12..73b6bed267 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsx@@ -153,12 +153,12 @@ export const ProjectsBrowser = ({<Scrollable flex="1" h="full" label={t('launchpad.sections.projects')} minH="0" viewportRef={scrollRef}><Box css={MEASURE_SX} pb="8" ref={measureRef}>{status === 'error' ? (- <Alert.Root borderRadius="md" mb="4" size="sm" status="error">+ <Alert.Root borderRadius="md" mb="4" size="md" status="error"><Alert.Indicator />- <Alert.Title flex="1" fontSize="xs">+ <Alert.Title flex="1" fontSize="md">{error ?? t('projects.failedToLoad')}</Alert.Title>- <Button size="2xs" variant="outline" onClick={handleRetry}>+ <Button size="sm" variant="outline" onClick={handleRetry}>{t('common.retry')}</Button></Alert.Root>@@ -223,11 +223,11 @@ const VirtualProjectsRow = ({if (row.kind === 'header') {return (<Flex align="baseline" css={ABSOLUTE_ROW_SX} gap="2" pb="2" pt="3" transform={transform}>- <Text fontSize="xs" fontWeight="700">+ <Text fontSize="md" fontWeight="700">{t(GROUP_LABEL_KEY[row.group])}</Text>{/* `fg.subtle` only reaches 4.11:1 at this size — `fg.muted` clears 4.5:1. */}- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{row.count}</Text></Flex>@@ -278,7 +278,7 @@ const ProjectsEmptyState = ({icon={NO_MATCHES_ICON}title={t('projects.noSearchMatches', { search: searchTerm.trim() })}>- <Button size="xs" variant="outline" onClick={onClearSearch}>+ <Button size="md" variant="outline" onClick={onClearSearch}>{t('common.clearSearch')}</Button></EmptyState>diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsToolbar.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsToolbar.tsxindex c83dabf257..2383fc1126 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsToolbar.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsToolbar.tsx@@ -98,7 +98,7 @@ export const ProjectsToolbar = ({<InputGroupendElement={searchTerm ? (- <IconButton aria-label={t('common.clearSearch')} size="2xs" variant="ghost" onClick={handleClearSearch}>+ <IconButton aria-label={t('common.clearSearch')} size="sm" variant="ghost" onClick={handleClearSearch}><Icon as={XIcon} boxSize="3" /></IconButton>) : undefined@@ -111,7 +111,7 @@ export const ProjectsToolbar = ({<Inputaria-label={t('projects.searchLabel')}placeholder={t('projects.searchPlaceholder')}- size="xs"+ size="md"type="search"value={searchTerm}onChange={handleSearchInput}@@ -120,7 +120,7 @@ export const ProjectsToolbar = ({<Menu.Root positioning={MENU_POSITIONING} onSelect={handleSortSelect}><Menu.Trigger asChild>- <Button ms="auto" size="xs" variant="outline">+ <Button ms="auto" size="md" variant="outline"><Icon as={ArrowUpDownIcon} boxSize="3.5" />{t(SORT_LABEL_KEY[sort])}</Button>@@ -129,7 +129,7 @@ export const ProjectsToolbar = ({<Menu.Positioner><MenuContent minW="44"><Menu.ItemGroup>- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{t('projects.sort.label')}</Menu.ItemGroupLabel>{PROJECT_SORT_IDS.map((id) => (@@ -144,7 +144,7 @@ export const ProjectsToolbar = ({</Portal></Menu.Root>- <SegmentGroup.Root aria-label={t('projects.viewLabel')} size="xs" value={view} onValueChange={handleViewChange}>+ <SegmentGroup.Root aria-label={t('projects.viewLabel')} size="md" value={view} onValueChange={handleViewChange}><SegmentGroup.Indicator />{PROJECTS_VIEW_IDS.map((id) => (<ViewSegment key={id} id={id} />diff --git a/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteDialog.tsx b/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteDialog.tsxindex 790bd07ba9..b93c93fd6f 100644--- a/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteDialog.tsx@@ -28,7 +28,7 @@ const TAB_HINT_KEYS = ['tab'];const FooterHint = ({ children, keys, shrink = false }: { children: string; keys: string[]; shrink?: boolean }) => (<HStack flexShrink={shrink ? 1 : 0} gap="1" minW="0">{keys.map((key) => (- <Kbd key={key} flexShrink={0} size="sm" textTransform="lowercase">+ <Kbd key={key} flexShrink={0} size="md" textTransform="lowercase">{key}</Kbd>))}@@ -123,7 +123,7 @@ const CommandPaletteContent = ({py="6"title={t('commandPalette.states.couldNotSearch', { label: controller.scopeLabel })}>- <Button size="xs" variant="subtle" onClick={controller.onRetry}>+ <Button size="md" variant="subtle" onClick={controller.onRetry}>{t('common.retry')}</Button></EmptyState>@@ -176,7 +176,7 @@ const CommandPaletteContent = ({color="fg"display="inline-flex"flexShrink={0}- fontSize="xs"+ fontSize="md"fontWeight="600"gap="1"px="1.5"@@ -207,7 +207,7 @@ const CommandPaletteContent = ({bg="transparent"color="fg"flex="1"- fontSize="sm"+ fontSize="lg"outline="none"placeholder={controller.placeholder}role="combobox"@@ -218,7 +218,7 @@ const CommandPaletteContent = ({onKeyDown={onSearchKeyDown}/>{controller.dateInvalidHint ? (- <Text color="fg.error" flexShrink={0} fontSize="xs" id={DATE_HINT_ID} maxW="45%" role="status" truncate>+ <Text color="fg.error" flexShrink={0} fontSize="md" id={DATE_HINT_ID} maxW="45%" role="status" truncate>{controller.dateInvalidHint}</Text>) : controller.dateSummary ? (@@ -227,7 +227,7 @@ const CommandPaletteContent = ({borderRadius="sm"color="fg.muted"flexShrink={0}- fontSize="xs"+ fontSize="md"id={DATE_HINT_ID}px="1.5"py="0.5"@@ -257,7 +257,7 @@ const CommandPaletteContent = ({borderTopWidth="1px"color="fg.subtle"flexShrink={0}- fontSize="xs"+ fontSize="md"gap="4"h="8"hideBelow="sm"diff --git a/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteRows.tsx b/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteRows.tsxindex 74112bf524..4e7b248c57 100644--- a/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteRows.tsx+++ b/invokeai/frontend/webv2/src/workbench/palette/CommandPaletteRows.tsx@@ -87,13 +87,13 @@ const EntryRow = ({{entry.thumbnailUrl ? (<chakra.img alt="" boxSize="7" flexShrink={0} objectFit="cover" rounded="sm" src={entry.thumbnailUrl} />) : null}- <Text fontSize="sm" truncate>+ <Text fontSize="lg" truncate>{renderTitle(entry.title, matchIndexes)}</Text>{entry.isCurrent ? (<Icon as={CheckIcon} boxSize="3.5" color="fg.muted" flexShrink={0} />) : entry.subtitle ? (- <Text color="fg.subtle" flexShrink={0} fontSize="xs" maxW="45%" truncate>+ <Text color="fg.subtle" flexShrink={0} fontSize="md" maxW="45%" truncate>{entry.subtitle}</Text>) : null}@@ -101,7 +101,7 @@ const EntryRow = ({{entry.keys ? (<HStack flexShrink={0} gap="0.5">{entry.keys.map((part) => (- <Kbd key={part} size="sm" textTransform="lowercase">+ <Kbd key={part} size="md" textTransform="lowercase"><ShortcutKeyGlyph fallback={part} part={part} /></Kbd>))}@@ -135,7 +135,7 @@ const ProviderErrorRow = ({onMouseDown={preventFocusSteal}onMouseMove={onActive}>- <Text fontSize="sm" truncate>+ <Text fontSize="lg" truncate>{label}</Text></HStack>@@ -164,11 +164,11 @@ const ScopeRow = ({onMouseDown={preventFocusSteal}onMouseMove={onActive}>- <Text color="fg.muted" fontSize="sm" truncate>+ <Text color="fg.muted" fontSize="lg" truncate>{label}</Text><Spacer />- <Kbd size="sm" textTransform="lowercase">+ <Kbd size="md" textTransform="lowercase"><ShortcutKeyGlyph fallback="tab" part="tab" /></Kbd></HStack>@@ -281,7 +281,7 @@ export const CommandPaletteRows = ({]);return (- <ScrollArea.Root maxH="min(400px, 55dvh)" size="xs" variant="hover" w="full">+ <ScrollArea.Root maxH="min(400px, 55dvh)" size="md" variant="hover" w="full"><ScrollArea.Viewport ref={setScrollElement} maxH="inherit" w="full"><ScrollArea.Contentid={RESULT_LIST_ID}diff --git a/invokeai/frontend/webv2/src/workbench/palette/PaletteButton.tsx b/invokeai/frontend/webv2/src/workbench/palette/PaletteButton.tsxindex 26b46481a9..6da17ed575 100644--- a/invokeai/frontend/webv2/src/workbench/palette/PaletteButton.tsx+++ b/invokeai/frontend/webv2/src/workbench/palette/PaletteButton.tsx@@ -22,7 +22,7 @@ export const PaletteButton = () => {return (<Tooltip content={tooltip}>- <IconButton aria-label={t('commandPalette.buttonLabel')} size="sm" variant="ghost" onClick={openCommandPalette}>+ <IconButton aria-label={t('commandPalette.buttonLabel')} size="lg" variant="ghost" onClick={openCommandPalette}><Icon as={SearchIcon} /></IconButton></Tooltip>diff --git a/invokeai/frontend/webv2/src/workbench/projects/components/OpenProjectDialog.tsx b/invokeai/frontend/webv2/src/workbench/projects/components/OpenProjectDialog.tsxindex b253e0634a..ab240eb3ed 100644--- a/invokeai/frontend/webv2/src/workbench/projects/components/OpenProjectDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/projects/components/OpenProjectDialog.tsx@@ -169,7 +169,7 @@ export const OpenProjectDialog = ({ isOpen, onClose }: { isOpen: boolean; onClos/>))}{available.length === 0 ? (- <Text color="fg.muted" fontSize="xs" px="2.5" py="4" textAlign="center">+ <Text color="fg.muted" fontSize="md" px="2.5" py="4" textAlign="center">{summaries.length === 0 ? t('projects.noSavedProjects') : t('projects.allSavedAlreadyOpen')}</Text>) : null}@@ -177,11 +177,11 @@ export const OpenProjectDialog = ({ isOpen, onClose }: { isOpen: boolean; onClos</Scrollable></Dialog.Body><Dialog.Footer justifyContent="space-between">- <Button size="xs" variant="outline" onClick={startImport}>+ <Button size="md" variant="outline" onClick={startImport}><FileUpIcon />{t('projects.importWithEllipsis')}</Button>- <Button size="xs" variant="ghost" onClick={onClose}>+ <Button size="md" variant="ghost" onClick={onClose}>{t('common.cancel')}</Button></Dialog.Footer>@@ -213,13 +213,13 @@ const OpenProjectRow = ({<Row asChild gap="2.5" px="2.5" py="2" rounded="md" _disabled={disabledRowStyles}><button disabled={isDisabled} type="button" onClick={open}><Stack flex="1" gap="0" minW="0">- <MiddleTruncate fontSize="xs" fontWeight="600" text={summary.name} />- <Text color="fg.muted" fontSize="2xs">+ <MiddleTruncate fontSize="md" fontWeight="600" text={summary.name} />+ <Text color="fg.muted" fontSize="xs">{t('projects.editedRelative', { time: formatRelativeTime(summary.updatedAt) })}</Text><ProjectCompatibilityBadge summary={summary} /></Stack>- {isBusy ? <Spinner color="fg.muted" size="xs" /> : <Icon as={ArrowRightIcon} boxSize="3.5" color="fg.muted" />}+ {isBusy ? <Spinner color="fg.muted" size="md" /> : <Icon as={ArrowRightIcon} boxSize="3.5" color="fg.muted" />}</button></Row>);diff --git a/invokeai/frontend/webv2/src/workbench/projects/components/ProjectFileOptionsDialog.tsx b/invokeai/frontend/webv2/src/workbench/projects/components/ProjectFileOptionsDialog.tsxindex d36193b440..77d5656b45 100644--- a/invokeai/frontend/webv2/src/workbench/projects/components/ProjectFileOptionsDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/projects/components/ProjectFileOptionsDialog.tsx@@ -53,13 +53,13 @@ export const ProjectFileOptionsDialog = ({ request }: { request: ProjectFileOpti</Checkbox.Control><Checkbox.Label>{t('projects.fonts.includeFiles')}</Checkbox.Label></Checkbox.Root>- <Text color="fg.muted" fontSize="sm">+ <Text color="fg.muted" fontSize="lg">{t('projects.fonts.exportDescription')}</Text>- {includeFonts ? <Text fontSize="sm">{t('projects.fonts.rightsReminder')}</Text> : null}+ {includeFonts ? <Text fontSize="lg">{t('projects.fonts.rightsReminder')}</Text> : null}</>) : (- <Text fontSize="sm">{t('projects.fonts.quotaDescription')}</Text>+ <Text fontSize="lg">{t('projects.fonts.quotaDescription')}</Text>)}</Stack></Dialog.Body>diff --git a/invokeai/frontend/webv2/src/workbench/queue-integration/QueueItemActions.tsx b/invokeai/frontend/webv2/src/workbench/queue-integration/QueueItemActions.tsxindex a4d1f3ca8c..871e962f71 100644--- a/invokeai/frontend/webv2/src/workbench/queue-integration/QueueItemActions.tsx+++ b/invokeai/frontend/webv2/src/workbench/queue-integration/QueueItemActions.tsx@@ -23,7 +23,7 @@ export const QueueItemActions = ({ item }: { item: QueueItemReadModel }) => {return (<>- <ButtonGroup flexWrap="wrap" minW="0" rowGap="1" size="2xs" variant="subtle" w="full">+ <ButtonGroup flexWrap="wrap" minW="0" rowGap="1" size="sm" variant="subtle" w="full"><Button disabled variant="ghost" onClick={onSendToCanvas}><Icon as={WandSparklesIcon} boxSize="3" />{t('widgets.queue.sendToCanvas')}diff --git a/invokeai/frontend/webv2/src/workbench/queue-integration/QueueRecoveryNotice.tsx b/invokeai/frontend/webv2/src/workbench/queue-integration/QueueRecoveryNotice.tsxindex 717b4a3341..249763f837 100644--- a/invokeai/frontend/webv2/src/workbench/queue-integration/QueueRecoveryNotice.tsx+++ b/invokeai/frontend/webv2/src/workbench/queue-integration/QueueRecoveryNotice.tsx@@ -160,8 +160,8 @@ export const QueueRecoveryNotice = ({if (query.isPending) {return (<HStack color="fg.muted" px="4" py="2">- <Spinner size="xs" />- <Text fontSize="sm">{t('shell.queueRecovery.loading')}</Text>+ <Spinner size="md" />+ <Text fontSize="lg">{t('shell.queueRecovery.loading')}</Text></HStack>);}@@ -202,13 +202,13 @@ export const QueueRecoveryNotice = ({<HStack flexShrink="0" flexWrap="wrap">{projectIds.length > 1 ? (<>- <Button disabled={isBusy || visibleIndex === 0} onClick={selectPrevious} size="sm" variant="ghost">+ <Button disabled={isBusy || visibleIndex === 0} onClick={selectPrevious} size="lg" variant="ghost">{t('shell.queueRecovery.previous')}</Button><Buttondisabled={isBusy || visibleIndex === projectIds.length - 1}onClick={selectNext}- size="sm"+ size="lg"variant="ghost">{t('shell.queueRecovery.next')}@@ -216,7 +216,7 @@ export const QueueRecoveryNotice = ({</>) : null}{onOpen ? (- <Button disabled={isBusy} loading={pendingAction === 'open'} onClick={handleOpen} size="sm">+ <Button disabled={isBusy} loading={pendingAction === 'open'} onClick={handleOpen} size="lg">{t('shell.queueRecovery.open')}</Button>) : null}@@ -224,12 +224,12 @@ export const QueueRecoveryNotice = ({disabled={isBusy}loading={pendingAction === 'export'}onClick={handleExport}- size="sm"+ size="lg"variant="outline">{t('shell.queueRecovery.export')}</Button>- <Button disabled={isBusy} onClick={openDiscardConfirmation} size="sm" variant="ghost">+ <Button disabled={isBusy} onClick={openDiscardConfirmation} size="lg" variant="ghost">{t('shell.queueRecovery.discard')}</Button></HStack>diff --git a/invokeai/frontend/webv2/src/workbench/settings/AboutSettings.tsx b/invokeai/frontend/webv2/src/workbench/settings/AboutSettings.tsxindex 9d43dfc4d6..ca35aa1597 100644--- a/invokeai/frontend/webv2/src/workbench/settings/AboutSettings.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/AboutSettings.tsx@@ -32,15 +32,15 @@ export const AboutSettings = () => {return (<Stack gap="4"><HStack gap="4">- <Text fontSize="xs" fontWeight="700">+ <Text fontSize="md" fontWeight="700">{info.version ? `Invoke v${info.version}` : 'Invoke'}</Text><HStack gap="3">- <Link fontSize="xs" href={GITHUB_URL} rel="noreferrer" target="_blank">+ <Link fontSize="md" href={GITHUB_URL} rel="noreferrer" target="_blank"><Icon as={GithubIcon} boxSize="3.5" />{t('settings.about.github')}</Link>- <Link fontSize="xs" href={DISCORD_URL} rel="noreferrer" target="_blank">+ <Link fontSize="md" href={DISCORD_URL} rel="noreferrer" target="_blank"><Icon as={DiscordIcon} boxSize="3.5" />{t('settings.about.discord')}</Link>@@ -49,11 +49,11 @@ export const AboutSettings = () => {{info.loadState === 'loading' || info.loadState === 'idle' ? (<HStack color="fg.muted" gap="2">- <Spinner size="xs" />- <Text fontSize="xs">{t('settings.about.loading')}</Text>+ <Spinner size="md" />+ <Text fontSize="md">{t('settings.about.loading')}</Text></HStack>) : info.loadState === 'error' ? (- <Text color="fg.error" fontSize="xs">+ <Text color="fg.error" fontSize="md">{info.error}</Text>) : (diff --git a/invokeai/frontend/webv2/src/workbench/settings/ApplicationSettingField.tsx b/invokeai/frontend/webv2/src/workbench/settings/ApplicationSettingField.tsxindex 9666ab41f5..f8beca1e35 100644--- a/invokeai/frontend/webv2/src/workbench/settings/ApplicationSettingField.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/ApplicationSettingField.tsx@@ -35,7 +35,7 @@ export const ApplicationSettingField = (props: SettingFieldProps) => {const { t } = useTranslation();const fallback = useMemo(() => (- <Text role="status" fontSize="xs" color="fg.muted">+ <Text role="status" fontSize="md" color="fg.muted">{t('common.loading')}</Text>),diff --git a/invokeai/frontend/webv2/src/workbench/settings/CustomSettingsEditors.tsx b/invokeai/frontend/webv2/src/workbench/settings/CustomSettingsEditors.tsxindex 246e395546..26b96d7bfa 100644--- a/invokeai/frontend/webv2/src/workbench/settings/CustomSettingsEditors.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/CustomSettingsEditors.tsx@@ -129,10 +129,10 @@ const DeveloperNamespaceCheckbox = ({);return (- <Checkbox.Root checked={checked} size="sm" onCheckedChange={handleCheckedChange}>+ <Checkbox.Root checked={checked} size="md" onCheckedChange={handleCheckedChange}><Checkbox.HiddenInput /><Checkbox.Control />- <Checkbox.Label color="fg.muted" fontSize="xs">+ <Checkbox.Label color="fg.muted" fontSize="md">{formatSettingLabel(namespace)}</Checkbox.Label></Checkbox.Root>@@ -146,12 +146,12 @@ export const LoggingResetSettings = () => {return (<HStack gap="3">- <Button disabled={isDefault} size="sm" variant="outline" onClick={reset}>+ <Button disabled={isDefault} size="lg" variant="outline" onClick={reset}><RotateCcwIcon />{t('settings.catalog.resetLoggingDefaults')}</Button>{isDefault ? (- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('settings.catalog.loggingDefaultsActive')}</Text>) : null}@@ -191,13 +191,13 @@ export const WorkspaceSettings = ({ onReveal }: Pick<SettingFieldProps, 'onRevea<Stack gap="3"><HStack gap="2" wrap="wrap">{commands ? (- <Button size="sm" variant="outline" onClick={resetLayout}>+ <Button size="lg" variant="outline" onClick={resetLayout}><RotateCcwIcon />Reset layout</Button>) : null}{onReveal ? (- <Button size="sm" variant="outline" onClick={openIntermediates}>+ <Button size="lg" variant="outline" onClick={openIntermediates}><BrushCleaningIcon />{t('settings.catalog.manageIntermediates')}</Button>@@ -205,7 +205,7 @@ export const WorkspaceSettings = ({ onReveal }: Pick<SettingFieldProps, 'onRevea<ButtonborderColor="border.emphasized"color="fg.error"- size="sm"+ size="lg"variant="outline"_hover={DANGER_BUTTON_HOVER_STYLES}onClick={openClearConfirm}@@ -290,13 +290,13 @@ const CustomSettingField = ({ field, onReveal }: SettingFieldProps) => {<Stack gap="3" w="full"><Stack gap="1"><HStack gap="2">- <Text color="fg" fontSize="sm" fontWeight="500">+ <Text color="fg" fontSize="lg" fontWeight="500">{resolveSettingsText(field.label, t)}</Text>{isModified ? <ModifiedSettingIndicator label={resolveSettingsText(field.label, t)} /> : null}</HStack>{field.description ? (- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{resolveSettingsText(field.description, t)}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/settings/GenerationDevicesSettings.tsx b/invokeai/frontend/webv2/src/workbench/settings/GenerationDevicesSettings.tsxindex 8e8e80273c..409809c1ad 100644--- a/invokeai/frontend/webv2/src/workbench/settings/GenerationDevicesSettings.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/GenerationDevicesSettings.tsx@@ -70,12 +70,12 @@ export const GenerationDevicesSettings = () => {);if (loadState === 'loading' || loadState === 'idle') {- return <Spinner size="sm" />;+ return <Spinner size="lg" />;}if (error) {return (- <Text color="fg.error" fontSize="xs">+ <Text color="fg.error" fontSize="md">{error}</Text>);@@ -84,7 +84,7 @@ export const GenerationDevicesSettings = () => {if (options.length <= 1) {return (<HStack align="start" gap="2">- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{options.length === 1? `Generation runs on ${labels[options[0].device] ?? options[0].device}. Parallel generation needs more than one accelerator.`: 'No accelerators were detected, so generation runs on a single device.'}@@ -98,14 +98,14 @@ export const GenerationDevicesSettings = () => {return (<Stack gap="1"><HStack gap="2">- <Text color="fg" fontSize="xs">+ <Text color="fg" fontSize="md">{isAuto? 'Every available accelerator is used for generation.': selectedDevices.map((device) => labels[device] ?? device).join(', ')}</Text>{!isAuto ? <ModifiedSettingIndicator label="Generation devices" /> : null}</HStack>- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">Only an administrator can change which accelerators are used.</Text></Stack>@@ -135,12 +135,12 @@ export const GenerationDevicesSettings = () => {</Stack>)}{saveError ? (- <Text color="fg.error" fontSize="xs">+ <Text color="fg.error" fontSize="md">{saveError}</Text>) : null}{didChange ? (- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">Restart InvokeAI for changes to take effect.</Text>) : null}@@ -199,13 +199,13 @@ const DeviceSwitch = ({><Stack gap="0.5"><HStack gap="2">- <Switch.Label color="fg" fontSize="sm" fontWeight="500">+ <Switch.Label color="fg" fontSize="lg" fontWeight="500">{label}</Switch.Label>{isModified ? <ModifiedSettingIndicator label={label} /> : null}</HStack>{description ? (- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{description}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/settings/HotkeysSettingsSection.tsx b/invokeai/frontend/webv2/src/workbench/settings/HotkeysSettingsSection.tsxindex b6bf114e6b..4641e89959 100644--- a/invokeai/frontend/webv2/src/workbench/settings/HotkeysSettingsSection.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/HotkeysSettingsSection.tsx@@ -230,14 +230,14 @@ export const HotkeysSettingsSection = () => {<Stack h="full" minH="0"><HStack justify="space-between" gap="3"><Stack gap="0.5">- <Text color="fg" fontSize="sm" fontWeight="600">+ <Text color="fg" fontSize="lg" fontWeight="600">{t('hotkeys.title')}</Text>- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('hotkeys.description')}</Text></Stack>- <Button disabled={modifiedCount === 0} size="xs" variant="outline" onClick={resetAll}>+ <Button disabled={modifiedCount === 0} size="md" variant="outline" onClick={resetAll}><RotateCcwIcon />{t('hotkeys.resetAll')}</Button>@@ -247,7 +247,7 @@ export const HotkeysSettingsSection = () => {<Inputaria-label={t('hotkeys.searchPlaceholder')}placeholder={t('hotkeys.searchPlaceholder')}- size="xs"+ size="md"value={searchTerm}onChange={handleSearchChange}/>@@ -354,25 +354,25 @@ const HotkeyListRow = ({><Stack flex="1" gap="1" minW="0"><HStack gap="2">- <Text color="fg" fontSize="sm" fontWeight="600" truncate>+ <Text color="fg" fontSize="lg" fontWeight="600" truncate>{getHotkeyTitle(hotkey)}</Text>{hotkey.implemented === false ? (- <Badge colorPalette="gray" size="xs" variant="surface">+ <Badge colorPalette="gray" size="md" variant="surface">{t('hotkeys.pending')}</Badge>) : null}{isModified ? <ModifiedSettingIndicator label={getHotkeyTitle(hotkey)} /> : null}</HStack>- <Text color="fg.muted" fontSize="2xs" truncate>+ <Text color="fg.muted" fontSize="xs" truncate>{hotkey.description ?? hotkey.id}</Text>{conflict ? (- <Text color="fg.error" fontSize="2xs">+ <Text color="fg.error" fontSize="xs">{t('hotkeys.conflictsWith', { title: conflict.title })}</Text>) : hasDuplicate ? (- <Text color="fg.error" fontSize="2xs">+ <Text color="fg.error" fontSize="xs">{t('hotkeys.duplicateBinding')}</Text>) : null}@@ -393,24 +393,24 @@ const HotkeyListRow = ({/>))) : (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('hotkeys.disabled')}</Text>)}- <IconButton aria-label={t('hotkeys.addHotkey')} size="xs" variant="ghost" onClick={addDraftKey}>+ <IconButton aria-label={t('hotkeys.addHotkey')} size="md" variant="ghost" onClick={addDraftKey}><PlusIcon /></IconButton></HStack><HStack gap="1">{isEditing || isDirty ? (<>- <IconButton aria-label={t('hotkeys.cancelEdit')} size="xs" variant="ghost" onClick={cancelEdit}>+ <IconButton aria-label={t('hotkeys.cancelEdit')} size="md" variant="ghost" onClick={cancelEdit}><XIcon /></IconButton><IconButtonaria-label={t('hotkeys.saveEdit')}disabled={!canSave}- size="xs"+ size="md"variant="ghost"onClick={saveEdit}>@@ -419,12 +419,12 @@ const HotkeyListRow = ({</>) : null}{effectiveKeys.length > 0 ? (- <Button size="xs" variant="ghost" onClick={disableHotkey}>+ <Button size="md" variant="ghost" onClick={disableHotkey}>{t('hotkeys.disable')}</Button>) : null}{isCustomized ? (- <IconButton aria-label={t('hotkeys.resetHotkey')} size="xs" variant="ghost" onClick={resetThisHotkey}>+ <IconButton aria-label={t('hotkeys.resetHotkey')} size="md" variant="ghost" onClick={resetThisHotkey}><RotateCcwIcon /></IconButton>) : null}@@ -488,13 +488,13 @@ const HotkeyChip = ({if (editing) {return (<HStack borderColor="accent.solid" borderWidth="1px" gap="1" px="2" py="1" rounded="md">- <Text color="accent.solid" fontSize="2xs" fontStyle="italic">+ <Text color="accent.solid" fontSize="xs" fontStyle="italic">{t('hotkeys.pressKeys')}</Text><IconButtonaria-label={t('hotkeys.deleteHotkey')}colorPalette="red"- size="2xs"+ size="sm"variant="ghost"onClick={onDelete}>@@ -505,14 +505,14 @@ const HotkeyChip = ({}return (- <Button type="button" onClick={onEdit} variant="outline" size="xs">+ <Button type="button" onClick={onEdit} variant="outline" size="md">{formatHotkeyForPlatform(hotkey).map((part, index, parts) => (<Fragment key={`${part}:${index}`}>- <Kbd size="sm" textTransform="lowercase">+ <Kbd size="md" textTransform="lowercase"><ShortcutKeyGlyph fallback={part} part={part} /></Kbd>{index < parts.length - 1 ? (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">+</Text>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/settings/ImageMapVocabularySettings.tsx b/invokeai/frontend/webv2/src/workbench/settings/ImageMapVocabularySettings.tsxindex f3109b44bf..a79eb16d62 100644--- a/invokeai/frontend/webv2/src/workbench/settings/ImageMapVocabularySettings.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/ImageMapVocabularySettings.tsx@@ -126,16 +126,16 @@ export const ImageMapVocabularySettings = () => {};if (query.isPending) {- return <Spinner size="sm" />;+ return <Spinner size="lg" />;}if (query.isError) {return (<Stack align="flex-start" gap="2">- <Text color="fg.error" fontSize="xs">+ <Text color="fg.error" fontSize="md">{t('settings.imageMapVocabulary.loadFailed')}</Text>- <Button size="xs" variant="outline" onClick={() => void query.refetch()}>+ <Button size="md" variant="outline" onClick={() => void query.refetch()}>{t('common.retry')}</Button></Stack>@@ -156,7 +156,7 @@ export const ImageMapVocabularySettings = () => {<Inputaria-invalid={inputError || saveError ? true : undefined}placeholder={t('settings.imageMapVocabulary.addPlaceholder')}- size="xs"+ size="md"value={draft}onChange={(event) => {setDraft(event.currentTarget.value);@@ -196,7 +196,7 @@ export const ImageMapVocabularySettings = () => {<Buttondisabled={draft.trim().length === 0}loading={isSaving}- size="xs"+ size="md"variant="outline"onClick={() => {void addTerms(vocab);@@ -208,7 +208,7 @@ export const ImageMapVocabularySettings = () => {</HStack></Field>) : (- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('settings.imageMapVocabulary.adminOnly')}</Text>)}@@ -229,14 +229,14 @@ export const ImageMapVocabularySettings = () => {{term}</RemovableTag>) : (- <Tag.Root key={term} size="sm" variant="surface">+ <Tag.Root key={term} size="md" variant="surface"><Tag.Label>{term}</Tag.Label></Tag.Root>))}</Wrap>) : (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('settings.imageMapVocabulary.noTermsYet')}</Text>)}@@ -273,13 +273,13 @@ const VocabularyStatusLine = ({return (<Stack gap="1">- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('settings.imageMapVocabulary.count', { count: vocab.terms.length, max: vocab.maxTerms })}</Text>{vocab.state === 'building' ? (<HStack gap="1.5">- <Spinner size="xs" />- <Text color="fg.muted" fontSize="2xs">+ <Spinner size="md" />+ <Text color="fg.muted" fontSize="xs">{progress? t('settings.imageMapVocabulary.rebuildingQueued', { progress: progress.counts }): t('settings.imageMapVocabulary.rebuilding')}@@ -288,18 +288,18 @@ const VocabularyStatusLine = ({) : null}{vocab.state === 'error' && vocab.error ? (<HStack gap="2">- <Text color="fg.error" fontSize="2xs" role="alert">+ <Text color="fg.error" fontSize="xs" role="alert">{t('settings.imageMapVocabulary.buildFailed', { message: vocab.error })}</Text>{onRetry ? (- <Button size="2xs" variant="outline" onClick={onRetry}>+ <Button size="sm" variant="outline" onClick={onRetry}>{t('common.retry')}</Button>) : null}</HStack>) : null}{vocab.state === 'unavailable' ? (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('settings.imageMapVocabulary.indexOff')}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/settings/PreferencesPage.tsx b/invokeai/frontend/webv2/src/workbench/settings/PreferencesPage.tsxindex f9bdd19a83..6da2be6123 100644--- a/invokeai/frontend/webv2/src/workbench/settings/PreferencesPage.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/PreferencesPage.tsx@@ -144,7 +144,7 @@ export const PreferencesPage = () => {><ManagerColumn title={t('launchpad.sections.preferences')}><Box p="3">- <SettingsSearchField size="xs" value={query} onChange={changeQuery} />+ <SettingsSearchField size="md" value={query} onChange={changeQuery} /></Box><ListactiveKey={searching ? (searchSection ?? ALL_RESULTS_KEY) : active.id}@@ -159,7 +159,7 @@ export const PreferencesPage = () => {<ManagerDetailHeader><HStack alignSelf="stretch" gap="2" px="1"><Icon as={searching ? SearchIcon : active.icon} boxSize="4" />- <Text as="h2" fontSize="sm" fontWeight="700">+ <Text as="h2" fontSize="lg" fontWeight="700">{searching ? t('settingsDialog.results') : resolveSettingsText(active.label, t)}</Text></HStack>diff --git a/invokeai/frontend/webv2/src/workbench/settings/SettingsBrowseBody.tsx b/invokeai/frontend/webv2/src/workbench/settings/SettingsBrowseBody.tsxindex a36acb2058..d2271a2270 100644--- a/invokeai/frontend/webv2/src/workbench/settings/SettingsBrowseBody.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/SettingsBrowseBody.tsx@@ -25,7 +25,7 @@ const retrySave = () => {const SEARCH_START_ELEMENT = <Icon as={SearchIcon} boxSize="3.5" color="fg.muted" />;/** The `/` shortcut its surface handles with `focusSettingsSearchOnSlash`. */const SEARCH_HOTKEY_HINT = (- <Kbd aria-hidden pointerEvents="none" size="sm" variant="outline">+ <Kbd aria-hidden pointerEvents="none" size="md" variant="outline">/</Kbd>);@@ -36,7 +36,7 @@ export const SettingsSearchField = ({value,}: {onChange: (query: string) => void;- size: 'xs' | 'sm';+ size: 'md' | 'lg';value: string;}) => {const { t } = useTranslation();@@ -46,7 +46,7 @@ export const SettingsSearchField = ({const endElement = useMemo(() =>value ? (- <Button aria-label={t('settingsDialog.clearSearch')} me="-2" size="2xs" variant="ghost" onClick={clear}>+ <Button aria-label={t('settingsDialog.clearSearch')} me="-2" size="sm" variant="ghost" onClick={clear}><XIcon /></Button>) : (@@ -111,10 +111,10 @@ export const SettingsBrowseBody = ({<>{error ? (<HStack role="alert" px="4" py="2" bg="bg.error">- <Text fontSize="xs" color="fg.error" flex="1">+ <Text fontSize="md" color="fg.error" flex="1">{error}</Text>- <Button size="xs" onClick={retrySave}>+ <Button size="md" onClick={retrySave}>{t('common.retry')}</Button></HStack>@@ -154,7 +154,7 @@ export const SettingsBrowseBody = ({{searching && !displayed.length ? (<Stack align="center" py="12" gap="3"><Text color="fg.muted">{t('settingsDialog.noResults')}</Text>- <Button size="sm" variant="outline" onClick={onClearSearch}>+ <Button size="lg" variant="outline" onClick={onClearSearch}>{t('settingsDialog.clearSearch')}</Button></Stack>@@ -192,7 +192,7 @@ const SettingsSectionContent = ({) : null}{search ? (<Stack gap="0.5" pt="5">- <Text as="h3" fontWeight="600" fontSize="sm">+ <Text as="h3" fontWeight="600" fontSize="lg">{resolveSettingsText(section.label, t)}</Text>{section.entries[0] ? <SettingsScopeLabel scope={section.entries[0].field.scope} /> : null}diff --git a/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsx b/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsxindex 3f8b225649..53735f7484 100644--- a/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsx@@ -120,10 +120,10 @@ const SettingsDialog = () => {minH="0"><Box p="3" pe={SEARCH_PADDING}>- <SettingsSearchField size="sm" value={state.query} onChange={setSettingsQuery} />+ <SettingsSearchField size="lg" value={state.query} onChange={setSettingsQuery} /></Box><Box display={MOBILE_DISPLAY} px="3" pb="3">- <NativeSelect.Root size="sm">+ <NativeSelect.Root size="xl"><NativeSelect.Fieldaria-label={t('settingsDialog.section')}value={searching ? (state.searchSection ?? '') : active.id}@@ -144,12 +144,12 @@ const SettingsDialog = () => {<Buttonw="full"justifyContent="space-between"- size="sm"+ size="lg"variant={!state.searchSection ? 'subtle' : 'ghost'}onClick={selectAllResults}>{t('settingsDialog.allResults')}- <Text fontSize="xs">{count}</Text>+ <Text fontSize="md">{count}</Text></Button>) : null}{GROUPS.map((group) => {@@ -159,7 +159,7 @@ const SettingsDialog = () => {}return (<Stack key={group} gap="0.5" mt="4">- <Text px="2" pb="1" fontSize="2xs" fontWeight="600" color="fg.muted" textTransform="uppercase">+ <Text px="2" pb="1" fontSize="xs" fontWeight="600" color="fg.muted" textTransform="uppercase">{t(`settingsDialog.groups.${group}`)}</Text>{groupSections.map((section) => (@@ -181,7 +181,7 @@ const SettingsDialog = () => {<PanelHeader px="4" pe="12" py="0"><HStack gap="2"><Icon as={searching ? SearchIcon : active.icon} boxSize="4" />- <Dialog.Title fontSize="xs" fontWeight="700">+ <Dialog.Title fontSize="md" fontWeight="700"><VisuallyHidden>{t('settings.title')}: </VisuallyHidden>{searching ? t('settingsDialog.results') : resolveSettingsText(active.label, t)}</Dialog.Title>@@ -223,7 +223,7 @@ const SettingsNavigationItem = ({<Buttonw="full"justifyContent="start"- size="sm"+ size="lg"variant={selected ? 'subtle' : 'ghost'}aria-current={selected ? 'page' : undefined}onClick={select}@@ -232,7 +232,7 @@ const SettingsNavigationItem = ({<Text flex="1" textAlign="start" whiteSpace="normal">{resolveSettingsText(section.label, t)}</Text>- {searching ? <Text fontSize="2xs">{section.entries.length}</Text> : null}+ {searching ? <Text fontSize="xs">{section.entries.length}</Text> : null}</Button>);};diff --git a/invokeai/frontend/webv2/src/workbench/settings/SettingsEntryView.tsx b/invokeai/frontend/webv2/src/workbench/settings/SettingsEntryView.tsxindex 0057464532..e28e0539c6 100644--- a/invokeai/frontend/webv2/src/workbench/settings/SettingsEntryView.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/SettingsEntryView.tsx@@ -97,7 +97,7 @@ export const SettingsEntryView = ({const reveal = useCallback(() => onReveal?.(section.id, entry.field.id), [onReveal, section.id, entry.field.id]);const loading = useMemo(() => (- <Text role="status" fontSize="xs" color="fg.muted">+ <Text role="status" fontSize="md" color="fg.muted">{t('common.loading')}</Text>),@@ -115,7 +115,7 @@ export const SettingsEntryView = ({pt={surface === 'quick' ? '2' : '5'}pb="1"fontWeight="600"- fontSize={surface === 'quick' ? '2xs' : 'xs'}+ fontSize={surface === 'quick' ? 'xs' : 'md'}color="fg.muted">{resolveSettingsText(entry.field.group, t)}@@ -130,20 +130,20 @@ export const SettingsEntryView = ({>{unavailable || isDestination ? (<Stack gap="2">- <Text fontSize="sm" fontWeight="500">+ <Text fontSize="lg" fontWeight="500">{resolveSettingsText(entry.field.label, t)}</Text>{entry.field.description ? (- <Text fontSize="xs" color="fg.muted">+ <Text fontSize="md" color="fg.muted">{resolveSettingsText(entry.field.description, t)}</Text>) : null}{unavailable ? (- <Text fontSize="xs" color="fg.muted">+ <Text fontSize="md" color="fg.muted">{t(scope === 'instance' ? 'settingsDialog.instanceUnavailable' : 'settingsDialog.projectUnavailable')}</Text>) : (- <Button size="xs" variant="outline" alignSelf="start" onClick={reveal}>+ <Button size="md" variant="outline" alignSelf="start" onClick={reveal}>{t('settingsDialog.openEditor')}</Button>)}@@ -174,7 +174,7 @@ export const SettingsEntryView = ({</Box>) : null}{search && !isDestination ? (- <Button size="2xs" variant="ghost" mt="1" onClick={reveal}>+ <Button size="sm" variant="ghost" mt="1" onClick={reveal}>{t('settingsDialog.showInSection')}</Button>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/settings/SettingsScopeLabel.tsx b/invokeai/frontend/webv2/src/workbench/settings/SettingsScopeLabel.tsxindex e3a8c59a65..7b09c21458 100644--- a/invokeai/frontend/webv2/src/workbench/settings/SettingsScopeLabel.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/SettingsScopeLabel.tsx@@ -13,7 +13,7 @@ export const SettingsScopeLabel = ({ scope }: { scope: SettingDefinition['scope'}const label = scope === 'preference' && preferenceScope === 'global' ? 'install' : scope;return (- <Text fontSize="2xs" color="fg.muted">+ <Text fontSize="xs" color="fg.muted">{t(`settingsDialog.scope.${label}`)}</Text>);diff --git a/invokeai/frontend/webv2/src/workbench/settings/WidgetSettingsButton.tsx b/invokeai/frontend/webv2/src/workbench/settings/WidgetSettingsButton.tsxindex 370aae4a50..8fdc2a07eb 100644--- a/invokeai/frontend/webv2/src/workbench/settings/WidgetSettingsButton.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/WidgetSettingsButton.tsx@@ -73,7 +73,7 @@ const TargetedWidgetSettingsButton = ({const getReturnFocus = useCallback(() => trigger.current, []);const loading = useMemo(() => (- <Text role="status" fontSize="xs" color="fg.muted">+ <Text role="status" fontSize="md" color="fg.muted">{t('common.loading')}</Text>),@@ -91,7 +91,7 @@ const TargetedWidgetSettingsButton = ({ref={trigger}aria-label={t('widgets.settingsLabel', { label })}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={openDialog}>@@ -115,7 +115,7 @@ const TargetedWidgetSettingsButton = ({ref={trigger}aria-label={t('widgets.settingsLabel', { label })}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"><Icon as={SettingsIcon} boxSize="3.5" />@@ -126,7 +126,7 @@ const TargetedWidgetSettingsButton = ({<PopoverContent w="18rem"><Scrollable maxH="min(38rem, calc(100dvh - 4rem))"><Popover.Body p="2.5">- <Popover.Title fontSize="xs" fontWeight="600" mb="1">+ <Popover.Title fontSize="md" fontWeight="600" mb="1">{t('widgets.settingsLabel', { label })}</Popover.Title><RetryBoundary@@ -143,7 +143,7 @@ const TargetedWidgetSettingsButton = ({<SettingsActions {...props} /></Box>) : null}- <Button size="xs" variant="ghost" w="full" mt="2" onClick={openDialog}>+ <Button size="md" variant="ghost" w="full" mt="2" onClick={openDialog}>{t('settingsDialog.allWidgetSettings', { widget: label })}</Button></Popover.Body>diff --git a/invokeai/frontend/webv2/src/workbench/settings/launchpad.tsx b/invokeai/frontend/webv2/src/workbench/settings/launchpad.tsxindex bab5ab739b..9527d05366 100644--- a/invokeai/frontend/webv2/src/workbench/settings/launchpad.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/launchpad.tsx@@ -8,7 +8,7 @@ const LazyPreferencesPage = lazy(() =>const FALLBACK = (<Center h="full">- <Spinner color="fg.muted" size="sm" />+ <Spinner color="fg.muted" size="lg" /></Center>);diff --git a/invokeai/frontend/webv2/src/workbench/shell/AlphaNoticeDialog.tsx b/invokeai/frontend/webv2/src/workbench/shell/AlphaNoticeDialog.tsxindex c8f5009fe9..3f1c30bfdb 100644--- a/invokeai/frontend/webv2/src/workbench/shell/AlphaNoticeDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/AlphaNoticeDialog.tsx@@ -50,8 +50,8 @@ export const AlphaNoticeDialog = () => {</Dialog.Header><Dialog.Body><Stack gap="2">- <Text fontSize="xs">{t('alphaNotice.body')}</Text>- <Text fontSize="xs">+ <Text fontSize="md">{t('alphaNotice.body')}</Text>+ <Text fontSize="md">{t('alphaNotice.reportPrefix')}{' '}<Link color="accent.fg" href={ISSUES_URL} rel="noreferrer" target="_blank">{t('alphaNotice.reportLink')}@@ -61,7 +61,7 @@ export const AlphaNoticeDialog = () => {</Stack></Dialog.Body><Dialog.Footer>- <Button ref={dismissRef} colorPalette="accent" size="xs" variant="solid" onClick={acknowledge}>+ <Button ref={dismissRef} colorPalette="accent" size="md" variant="solid" onClick={acknowledge}>{t('alphaNotice.dismiss')}</Button></Dialog.Footer>diff --git a/invokeai/frontend/webv2/src/workbench/shell/CenterArea.tsx b/invokeai/frontend/webv2/src/workbench/shell/CenterArea.tsxindex 5f240b7efc..afebd2ac32 100644--- a/invokeai/frontend/webv2/src/workbench/shell/CenterArea.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/CenterArea.tsx@@ -283,12 +283,12 @@ const CenterViewMenu = ({overflow="hidden"position="relative"px="2"- size="2xs"+ size="sm"variant="ghost"><HStack gap="2" minW="0" position="relative" zIndex="1">{activeItem ? <CenterViewIcon widget={activeItem.widget} /> : null}- <Text fontSize="xs" fontWeight="700" truncate>+ <Text fontSize="md" fontWeight="700" truncate>{label}</Text><ChevronDownIcon size={12} />@@ -299,7 +299,7 @@ const CenterViewMenu = ({<Menu.Positioner><MenuContent minW="14rem"><Menu.ItemGroup>- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{t('widgets.centerViews')}</Menu.ItemGroupLabel>{items.map((item) => (@@ -316,7 +316,7 @@ const CenterViewMenu = ({<><Menu.Separator borderColor="border.subtle" /><Menu.ItemGroup>- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{t('widgets.centerViewsAdd')}</Menu.ItemGroupLabel>{availableItems.map((item) => (@@ -331,7 +331,7 @@ const CenterViewMenu = ({<Menu.Separator borderColor="border.subtle" /><Menu.Item disabled={isCloseDisabled} value="close-center-view" onClick={onClose}><Icon as={XIcon} boxSize="3.5" color="fg.subtle" />- <Menu.ItemText fontSize="xs">+ <Menu.ItemText fontSize="md">{t('widgets.centerViewClose', { label: activeItem.label })}</Menu.ItemText></Menu.Item>@@ -395,7 +395,7 @@ const CenterViewMenuRow = ({><Icon as={CheckIcon} boxSize="3" opacity={isActive ? 1 : 0} /><WidgetIcon icon={item.icon} boxSize="3.5" />- <Menu.ItemText fontSize="xs">{item.label}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{item.label}</Menu.ItemText></Menu.Item>);};@@ -417,7 +417,7 @@ const KeptCenterViewSlot = ({ instanceId }: { instanceId: string }) => {const FallbackCenterView = ({ label }: { label: string }) => (<Flex align="center" h="full" justify="center" w="full">- <Text color="fg.subtle" fontSize="sm" textTransform="capitalize">+ <Text color="fg.subtle" fontSize="lg" textTransform="capitalize">{label} view</Text></Flex>diff --git a/invokeai/frontend/webv2/src/workbench/shell/PasteMediaDialog.tsx b/invokeai/frontend/webv2/src/workbench/shell/PasteMediaDialog.tsxindex da73c72402..1353e011cc 100644--- a/invokeai/frontend/webv2/src/workbench/shell/PasteMediaDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/PasteMediaDialog.tsx@@ -86,7 +86,7 @@ const CanvasDestinationButton = ({const handleClick = useCallback(() => onChoose(destination), [destination, onChoose]);return (- <Button justifyContent="flex-start" size="sm" variant="outline" onClick={handleClick}>+ <Button justifyContent="flex-start" size="lg" variant="outline" onClick={handleClick}>{label}</Button>);@@ -233,19 +233,19 @@ export const PasteMediaDialog = ({ request }: { request: PasteMediaRequest }) =></Box>))}{request.files.length > PREVIEW_LIMIT ? (- <Flex align="center" color="fg.muted" fontSize="sm" h="64px" px="2">+ <Flex align="center" color="fg.muted" fontSize="lg" h="64px" px="2">{t('shell.pasteMedia.morePreviews', { count: request.files.length - PREVIEW_LIMIT })}</Flex>) : null}</Flex>- <Text color="fg.muted" fontSize="sm">+ <Text color="fg.muted" fontSize="lg">{t('shell.pasteMedia.description', { count: request.files.length })}</Text><Stack gap="2"><Buttonref={galleryButtonRef}justifyContent="flex-start"- size="sm"+ size="lg"variant="outline"onClick={chooseGallery}>@@ -259,7 +259,7 @@ export const PasteMediaDialog = ({ request }: { request: PasteMediaRequest }) =></Button>{hasImages ? (<>- <Text id={canvasHeadingId} color="fg.muted" fontSize="xs" mt="1">+ <Text id={canvasHeadingId} color="fg.muted" fontSize="md" mt="1">{t('shell.pasteMedia.canvasHeading')}</Text><SimpleGrid aria-labelledby={canvasHeadingId} columns={2} gap="2" role="group">@@ -276,7 +276,7 @@ export const PasteMediaDialog = ({ request }: { request: PasteMediaRequest }) =><ButtonjustifyContent="flex-start"mt="1"- size="sm"+ size="lg"variant="outline"onClick={chooseReference}>@@ -287,7 +287,7 @@ export const PasteMediaDialog = ({ request }: { request: PasteMediaRequest }) =></>) : null}{hasImages && hasVideos ? (- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('shell.pasteMedia.videosGalleryOnly')}</Text>) : null}@@ -295,7 +295,7 @@ export const PasteMediaDialog = ({ request }: { request: PasteMediaRequest }) =></Stack></Dialog.Body><Dialog.Footer>- <Button color="fg" size="sm" variant="ghost" onClick={close}>+ <Button color="fg" size="lg" variant="ghost" onClick={close}>{t('common.cancel')}</Button></Dialog.Footer>diff --git a/invokeai/frontend/webv2/src/workbench/shell/ProjectConflictBanner.tsx b/invokeai/frontend/webv2/src/workbench/shell/ProjectConflictBanner.tsxindex 18ac903aba..8520e61b7b 100644--- a/invokeai/frontend/webv2/src/workbench/shell/ProjectConflictBanner.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/ProjectConflictBanner.tsx@@ -221,7 +221,7 @@ export const ProjectConflictBanner = () => {<Buttondisabled={pendingAction !== null || selectedRecoverableDraftIndex === 0}onClick={selectPreviousRecoverableDraft}- size="sm"+ size="lg"variant="ghost">{t('shell.projectConflict.previousDraft')}@@ -231,7 +231,7 @@ export const ProjectConflictBanner = () => {pendingAction !== null || selectedRecoverableDraftIndex === recoverableDrafts.length - 1}onClick={selectNextRecoverableDraft}- size="sm"+ size="lg"variant="ghost">{t('shell.projectConflict.nextDraft')}@@ -242,7 +242,7 @@ export const ProjectConflictBanner = () => {disabled={pendingAction !== null}loading={pendingAction === 'export-recoverable'}onClick={handleExportRecoverable}- size="sm"+ size="lg"variant="outline">{t('shell.projectConflict.export')}@@ -250,7 +250,7 @@ export const ProjectConflictBanner = () => {<Buttondisabled={pendingAction !== null}onClick={openDeleteRecoverableConfirmation}- size="sm"+ size="lg"variant="ghost">{t('shell.projectConflict.deleteDraft')}@@ -275,7 +275,7 @@ export const ProjectConflictBanner = () => {disabled={pendingAction !== null}loading={pendingAction === 'save-as-new'}onClick={handleSaveAsNew}- size="sm"+ size="lg">{t('shell.projectConflict.saveAsNew')}</Button>@@ -284,7 +284,7 @@ export const ProjectConflictBanner = () => {<Buttondisabled={pendingAction !== null}onClick={openUseServerConfirmation}- size="sm"+ size="lg"variant="outline">{t('shell.projectConflict.useServer')}@@ -294,7 +294,7 @@ export const ProjectConflictBanner = () => {<Buttondisabled={pendingAction !== null}onClick={openDiscardConfirmation}- size="sm"+ size="lg"variant="outline">{t('shell.projectConflict.discard')}@@ -305,7 +305,7 @@ export const ProjectConflictBanner = () => {disabled={pendingAction !== null}loading={pendingAction === 'export'}onClick={handleExport}- size="sm"+ size="lg"variant="ghost">{t('shell.projectConflict.export')}diff --git a/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.tsx b/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.tsxindex 522d741a3a..1d93914296 100644--- a/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.tsx@@ -91,9 +91,9 @@ export const WhatsNewDialog = () => {<VStack gap="3"><Image alt="" boxSize="24" draggable={false} src={v7LogoUrl} /><VStack gap="1.5">- <Dialog.Title textStyle="xl">{t('whatsNew.whatsNewInInvoke')}</Dialog.Title>+ <Dialog.Title textStyle="3xl">{t('whatsNew.whatsNewInInvoke')}</Dialog.Title>{version ? (- <Badge fontFamily="mono" size="sm" variant="subtle">+ <Badge fontFamily="mono" size="lg" variant="subtle">v{version}</Badge>) : null}@@ -126,10 +126,10 @@ export const WhatsNewDialog = () => {<HighlightIcon aria-hidden size={16} /></Flex><Box minW="0">- <Text fontWeight="600" textStyle="sm">+ <Text fontWeight="600" textStyle="lg">{t(titleKey)}</Text>- <Text color="fg.muted" textStyle="xs">+ <Text color="fg.muted" textStyle="md">{t(descriptionKey)}</Text></Box>@@ -138,10 +138,10 @@ export const WhatsNewDialog = () => {</Grid>{items.length > 0 ? (<Stack gap="1.5">- <Text color="fg.subtle" fontWeight="600" textStyle="2xs" textTransform="uppercase">+ <Text color="fg.subtle" fontWeight="600" textStyle="xs" textTransform="uppercase">{t('whatsNew.alsoNew')}</Text>- <List.Root color="fg.muted" gap="1" ps="4" textStyle="xs">+ <List.Root color="fg.muted" gap="1" ps="4" textStyle="md">{items.map((item, index) => (// The catalog order is fixed for a build, so the index is a stable key.<List.Item key={index}>{item}</List.Item>@@ -152,13 +152,13 @@ export const WhatsNewDialog = () => {</Stack></Dialog.Body><Dialog.Footer borderColor="border.subtle" borderTopWidth="1px" px="6" py="3">- <Button asChild size="xs" variant="outline">+ <Button asChild size="md" variant="outline"><Link href={DOCS_URL} rel="noreferrer" target="_blank"><BookOpenIcon aria-hidden />{t('whatsNew.readTheDocs')}</Link></Button>- <Button asChild size="xs" variant="solid">+ <Button asChild size="md" variant="solid"><Link href={getReleaseNotesUrl(version)} rel="noreferrer" target="_blank"><ScrollTextIcon aria-hidden />{t('whatsNew.readReleaseNotes')}diff --git a/invokeai/frontend/webv2/src/workbench/shell/WorkbenchShell.tsx b/invokeai/frontend/webv2/src/workbench/shell/WorkbenchShell.tsxindex 6774dd5407..89a742499f 100644--- a/invokeai/frontend/webv2/src/workbench/shell/WorkbenchShell.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/WorkbenchShell.tsx@@ -354,7 +354,7 @@ const DRAG_OVERLAY_STYLE = { pointerEvents: 'none' } as const;const WidgetDragPreview = ({ activeDrag }: { activeDrag: ActiveWidgetDrag }) => (<HStack bg="bg" borderWidth="1px" gap="2" px="3" py="2" rounded="md" shadow="lg"><WidgetIcon icon={activeDrag.icon} boxSize="4" />- <Text fontSize="xs" fontWeight="700">+ <Text fontSize="md" fontWeight="700">{activeDrag.label}</Text></HStack>diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/AppMenu.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/AppMenu.tsxindex 2628db703b..0bf92018d6 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/AppMenu.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/AppMenu.tsx@@ -64,7 +64,7 @@ export const AppMenu = () => {return (<Menu.Root positioning={MENU_POSITIONING}><Menu.Trigger asChild>- <IconButton aria-label={t('topbar.appMenu.open')} className="group" pe="1.5" size="sm" variant="ghost">+ <IconButton aria-label={t('topbar.appMenu.open')} className="group" pe="1.5" size="lg" variant="ghost"><AppMenuGlyph /></IconButton></Menu.Trigger>@@ -72,10 +72,10 @@ export const AppMenu = () => {<Menu.Positioner><MenuContent minW="15rem"><HStack justify="space-between" px="3" py="2">- <Text fontSize="xs" fontWeight="800">+ <Text fontSize="md" fontWeight="800">Invoke</Text>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">v{APP_VERSION}</Text></HStack>@@ -86,7 +86,7 @@ export const AppMenu = () => {</Menu.Item><Menu.Separator /><Menu.ItemGroup>- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{t('topbar.appMenu.manage')}</Menu.ItemGroupLabel><Menu.Item value="projects" onClick={openProjects}>@@ -113,7 +113,7 @@ export const AppMenu = () => {<Icon as={ListOrderedIcon} boxSize="3.5" /><Menu.ItemText>{t('widgets.labels.queue')}</Menu.ItemText>{queuedCount > 0 ? (- <Badge colorPalette="accent" fontSize="2xs" ms="auto" variant="surface">+ <Badge colorPalette="accent" fontSize="xs" ms="auto" variant="surface">{queuedCount}</Badge>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/InvokeButton.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/InvokeButton.tsxindex 833c4a2444..3c1b996c43 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/InvokeButton.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/InvokeButton.tsx@@ -1,4 +1,4 @@-import type { ComponentProps, FocusEvent } from 'react';+import type { FocusEvent } from 'react';import { Box, HStack, Icon, Kbd, ProgressCircle, Separator, Spinner, Stack, Text } from '@chakra-ui/react';import { getDeterminateProgressFraction } from '@features/queue/contracts';@@ -28,10 +28,6 @@ const INVOKE_BUTTON_CSS = { '&&': { borderRadius: 'control !important' } } as co/** The hint inherits the button's text color; its frame is that color, faded. */const SHORTCUT_BORDER = 'color-mix(in oklab, currentColor 40%, transparent)';-type ProgressCircleRootProps = ComponentProps<typeof ProgressCircle.Root>;-// Cast the repository's 3xs theme extension, which generated Chakra types do not yet include.-const ICON_RING_SIZE = '3xs' as ProgressCircleRootProps['size'];-const compactBlockingReason = (reason: string, noNodesLabel: string): string => {if (reason === 'The project graph has no nodes. Add nodes in the Workflow view.') {return noNodesLabel;@@ -100,7 +96,7 @@ export const InvokeButton = ({ state }: { state: InvocationState }) => {cursor={canInvoke ? undefined : 'not-allowed'}flexShrink={0}opacity={canInvoke ? undefined : 0.55}- size="sm"+ size="lg"onBlur={handleBlur}onClick={canInvoke ? handleClick : undefined}onFocus={handleFocus}@@ -115,7 +111,7 @@ export const InvokeButton = ({ state }: { state: InvocationState }) => {// The app-wide spinner, not the ring's indeterminate sweep, for unknown progress.<Spinner borderWidth="1.5px" boxSize="3.5" color="bg" />) : (- <ProgressCircle.Root size={ICON_RING_SIZE} value={iconMode.value * 100}>+ <ProgressCircle.Root size="xs" value={iconMode.value * 100}><ProgressCircle.Circle><ProgressCircle.Track stroke="bg/40" /><ProgressCircle.Range stroke="bg" strokeLinecap="round" />@@ -125,7 +121,7 @@ export const InvokeButton = ({ state }: { state: InvocationState }) => {</Box>{t('topbar.invoke.invoke')}{shortcutParts ? (- <Kbd css={HIDE_BELOW_HINT_WIDTH} variant="outline" borderColor={SHORTCUT_BORDER} color="inherit" size="sm">+ <Kbd css={HIDE_BELOW_HINT_WIDTH} variant="outline" borderColor={SHORTCUT_BORDER} color="inherit" size="md"><TopbarShortcutKeys parts={shortcutParts} /></Kbd>) : null}@@ -153,7 +149,7 @@ const InvokeTooltipContent = ({ shortcutParts, state }: { shortcutParts: string[return (<Stack gap="1.5" minW="14rem" p="2"><HStack justify="space-between">- <Text fontSize="xs" fontWeight="800">+ <Text fontSize="md" fontWeight="800">{isPreparing? t('topbar.invoke.preparing'): isValid@@ -161,34 +157,34 @@ const InvokeTooltipContent = ({ shortcutParts, state }: { shortcutParts: string[: t('topbar.invoke.unableToQueue')}</Text>{shortcutParts ? (- <Kbd size="sm" variant="subtle">+ <Kbd size="md" variant="subtle"><TopbarShortcutKeys parts={shortcutParts} /></Kbd>) : null}</HStack>- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{summary}</Text><Separator borderColor="border.subtle" />{isPreparing ? (- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('topbar.invoke.preparing')}</Text>) : blockingReasons.length > 0 ? (<Stack gap="1">{blockingReasons.map((reason) => (<HStack key={reason} align="start" gap="1.5">- <Text color="fg.subtle" fontSize="xs" lineHeight="1.35">+ <Text color="fg.subtle" fontSize="md" lineHeight="1.35">•</Text>- <Text color="fg.muted" fontSize="xs" lineHeight="1.35">+ <Text color="fg.muted" fontSize="md" lineHeight="1.35">{compactBlockingReason(reason, t('topbar.invoke.noNodes'))}</Text></HStack>))}</Stack>) : (- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('topbar.invoke.addingImagesTo', { destination })}</Text>)}diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/IterationsField.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/IterationsField.tsxindex 693b42eb28..5fe2cea561 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/IterationsField.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/IterationsField.tsx@@ -63,7 +63,7 @@ export const IterationsField = () => {flexShrink={0}min={MIN_BATCH_COUNT}rounded="control"- size="sm"+ size="lg"value={String(batchCount)}w="14"onValueChange={handleValueChange}diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetDialog.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetDialog.tsxindex c9e0c9bab5..1056785807 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetDialog.tsx@@ -186,7 +186,7 @@ export const LayoutPresetDialog = ({ref={nameRef}autoComplete="off"name="layout-preset-name"- size="sm"+ size="lg"value={name}onChange={handleNameChange}/>@@ -198,7 +198,7 @@ export const LayoutPresetDialog = ({tabIndex={-1}onKeyDown={handleIconKeyDown}>- <Text color="fg.subtle" fontSize="2xs" fontWeight="700" textTransform="uppercase">+ <Text color="fg.subtle" fontSize="xs" fontWeight="700" textTransform="uppercase">{t('topbar.presets.icon')}</Text><SimpleGrid columns={8} gap="1">@@ -222,7 +222,7 @@ export const LayoutPresetDialog = ({collection={sourceCollection}disabled={sourceOptions.length === 0}renderItem={renderSourceOption}- size="xs"+ size="md"triggerProps={sourceTriggerProps}value={sourceValue}valueText={@@ -244,10 +244,10 @@ export const LayoutPresetDialog = ({</Stack></Dialog.Body><Dialog.Footer>- <Button size="xs" type="button" variant="ghost" onClick={onClose}>+ <Button size="md" type="button" variant="ghost" onClick={onClose}>{t('common.cancel')}</Button>- <Button disabled={!canSubmit} size="xs" type="submit">+ <Button disabled={!canSubmit} size="md" type="submit">{submitLabel}</Button></Dialog.Footer>@@ -282,7 +282,7 @@ const IconOption = ({colorPalette={isSelected ? 'accent' : undefined}data-icon-id={iconId}role="radio"- size="sm"+ size="lg"tabIndex={isSelected ? 0 : -1}type="button"variant={isSelected ? 'solid' : 'ghost'}diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetManagerDialogBody.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetManagerDialogBody.tsxindex 5f691105b1..6f53b600f1 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetManagerDialogBody.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetManagerDialogBody.tsx@@ -102,7 +102,7 @@ export const LayoutPresetManagerDialogBody = () => {</DndContext></Dialog.Body><Dialog.Footer>- <Button size="xs" variant="ghost" onClick={closeLayoutPresetManager}>+ <Button size="md" variant="ghost" onClick={closeLayoutPresetManager}>{t('common.done')}</Button></Dialog.Footer>@@ -155,14 +155,14 @@ const PresetRow = ({ isOverridden, preset }: { isOverridden: boolean; preset: Laaria-label={t('topbar.presets.reorderNamed', { name: preset.label })}color="fg.subtle"cursor={isDragging ? 'grabbing' : 'grab'}- size="2xs"+ size="sm"touchAction="none"variant="ghost"><Icon as={GripVerticalIcon} boxSize="3.5" /></IconButton><Icon as={icon} boxSize="4" color="fg.muted" flexShrink={0} />- <MiddleTruncate flex="1" fontSize="xs" fontWeight="600" minW="0" text={preset.label} />+ <MiddleTruncate flex="1" fontSize="md" fontWeight="600" minW="0" text={preset.label} />{isOverridden ? (<Boxaria-label={t('topbar.presets.edited')}@@ -175,7 +175,7 @@ const PresetRow = ({ isOverridden, preset }: { isOverridden: boolean; preset: La) : null}<IconButtonaria-label={t('topbar.presets.editNamed', { name: preset.label })}- size="2xs"+ size="sm"variant="ghost"onClick={edit}>@@ -185,7 +185,7 @@ const PresetRow = ({ isOverridden, preset }: { isOverridden: boolean; preset: La<Tooltip content={t('topbar.presets.restore')} showArrow><IconButtonaria-label={t('topbar.presets.restoreNamed', { name: preset.label })}- size="2xs"+ size="sm"variant="ghost"onClick={restoreDefault}>@@ -197,7 +197,7 @@ const PresetRow = ({ isOverridden, preset }: { isOverridden: boolean; preset: La<IconButtonaria-label={t('topbar.presets.deleteNamed', { name: preset.label })}color="fg.error"- size="2xs"+ size="sm"variant="ghost"onClick={deletePreset}>diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetStrip.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetStrip.tsxindex 5557a04338..883b74e0a2 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetStrip.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/LayoutPresetStrip.tsx@@ -186,7 +186,7 @@ export const LayoutPresetStrip = () => {><Tabs.RootminW="max-content"- size="xs"+ size="lg"value={selectedPresetId}variant="subtle"onValueChange={handleValueChange}@@ -220,7 +220,7 @@ export const LayoutPresetStrip = () => {<Tooltip content={t('topbar.presets.saveAsTooltip')} showArrow><IconButtonaria-label={t('topbar.presets.saveAsTooltip')}- size="sm"+ size="lg"variant="ghost"onClick={openSaveAsDialog}>@@ -487,9 +487,9 @@ const PresetMenu = ({<Menu.Positioner><MenuContent minW="16rem"><HStack justify="space-between" px="3" py="2">- <MiddleTruncate fontSize="xs" fontWeight="700" text={preset.label} />+ <MiddleTruncate fontSize="md" fontWeight="700" text={preset.label} />{showDrift ? (- <Text color="fg.muted" fontSize="2xs" flexShrink={0}>+ <Text color="fg.muted" fontSize="xs" flexShrink={0}>{t('topbar.presets.unsaved')}</Text>) : null}@@ -515,7 +515,7 @@ const PresetMenu = ({<Icon as={SaveIcon} boxSize="3.5" /><Menu.ItemText>{t('topbar.presets.saveChanges')}</Menu.ItemText>{saveShortcut ? (- <Text color="fg.subtle" fontSize="2xs" ms="auto">+ <Text color="fg.subtle" fontSize="xs" ms="auto">{saveShortcut}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/ProjectSwitcher.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/ProjectSwitcher.tsxindex 1daf0b2113..acdeff97ec 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/ProjectSwitcher.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/ProjectSwitcher.tsx@@ -175,7 +175,7 @@ export const ProjectSwitcher = () => {<Buttonref={triggerRef}aria-label={t('topbar.projectSwitcher.trigger', { name: activeProjectName })}- size="sm"+ size="lg"variant="ghost"onContextMenu={handleTriggerContextMenu}>@@ -187,10 +187,10 @@ export const ProjectSwitcher = () => {<Menu.Positioner><MenuContent maxW="22rem" minW="18rem"><Stack gap="0" px="3" py="2">- <Text color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Text color="fg.subtle" fontSize="xs" textTransform="uppercase">{t('projects.projectDetails')}</Text>- <MiddleTruncate fontSize="xs" fontWeight="700" text={activeProjectName} />+ <MiddleTruncate fontSize="md" fontWeight="700" text={activeProjectName} /></Stack><Menu.Separator /><Menu.Item value="rename-project" onClick={renameActiveProject}>@@ -216,7 +216,7 @@ export const ProjectSwitcher = () => {<Menu.Separator /><Menu.RadioItemGroup value={activeProjectId} onValueChange={selectOpenProject}>- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{t('projects.openProjects')}</Menu.ItemGroupLabel>{openProjectSummaries.map((project) => (@@ -233,7 +233,7 @@ export const ProjectSwitcher = () => {<><Menu.Separator /><Menu.ItemGroup>- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{t('common.recent')}</Menu.ItemGroupLabel>{recentSummaries.map((summary) => (@@ -334,7 +334,7 @@ const RecentProjectRow = ({<Menu.ItemText flex="1" minW="0"><MiddleTruncate as="span" text={summary.name} /></Menu.ItemText>- <Text color="fg.subtle" flexShrink={0} fontSize="2xs">+ <Text color="fg.subtle" flexShrink={0} fontSize="xs">{t('projects.editedRelative', { time: formatRelativeTime(summary.updatedAt) })}</Text></Menu.Item>diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/QueueCluster.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/QueueCluster.tsxindex fffcd3ed31..464930c0cf 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/QueueCluster.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/QueueCluster.tsx@@ -108,7 +108,7 @@ export const QueueCluster = () => {fontVariantNumeric="tabular-nums"overflow="hidden"position="relative"- size="sm"+ size="lg"px={2}variant={tone === 'idle' ? 'outline' : 'subtle'}onClick={handleOpenQueue}@@ -132,7 +132,7 @@ export const QueueCluster = () => {<IconButtonaria-label={isCancelAllArmed && cancelAll ? cancelAll.label : cancelCurrent.label}color="fg.error"- size="sm"+ size="lg"variant="outline"onClick={handleCancelClick}onPointerEnter={handleCancelPointerEnter}@@ -151,7 +151,7 @@ export const QueueCluster = () => {<IconButtonaria-label={t('topbar.queue.actions')}color="fg.subtle"- size="sm"+ size="lg"minW="0"w="6"variant="outline"@@ -266,10 +266,10 @@ const QueueTooltip = ({if (total === 0) {return (<Stack gap="1" p="3">- <Text fontSize="xs" fontWeight="800" fontVariantNumeric="tabular-nums">+ <Text fontSize="md" fontWeight="800" fontVariantNumeric="tabular-nums">{t('topbar.queue.idle')}</Text>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('topbar.queue.noActiveBatches')}</Text></Stack>@@ -279,10 +279,10 @@ const QueueTooltip = ({if (!item) {return (<Stack gap="2" p="3">- <Text fontSize="xs" fontWeight="800" fontVariantNumeric="tabular-nums">+ <Text fontSize="md" fontWeight="800" fontVariantNumeric="tabular-nums">{modelLoads.length ? t('topbar.queue.loadingModels') : t('topbar.queue.waitingToStart')}</Text>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('topbar.queue.queuedImages', { count: total })}</Text>{modelLoads.length ? <ModelLoadList modelLoads={modelLoads} /> : null}@@ -304,22 +304,22 @@ const QueueTooltip = ({return (<Stack gap="2" p="3" minW="18rem"><HStack justify="space-between" gap="3">- <Text fontSize="xs" fontWeight="800">+ <Text fontSize="md" fontWeight="800">{t('topbar.queue.loadingImage', { current, total })}</Text>- <Badge colorPalette="blue" fontSize="2xs">+ <Badge colorPalette="blue" fontSize="xs">{item.status}</Badge></HStack><Stack gap="1">- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{progressLabel}</Text>{modelLoads.length ? <ModelLoadList modelLoads={modelLoads} /> : null}<Progress.Rootaria-label={t('topbar.queue.currentImageProgress')}max={1}- size="xs"+ size="md"value={getDeterminateProgressFraction(progress?.percentage)}><Progress.Track>@@ -327,7 +327,7 @@ const QueueTooltip = ({</Progress.Track></Progress.Root></Stack>- <Stack gap="1" color="fg.subtle" fontSize="2xs">+ <Stack gap="1" color="fg.subtle" fontSize="xs"><Text fontVariantNumeric="tabular-nums">{t('topbar.queue.batchImage', { current: activeItemIndex, total: expectedCount })}{activeBackendItemId !== undefined ? ` · ${t('topbar.queue.backendItem', { id: activeBackendItemId })}` : ''}@@ -345,7 +345,7 @@ const QueueTooltip = ({</Text></Stack>{prompt ? (- <Text color="fg.muted" fontSize="2xs" lineClamp={2}>+ <Text color="fg.muted" fontSize="xs" lineClamp={2}>{prompt}</Text>) : null}@@ -358,7 +358,7 @@ const ModelLoadsTooltipContent = ({ modelLoads }: { modelLoads: ModelLoadInfo[]return (<Stack gap="2" p="3" minW="18rem">- <Text fontSize="xs" fontWeight="800">+ <Text fontSize="md" fontWeight="800">{t('topbar.queue.loadingModelsCount', { count: modelLoads.length })}</Text><ModelLoadList modelLoads={modelLoads} />@@ -370,7 +370,7 @@ const ModelLoadList = ({ modelLoads }: { modelLoads: ModelLoadInfo[] }) => {const { t } = useTranslation();return (- <Stack gap="0.5" color="fg.muted" fontSize="2xs">+ <Stack gap="0.5" color="fg.muted" fontSize="xs">{modelLoads.slice(0, 3).map((modelLoad, index) => (<MiddleTruncate key={`${modelLoad.label}:${index}`} text={modelLoad.label} />))}diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.browser.test.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.browser.test.tsxindex 27e09e0f1d..34796f662c 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.browser.test.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.browser.test.tsx@@ -77,7 +77,7 @@ const renderControl = async (state: InvocationState) => {root?.render(<ChakraProvider value={system}><Group attached>- <Button data-routing-height-reference="" size="sm">+ <Button data-routing-height-reference="" size="lg">Invoke</Button><RoutingControl state={state} />@@ -141,7 +141,7 @@ describe('RoutingControl', () => {root?.render(<ChakraProvider value={system}><Group attached>- <Button data-routing-height-reference="" size="sm">+ <Button data-routing-height-reference="" size="lg">Invoke</Button><RoutingControl state={LOCKED_STATE} />diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.tsxindex 22d83f2ed3..2edf169325 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.tsx@@ -88,7 +88,7 @@ export const RoutingControl = ({ state }: { state: InvocationState }) => {overflow="visible"p="0"position="relative"- size="sm"+ size="lg"variant="outline"w="34px"display="grid"@@ -128,7 +128,7 @@ export const RoutingControl = ({ state }: { state: InvocationState }) => {pointerEvents="none"position="absolute"right="-1px"- size="sm"+ size="md"top="-1px"zIndex="1">@@ -161,7 +161,7 @@ export const RoutingControl = ({ state }: { state: InvocationState }) => {};const RoutingSectionHeader = ({ label }: { label: string }) => (- <Text color="fg.subtle" fontSize="2xs" fontWeight="700" px="3" pt="2" pb="1" textTransform="uppercase">+ <Text color="fg.subtle" fontSize="xs" fontWeight="700" px="3" pt="2" pb="1" textTransform="uppercase">{label}</Text>);diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingDestinationSegments.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingDestinationSegments.tsxindex 06a4ddd1a7..4e4ff96c3e 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingDestinationSegments.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingDestinationSegments.tsx@@ -27,7 +27,7 @@ export const RoutingDestinationSegments = ({);return (- <SegmentGroup.Root aria-label={ariaLabel} disabled={disabled} size="xs" value={value} onValueChange={handleChange}>+ <SegmentGroup.Root aria-label={ariaLabel} disabled={disabled} size="md" value={value} onValueChange={handleChange}><SegmentGroup.Indicator />{resultDestinations.map((destination) => (<SegmentGroup.Item key={destination.id} flex="1" justifyContent="center" value={destination.id}>diff --git a/invokeai/frontend/webv2/src/workbench/widget-frame/FloatingWidgetWindow.tsx b/invokeai/frontend/webv2/src/workbench/widget-frame/FloatingWidgetWindow.tsxindex 030d393ba5..5991a0c3fa 100644--- a/invokeai/frontend/webv2/src/workbench/widget-frame/FloatingWidgetWindow.tsx+++ b/invokeai/frontend/webv2/src/workbench/widget-frame/FloatingWidgetWindow.tsx@@ -302,7 +302,7 @@ export const FloatingWidgetWindow = ({><HStack flex="1" gap="1.5" minW="0">{widget ? <WidgetIcon boxSize="4" icon={widget.manifest.icon} /> : null}- <Text fontSize="xs" fontWeight="700" truncate>+ <Text fontSize="md" fontWeight="700" truncate>{label}</Text></HStack>@@ -325,7 +325,7 @@ export const FloatingWidgetWindow = ({<IconButtonaria-label={isShaded ? t('widgets.floating.unshade') : t('widgets.floating.shade')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={handleToggleShade}>@@ -336,7 +336,7 @@ export const FloatingWidgetWindow = ({<IconButtonaria-label={isMaximized ? t('widgets.floating.restore') : t('widgets.floating.maximize')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={handleToggleMaximize}>@@ -347,7 +347,7 @@ export const FloatingWidgetWindow = ({<IconButtonaria-label={t('widgets.floating.dock')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={handleDock}>@@ -363,7 +363,7 @@ export const FloatingWidgetWindow = ({) : (<HStack color="fg.error" gap="1.5" p="3"><Icon as={TriangleAlertIcon} boxSize="3.5" />- <Text fontSize="xs">{t('widgets.failure.title', { label })}</Text>+ <Text fontSize="md">{t('widgets.failure.title', { label })}</Text></HStack>)}</Flex>diff --git a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetActionsMenu.tsx b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetActionsMenu.tsxindex 0f6a054420..b19d35056a 100644--- a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetActionsMenu.tsx+++ b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetActionsMenu.tsx@@ -64,7 +64,7 @@ const GraphSurfaceMenuItems = ({return (<Menu.ItemGroup>- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{t('common.graph')}</Menu.ItemGroupLabel><Menu.Item@@ -76,7 +76,7 @@ const GraphSurfaceMenuItems = ({<Icon as={TargetIcon} boxSize="3.5" /><Menu.ItemText>{t('widgets.graph.setSource')}</Menu.ItemText>{isActiveSource ? (- <Text color="fg.subtle" fontSize="2xs" ms="auto">+ <Text color="fg.subtle" fontSize="xs" ms="auto">{t('common.active')}</Text>) : null}@@ -141,7 +141,7 @@ export const WidgetActionsMenu = ({<><Menu.Root positioning={MENU_POSITIONING}><Menu.Trigger asChild>- <IconButton aria-label={t('widgets.actionsLabel', { label })} color="fg.muted" size="2xs" variant="ghost">+ <IconButton aria-label={t('widgets.actionsLabel', { label })} color="fg.muted" size="sm" variant="ghost"><MoreHorizontalIcon /></IconButton></Menu.Trigger>diff --git a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetEnableMenu.tsx b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetEnableMenu.tsxindex c2d091f8a0..707cddb049 100644--- a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetEnableMenu.tsx+++ b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetEnableMenu.tsx@@ -47,7 +47,7 @@ const MENU_ITEM_DISABLED_PROPS = { opacity: 0.4 };const getWidgetEnableMenuTriggerButton = (label: string, trigger: WidgetEnableMenuTrigger) => {if (trigger.kind === 'center') {return (- <IconButton aria-label={label} size="xs" variant="ghost">+ <IconButton aria-label={label} size="md" variant="ghost"><Icon as={MoreHorizontalIcon} boxSize="4" /></IconButton>);@@ -91,7 +91,7 @@ export const WidgetEnableMenu = ({const content = (<MenuContent minW="12rem"><Menu.ItemGroup>- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{groupLabel}</Menu.ItemGroupLabel>{items.map((item) => {@@ -172,7 +172,7 @@ const WidgetEnableMenuRow = ({<WidgetIcon icon={item.icon} boxSize="3.5" /><Menu.ItemText>{item.label}</Menu.ItemText>{meta ? (- <Text color="fg.subtle" fontSize="2xs" ms="auto">+ <Text color="fg.subtle" fontSize="xs" ms="auto">{meta}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFailureBoundary.tsx b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFailureBoundary.tsxindex 8ce8fd814a..a8fb149983 100644--- a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFailureBoundary.tsx+++ b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFailureBoundary.tsx@@ -75,10 +75,10 @@ const WidgetFailureCard = ({return (<Stack bg="bg.muted" borderColor="border.error" borderWidth="1px" gap="2" p="3" rounded="md">- <Text color="fg.error" fontSize="xs" fontWeight="700">+ <Text color="fg.error" fontSize="md" fontWeight="700">{t('widgets.failure.title', { label })}</Text>- <ScrollArea.Root maxH="8rem" size="xs" variant="hover">+ <ScrollArea.Root maxH="8rem" size="md" variant="hover"><ScrollArea.Viewport ref={viewportRef} maxH="8rem"><ScrollArea.Content><Code display="block" p="2" whiteSpace="pre-wrap">@@ -95,10 +95,10 @@ const WidgetFailureCard = ({<ScrollArea.Corner /></ScrollArea.Root><Stack direction="row" gap="2">- <Button alignSelf="start" size="2xs" variant="outline" onClick={onRetry}>+ <Button alignSelf="start" size="sm" variant="outline" onClick={onRetry}>{t('widgets.failure.retry')}</Button>- <Button alignSelf="start" size="2xs" variant="outline" onClick={copy}>+ <Button alignSelf="start" size="sm" variant="outline" onClick={copy}>{t('widgets.failure.copyError')}</Button></Stack>@@ -133,7 +133,7 @@ const WidgetFailureHeader = ({ label, region }: { label: string; region: WidgetV<HStack borderBottomWidth="1px" h="10" justify="space-between" pe="2" ps="3"><HStack color="fg.error" flex="1" gap="1.5" minW="0"><TriangleAlertIcon size={14} />- <Text data-widget-identity-label="" fontSize="xs" fontWeight="700">+ <Text data-widget-identity-label="" fontSize="md" fontWeight="700">{label}</Text></HStack>@@ -162,10 +162,10 @@ const WidgetFailureFallback = ({if (presentation === 'tooltip' && widget) {return (<WidgetTooltipFrame icon={widget.manifest.icon}>- <Text color="fg.error" fontSize="xs" fontWeight="700">+ <Text color="fg.error" fontSize="md" fontWeight="700">{t('widgets.failure.title', { label })}</Text>- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{details}</Text></WidgetTooltipFrame>diff --git a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFrames.tsx b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFrames.tsxindex d8a6253b1c..47d997dba7 100644--- a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFrames.tsx+++ b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFrames.tsx@@ -184,7 +184,7 @@ export const WidgetFloatButton = ({<IconButtonaria-label={t('widgets.floating.floatWindow')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={handleFloat}>@@ -265,7 +265,7 @@ export const WidgetHeader = ({{HeaderLabel && !instance.title ? (<HeaderLabel region={region} />) : (- <Text data-widget-identity-label="" fontSize="xs" fontWeight="700">+ <Text data-widget-identity-label="" fontSize="md" fontWeight="700">{label}</Text>)}@@ -301,7 +301,7 @@ export const WidgetTooltipFrame = ({export const FieldPlaceholder = ({ label, h }: { label: string; h: string }) => (<Stack gap="1">- <Text color="fg.muted" fontSize="2xs" fontWeight="600" textTransform="uppercase">+ <Text color="fg.muted" fontSize="xs" fontWeight="600" textTransform="uppercase">{label}</Text><Box bg="bg.subtle" borderWidth="1px" borderColor="border.subtle" h={h} rounded="md" w="full" />diff --git a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetInstanceContextMenu.tsx b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetInstanceContextMenu.tsxindex 59474fe9db..124838e195 100644--- a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetInstanceContextMenu.tsx+++ b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetInstanceContextMenu.tsx@@ -91,7 +91,7 @@ export const WidgetInstanceContextMenu = ({<Icon as={XIcon} boxSize="3.5" /><Menu.ItemText>{t('widgets.removeWidget', { label: target.item.label })}</Menu.ItemText>{isDisabled ? (- <Text color="fg.subtle" fontSize="2xs" ms="auto">+ <Text color="fg.subtle" fontSize="xs" ms="auto">{removeDisabledLabel}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetLoadingFallback.tsx b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetLoadingFallback.tsxindex 312668c08e..c1a22848cf 100644--- a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetLoadingFallback.tsx+++ b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetLoadingFallback.tsx@@ -20,7 +20,7 @@ const WidgetLoadingHeader = ({ label, widget }: { label: string; widget: Registe<HStack borderBottomWidth="1px" h="10" justify="space-between" pe="2" ps="3"><HStack flex="1" gap="1.5" minW="0"><WidgetIdentityIcon icon={widget.manifest.icon} isLoading />- <Text data-widget-identity-label="" fontSize="xs" fontWeight="700">+ <Text data-widget-identity-label="" fontSize="md" fontWeight="700">{label}</Text></HStack>@@ -83,7 +83,7 @@ const TooltipWidgetLoadingFallback = ({}) => (<Box aria-atomic="true" aria-busy="true" aria-label={loadingLabel} aria-live="polite" role="status"><WidgetTooltipFrame icon={widget.manifest.icon} isLoading>- <Text data-widget-identity-label="" fontSize="xs" fontWeight="700">+ <Text data-widget-identity-label="" fontSize="md" fontWeight="700">{label}</Text></WidgetTooltipFrame>@@ -114,7 +114,7 @@ const InlineWidgetLoadingFallback = ({w="full"><WidgetIdentityIcon icon={widget.manifest.icon} isLoading />- <Text data-widget-identity-label="" fontSize="xs" fontWeight="700">+ <Text data-widget-identity-label="" fontSize="md" fontWeight="700">{label}</Text></Flex>diff --git a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetRenderer.browser.test.tsx b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetRenderer.browser.test.tsxindex 911ac64a0f..79ac0fd18f 100644--- a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetRenderer.browser.test.tsx+++ b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetRenderer.browser.test.tsx@@ -89,10 +89,10 @@ const TestIcon = (props: SVGProps<SVGSVGElement>) => <svg {...props} />;const TestView = () => <div data-testid="loaded" />;const TooltipView = () => (<Stack data-testid="loaded" gap="2">- <Text data-widget-identity-label="" fontSize="xs" fontWeight="700">+ <Text data-widget-identity-label="" fontSize="md" fontWeight="700">Test widget</Text>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">Ready</Text></Stack>@@ -103,7 +103,7 @@ const CompactView = () => (</StatusWidgetChip>);const CustomHeaderLabel = () => (- <Text data-widget-identity-label="" fontSize="xs" fontWeight="700">+ <Text data-widget-identity-label="" fontSize="md" fontWeight="700">Custom widget label</Text>);diff --git a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetRenderer.tsx b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetRenderer.tsxindex 73d2252c28..ffccdd26f0 100644--- a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetRenderer.tsx+++ b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetRenderer.tsx@@ -449,10 +449,10 @@ const FooterSlot = memo(function FooterSlot({export const MissingWidgetFrame = ({ label, region }: { label: string; region: Exclude<WidgetRegion, 'center'> }) => (<WidgetPanelFrame region={region}><Box p="3">- <Text fontSize="xs" fontWeight="700">+ <Text fontSize="md" fontWeight="700">{label}</Text>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">Widget view unavailable.</Text></Box>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/autosave-status/AutosaveStatusWidgetView.tsx b/invokeai/frontend/webv2/src/workbench/widgets/autosave-status/AutosaveStatusWidgetView.tsxindex 9874640bf4..73982345ad 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/autosave-status/AutosaveStatusWidgetView.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/autosave-status/AutosaveStatusWidgetView.tsx@@ -25,19 +25,19 @@ export const AutosaveStatusWidgetView = ({ presentation }: WidgetViewProps) => {if (presentation === 'tooltip') {return (<Stack gap="2">- <Text fontSize="xs" fontWeight="700">+ <Text fontSize="md" fontWeight="700">{t('widgets.autosaveStatus.label')}</Text>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('widgets.autosaveStatus.status', { status: label })}</Text>{autosave.lastSavedAt ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('widgets.autosaveStatus.lastSaved', { time: autosave.lastSavedAt })}</Text>) : null}{autosave.error ? (- <Text color="fg.error" fontSize="2xs">+ <Text color="fg.error" fontSize="xs">{autosave.error}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasCreateFromBboxSubmenu.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasCreateFromBboxSubmenu.tsxindex 4bbd098413..58ffe1ee17 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasCreateFromBboxSubmenu.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasCreateFromBboxSubmenu.tsx@@ -33,7 +33,7 @@ const CreateFromBboxMenuItem = ({<Menu.Item disabled={disabled} value={destination} onSelect={onSelect}><HStack gap="2" minW="0" w="full"><Icon as={ImagePlusIcon} boxSize="3.5" color="fg.subtle" flexShrink={0} />- <Text flex="1" fontSize="xs">+ <Text flex="1" fontSize="md">{t(labelKey)}</Text></HStack>@@ -56,7 +56,7 @@ export const CanvasCreateFromBboxSubmenu = ({<button disabled={disabled} type="button"><HStack gap="2" minW="0" w="full"><Icon as={ImagePlusIcon} boxSize="3.5" color="fg.subtle" flexShrink={0} />- <Text flex="1" fontSize="xs">+ <Text flex="1" fontSize="md">{t('widgets.canvas.contextMenu.createFromBbox')}</Text><Icon as={ChevronRightIcon} boxSize="3" color="fg.subtle" flexShrink={0} />diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasGlobalContextMenu.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasGlobalContextMenu.tsxindex 8928fd0e9a..7e702ad316 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasGlobalContextMenu.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasGlobalContextMenu.tsx@@ -39,7 +39,7 @@ export const CanvasGlobalContextMenu = ({<Menu.Positioner><MenuContent minW="14rem" py="1"><Menu.ItemGroup>- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{t('widgets.labels.canvas')}</Menu.ItemGroupLabel>{children}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasHeaderActions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasHeaderActions.tsxindex 6bd0d75073..e81eaf3504 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasHeaderActions.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasHeaderActions.tsx@@ -160,9 +160,9 @@ const CanvasHeaderActionsInner = ({<HStack gap="0.5"><Menu.Root positioning={MENU_POSITIONING}><Menu.Trigger asChild>- <IconButton aria-label={t('widgets.canvas.controls.zoomLevel')} minW="4rem" px="2" size="2xs" variant="ghost">+ <IconButton aria-label={t('widgets.canvas.controls.zoomLevel')} minW="4rem" px="2" size="sm" variant="ghost"><HStack gap="1">- <Text fontSize="xs" fontVariantNumeric="tabular-nums">+ <Text fontSize="md" fontVariantNumeric="tabular-nums">{formatZoomPercent(zoom)}</Text><ChevronDownIcon size={12} />@@ -175,7 +175,7 @@ const CanvasHeaderActionsInner = ({{ZOOM_OPTIONS.map((option) => (<Menu.Item key={option.value} value={option.label} onClick={() => setZoom(option.value)}><CheckIcon size={12} opacity={formatZoomPercent(zoom) === option.label ? 1 : 0} />- <Menu.ItemText fontSize="xs">{option.label}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{option.label}</Menu.ItemText></Menu.Item>))}</MenuContent>@@ -187,7 +187,7 @@ const CanvasHeaderActionsInner = ({<IconButtonaria-label={t('widgets.canvas.controls.fitToView')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={() => engine.viewport.fitToView()}>@@ -200,7 +200,7 @@ const CanvasHeaderActionsInner = ({aria-label={t('widgets.canvas.controls.fitBboxToLayers')}color="fg.muted"disabled={editingLocked || !fitLayersRect}- size="2xs"+ size="sm"variant="ghost"onClick={() => applyFit(fitLayersRect, true)}>@@ -213,7 +213,7 @@ const CanvasHeaderActionsInner = ({aria-label={t('widgets.canvas.controls.fitBboxToMasks')}color="fg.muted"disabled={editingLocked || !fitMasksRect}- size="2xs"+ size="sm"variant="ghost"onClick={() => applyFit(fitMasksRect, false)}>@@ -228,7 +228,7 @@ const CanvasHeaderActionsInner = ({aria-label={t('widgets.canvas.commands.undo')}color="fg.muted"disabled={editingLocked || !canUndo}- size="2xs"+ size="sm"variant="ghost"onClick={() => engine.history.undo()}>@@ -241,7 +241,7 @@ const CanvasHeaderActionsInner = ({aria-label={t('widgets.canvas.commands.redo')}color="fg.muted"disabled={editingLocked || !canRedo}- size="2xs"+ size="sm"variant="ghost"onClick={() => engine.history.redo()}>@@ -258,11 +258,11 @@ const CanvasHeaderActionsInner = ({aria-label={t('widgets.canvas.contextMenu.saveCanvasToGallery')}color="fg.muted"disabled={editingLocked || isSaving}- size="2xs"+ size="sm"variant="ghost"onClick={() => void saveToGallery('canvas')}>- {isSaving ? <Spinner size="xs" /> : <SaveIcon />}+ {isSaving ? <Spinner size="md" /> : <SaveIcon />}</IconButton></Tooltip><Menu.Trigger asChild>@@ -271,7 +271,7 @@ const CanvasHeaderActionsInner = ({color="fg.muted"disabled={editingLocked || isSaving}minW="0"- size="2xs"+ size="sm"variant="ghost"w="6">@@ -284,7 +284,7 @@ const CanvasHeaderActionsInner = ({<MenuContent minW="11rem" py="1"><Menu.Item value="save-bbox" onClick={() => void saveToGallery('bbox')}><Icon as={SaveIcon} boxSize="3.5" color="fg.subtle" />- <Menu.ItemText fontSize="xs">{t('widgets.canvas.contextMenu.saveBboxToGallery')}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{t('widgets.canvas.contextMenu.saveBboxToGallery')}</Menu.ItemText></Menu.Item></MenuContent></Menu.Positioner>@@ -299,7 +299,7 @@ const CanvasHeaderActionsInner = ({aria-label={t('widgets.canvas.controls.newSession')}color="fg.muted"disabled={editingLocked}- size="2xs"+ size="sm"variant="ghost"><FilePlusIcon />@@ -312,7 +312,7 @@ const CanvasHeaderActionsInner = ({<MenuContent minW="11rem" py="1"><Menu.Item value="new-canvas" onClick={openNewCanvas}><Icon as={FilePlusIcon} boxSize="3.5" color="fg.subtle" />- <Menu.ItemText fontSize="xs">{t('widgets.canvas.controls.newCanvas')}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{t('widgets.canvas.controls.newCanvas')}</Menu.ItemText></Menu.Item></MenuContent></Menu.Positioner>@@ -354,20 +354,20 @@ const CanvasSettingsActionsInner = ({ engine }: { engine: CanvasHeaderEngine })}return (<Stack borderTopWidth="1px" borderColor="border.subtle" gap="1" pt="2">- <Text color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Text color="fg.subtle" fontSize="xs" textTransform="uppercase">{t('widgets.canvas.settings.sections.debug')}</Text>- <Button size="xs" variant="ghost" justifyContent="start" onClick={() => void engine.diagnostics.clearCaches()}>+ <Button size="md" variant="ghost" justifyContent="start" onClick={() => void engine.diagnostics.clearCaches()}><DatabaseIcon />{t('widgets.canvas.settings.clearCaches')}</Button>- <Button size="xs" variant="ghost" justifyContent="start" onClick={() => engine.diagnostics.logDebugInfo()}>+ <Button size="md" variant="ghost" justifyContent="start" onClick={() => engine.diagnostics.logDebugInfo()}><BugIcon />{t('widgets.canvas.settings.logDebugInfo')}</Button><Buttondisabled={editingLocked}- size="xs"+ size="md"variant="ghost"justifyContent="start"onClick={() => engine.history.clearHistory()}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasImageDropZone.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasImageDropZone.tsxindex dea60e6b3a..ebc689f8c9 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasImageDropZone.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasImageDropZone.tsx@@ -34,7 +34,7 @@ export const CanvasImageDropZone = ({ colSpan, data, id, labelKey, row }: Canvasposition="absolute"variant="overlay">- <Text color="fg" fontSize="sm" fontWeight="700" textAlign="center">+ <Text color="fg" fontSize="lg" fontWeight="700" textAlign="center">{t(labelKey)}</Text></DropZone>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasSaveToGallerySubmenu.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasSaveToGallerySubmenu.tsxindex f91a5e32de..157cc29087 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasSaveToGallerySubmenu.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasSaveToGallerySubmenu.tsx@@ -25,7 +25,7 @@ export const CanvasSaveToGallerySubmenu = ({<button disabled={disabled} type="button"><HStack gap="2" minW="0" w="full"><Icon as={SaveIcon} boxSize="3.5" color="fg.subtle" flexShrink={0} />- <Text flex="1" fontSize="xs">+ <Text flex="1" fontSize="md">{t('widgets.canvas.contextMenu.saveToGallery')}</Text><Icon as={ChevronRightIcon} boxSize="3" color="fg.subtle" flexShrink={0} />@@ -38,7 +38,7 @@ export const CanvasSaveToGallerySubmenu = ({<Menu.Item disabled={disabled} value="save-canvas" onSelect={onSaveCanvas}><HStack gap="2" minW="0" w="full"><Icon as={SaveIcon} boxSize="3.5" color="fg.subtle" flexShrink={0} />- <Text flex="1" fontSize="xs">+ <Text flex="1" fontSize="md">{t('widgets.canvas.contextMenu.saveCanvasToGallery')}</Text></HStack>@@ -46,7 +46,7 @@ export const CanvasSaveToGallerySubmenu = ({<Menu.Item disabled={disabled} value="save-bbox" onSelect={onSaveBbox}><HStack gap="2" minW="0" w="full"><Icon as={SaveIcon} boxSize="3.5" color="fg.subtle" flexShrink={0} />- <Text flex="1" fontSize="xs">+ <Text flex="1" fontSize="md">{t('widgets.canvas.contextMenu.saveBboxToGallery')}</Text></HStack>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasCompositingSection.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasCompositingSection.tsxindex 84c5c6507d..bde34dad7f 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasCompositingSection.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasCompositingSection.tsx@@ -136,8 +136,8 @@ export const GenerateCanvasCompositingSection = () => {const badges = (<>- <Badge size="xs">{t(`widgets.generate.compositingOptions.infillMethods.${settings.infillMethod}`)}</Badge>- <Badge size="xs">{settings.maskBlur}px</Badge>+ <Badge size="md">{t(`widgets.generate.compositingOptions.infillMethods.${settings.infillMethod}`)}</Badge>+ <Badge size="md">{settings.maskBlur}px</Badge></>);@@ -154,7 +154,7 @@ export const GenerateCanvasCompositingSection = () => {aria-label={opt('infillMethod')}collection={infillCollection}positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={infillValue}valueText={opt(`infillMethods.${settings.infillMethod}`)}onValueChange={handleInfillChange}@@ -176,7 +176,7 @@ export const GenerateCanvasCompositingSection = () => {aria-label={opt('coherenceMode')}collection={coherenceCollection}positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={coherenceValue}valueText={opt(`coherenceModes.${settings.coherenceMode}`)}onValueChange={handleCoherenceModeChange}@@ -186,7 +186,7 @@ export const GenerateCanvasCompositingSection = () => {<NumberInput.Rootmax={CANVAS_COHERENCE_EDGE_SIZE_MAX}min={0}- size="xs"+ size="md"step={1}value={String(settings.coherenceEdgeSize)}onValueChange={handleEdgeSizeChange}@@ -199,7 +199,7 @@ export const GenerateCanvasCompositingSection = () => {<NumberInput.Rootmax={1}min={0}- size="xs"+ size="md"step={0.01}value={settings.coherenceMinDenoise.toFixed(2)}onValueChange={handleMinDenoiseChange}@@ -212,7 +212,7 @@ export const GenerateCanvasCompositingSection = () => {<NumberInput.Rootmax={CANVAS_MASK_BLUR_MAX}min={0}- size="xs"+ size="md"step={1}value={String(settings.maskBlur)}onValueChange={handleMaskBlurChange}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasScalingSection.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasScalingSection.tsxindex 1879493fd6..04810bb87f 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasScalingSection.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateCanvasScalingSection.tsx@@ -138,7 +138,7 @@ export const GenerateCanvasScalingSection = () => {const badges = useMemo(() => (- <Badge size="xs">+ <Badge size="md">{scaling.method === 'none' || !processingSize? opt(`methods.${scaling.method}`): `${processingSize.width}x${processingSize.height}`}@@ -160,7 +160,7 @@ export const GenerateCanvasScalingSection = () => {aria-label={opt('method')}collection={methodCollection}positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={methodValue}valueText={opt(`methods.${scaling.method}`)}onValueChange={handleMethodChange}@@ -172,7 +172,7 @@ export const GenerateCanvasScalingSection = () => {<NumberInput.Rootmax={dimensions.max}min={dimensions.min}- size="xs"+ size="md"step={dimensions.grid}value={String(scaling.width ?? context.bbox.width)}{...widthHandlers}@@ -185,7 +185,7 @@ export const GenerateCanvasScalingSection = () => {<NumberInput.Rootmax={dimensions.max}min={dimensions.min}- size="xs"+ size="md"step={dimensions.grid}value={String(scaling.height ?? context.bbox.height)}{...heightHandlers}@@ -197,7 +197,7 @@ export const GenerateCanvasScalingSection = () => {</HStack>) : null}{scaling.method !== 'none' && processingSize ? (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{resizes? t('widgets.generate.scalingOptions.processingSize', {height: processingSize.height,diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateDenoisingStrength.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateDenoisingStrength.tsxindex 5d12518c09..7a6d4b2516 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateDenoisingStrength.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/GenerateDenoisingStrength.tsx@@ -53,7 +53,7 @@ export const GenerateDenoisingStrength = () => {const badges = useMemo(() => (<>- <Badge size="xs">{formatStrengthPercent(draftStrength)}</Badge>+ <Badge size="md">{formatStrengthPercent(draftStrength)}</Badge><DenoisingStrengthWave value={draftStrength} /></>),diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/MissingFontsDialog.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/MissingFontsDialog.tsxindex bfeb1c7cb7..ff99d4f09b 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/MissingFontsDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/MissingFontsDialog.tsx@@ -40,7 +40,7 @@ export const MissingFontsDialog = ({ engine, groups }: { engine: CanvasEngine; greturn (<><Box position="absolute" top="2" left="50%" transform="translateX(-50%)" zIndex="2">- <Button colorPalette="orange" size="xs" onClick={reopen}>+ <Button colorPalette="orange" size="md" onClick={reopen}>{t('fonts.missing.warning', { count: unavailable.length })}</Button></Box>@@ -83,7 +83,7 @@ const RecoveryDialog = ({</Dialog.Header><Dialog.Body><Stack gap="4">- <Text color="fg.muted" fontSize="sm">+ <Text color="fg.muted" fontSize="lg">{t('fonts.missing.description')}</Text>{groups.map((group) => (@@ -184,17 +184,17 @@ const RecoveryRow = ({ group, engine }: { group: FontGroup; engine: CanvasEnginereturn (<Stack borderWidth="1px" borderRadius="md" p="3" gap="2"><Text fontWeight="medium">{group.fontRef.label}</Text>- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('fonts.missing.layers', { count: group.count })}</Text><Inputaria-label={t('fonts.missing.search')}placeholder={t('fonts.missing.search')}- size="sm"+ size="lg"value={search}onChange={searchChanged}/>- <NativeSelect.Root size="sm">+ <NativeSelect.Root size="xl"><NativeSelect.Fieldaria-label={t('fonts.missing.replacement')}value={selected?.id ?? ''}@@ -212,7 +212,7 @@ const RecoveryRow = ({ group, engine }: { group: FontGroup; engine: CanvasEngine{offset > 0 || (catalog.data?.total ?? 0) > 50 ? (<Flex gap="2" justify="flex-end"><Button- size="xs"+ size="md"variant="outline"color="fg"disabled={offset === 0 || catalog.isFetching}@@ -221,7 +221,7 @@ const RecoveryRow = ({ group, engine }: { group: FontGroup; engine: CanvasEngine{t('common.previousPage')}</Button><Button- size="xs"+ size="md"variant="outline"color="fg"disabled={catalog.isFetching || offset + 50 >= (catalog.data?.total ?? 0)}@@ -231,31 +231,31 @@ const RecoveryRow = ({ group, engine }: { group: FontGroup; engine: CanvasEngine</Button></Flex>) : null}- {catalog.isPending ? <Text fontSize="xs">{t('common.loading')}</Text> : null}+ {catalog.isPending ? <Text fontSize="md">{t('common.loading')}</Text> : null}{catalog.isError ? (- <Text role="alert" color="fg.error" fontSize="xs">+ <Text role="alert" color="fg.error" fontSize="md">{t('fonts.missing.catalogError')}- <Button size="xs" color="fg" variant="outline" ml="2" onClick={retryCatalog}>+ <Button size="md" color="fg" variant="outline" ml="2" onClick={retryCatalog}>{t('common.retry')}</Button></Text>) : null}{selected ? (- <Text fontSize="xs" color="fg.muted">+ <Text fontSize="md" color="fg.muted">{t('fonts.missing.axesNotice')}</Text>) : null}{error ? (- <Text role="alert" color="fg.error" fontSize="xs">+ <Text role="alert" color="fg.error" fontSize="md">{error}</Text>) : null}<Flex gap="2" justify="flex-end"><input ref={inputRef} type="file" accept=".ttf,.otf,.woff,.woff2" hidden onChange={uploaded} />- <Button color="fg" variant="outline" size="sm" loading={busy} onClick={chooseFile}>+ <Button color="fg" variant="outline" size="lg" loading={busy} onClick={chooseFile}>{t('fonts.missing.upload')}</Button>- <Button colorPalette="accent" size="sm" disabled={!selected || busy} onClick={replace}>+ <Button colorPalette="accent" size="lg" disabled={!selected || busy} onClick={replace}>{t('fonts.missing.replaceAll')}</Button></Flex>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/StagingBar.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/StagingBar.tsxindex f4f46ded90..8fe38ee656 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/StagingBar.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/StagingBar.tsx@@ -152,7 +152,7 @@ export const StagingBar = ({h={areThumbnailsVisible ? THUMBNAIL_STRIP_HEIGHT : '0'}opacity={areThumbnailsVisible ? 1 : 0}pointerEvents={areThumbnailsVisible ? 'auto' : 'none'}- size="xs"+ size="md"transition="height var(--wb-motion-duration-slow) ease, opacity var(--wb-motion-duration-slow) ease"variant="hover"w="full"@@ -205,8 +205,8 @@ export const StagingBar = ({<CanvasOptionsBar>{isGenerating ? (<HStack color="fg.muted" gap="1.5" px="1">- <Spinner size="xs" />- <Text fontSize="xs" fontWeight="600">+ <Spinner size="md" />+ <Text fontSize="md" fontWeight="600">{t('widgets.canvas.staging.generating')}</Text></HStack>@@ -220,7 +220,7 @@ export const StagingBar = ({? t('widgets.canvas.hideStagingThumbnails'): t('widgets.canvas.showStagingThumbnails')}- size="xs"+ size="md"variant="ghost"onClick={onToggleThumbnails}>@@ -231,13 +231,13 @@ export const StagingBar = ({<IconButtonaria-label={t('widgets.canvas.previousStagedCandidate')}disabled={!hasMultipleSlots}- size="xs"+ size="md"variant="ghost"onClick={() => onCycle(-1)}><ChevronLeftIcon /></IconButton>- <Text fontSize="xs" fontVariantNumeric="tabular-nums" minW="3.5rem" px="1" textAlign="center">+ <Text fontSize="md" fontVariantNumeric="tabular-nums" minW="3.5rem" px="1" textAlign="center">{t('widgets.canvas.candidateCount', {current: selectedImageIndex + 1,total: slots.length,@@ -246,7 +246,7 @@ export const StagingBar = ({<IconButtonaria-label={t('widgets.canvas.nextStagedCandidate')}disabled={!hasMultipleSlots}- size="xs"+ size="md"variant="ghost"onClick={() => onCycle(1)}>@@ -259,7 +259,7 @@ export const StagingBar = ({<AutoSwitchMenu mode={autoSwitchMode} onSelect={onSetAutoSwitch} />{cancelableQueueItemId ? (- <Button size="xs" variant="ghost" onClick={() => onCancelQueueItem(cancelableQueueItemId)}>+ <Button size="md" variant="ghost" onClick={() => onCancelQueueItem(cancelableQueueItemId)}><XIcon />{t('common.cancel')}</Button>@@ -280,7 +280,7 @@ export const StagingBar = ({? t('widgets.canvas.hideStagedResultPreview'): t('widgets.canvas.showStagedResultPreview')}- size="xs"+ size="md"variant="ghost"onClick={onToggleVisibility}>@@ -292,30 +292,30 @@ export const StagingBar = ({<IconButtonaria-label={t('widgets.canvas.staging.saveToGallery')}disabled={isSaving}- size="xs"+ size="md"variant="ghost"onClick={handleSaveToGallery}>- {isSaving ? <Spinner size="xs" /> : <SaveIcon />}+ {isSaving ? <Spinner size="md" /> : <SaveIcon />}</IconButton></Tooltip><Tooltip content={t('common.discard')}>- <IconButton aria-label={t('common.discard')} size="xs" variant="ghost" onClick={onDiscardSelected}>+ <IconButton aria-label={t('common.discard')} size="md" variant="ghost" onClick={onDiscardSelected}><XIcon /></IconButton></Tooltip><CanvasFloatingBarDivider />- <Button size="xs" variant="ghost" onClick={onDiscardAll}>+ <Button size="md" variant="ghost" onClick={onDiscardAll}><Trash2Icon />{t('common.discardAll')}</Button><Menu.Root positioning={MENU_POSITIONING}><Group attached>- <Button disabled={!canAccept} size="xs" onClick={onAccept}>+ <Button disabled={!canAccept} size="md" onClick={onAccept}><CheckIcon />{t('widgets.canvas.acceptToLayer')}</Button>@@ -324,7 +324,7 @@ export const StagingBar = ({aria-label={t('widgets.canvas.staging.moreAcceptOptions')}disabled={!canAccept}minW="0"- size="xs"+ size="md"w="6"><ChevronDownIcon />@@ -336,7 +336,7 @@ export const StagingBar = ({<MenuContent minW="13rem" py="1"><Menu.Item value="save-disabled-layer" onClick={onSaveToLayerAndContinue}><EyeOffIcon size={14} />- <Menu.ItemText fontSize="xs">{t('widgets.canvas.staging.saveAsDisabledLayer')}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{t('widgets.canvas.staging.saveAsDisabledLayer')}</Menu.ItemText></Menu.Item></MenuContent></Menu.Positioner>@@ -367,9 +367,9 @@ const AutoSwitchMenu = ({ mode, onSelect }: { mode: AutoSwitchMode; onSelect: (m<Tooltip content={t('widgets.canvas.staging.autoSwitch')}><span style={{ display: 'inline-flex' }}><Menu.Trigger asChild>- <Button minW="unset" px="2" size="xs" variant="ghost">+ <Button minW="unset" px="2" size="md" variant="ghost"><SparklesIcon size={13} />- <Text fontSize="xs">{label(mode)}</Text>+ <Text fontSize="md">{label(mode)}</Text></Button></Menu.Trigger></span>@@ -382,7 +382,7 @@ const AutoSwitchMenu = ({ mode, onSelect }: { mode: AutoSwitchMode; onSelect: (m{AUTO_SWITCH_MODES.map((value) => (<Menu.Item key={value} value={value} onClick={() => onSelect(value)}><CheckIcon size={12} opacity={mode === value ? 1 : 0} />- <Menu.ItemText fontSize="xs">{label(value)}</Menu.ItemText>+ <Menu.ItemText fontSize="md">{label(value)}</Menu.ItemText></Menu.Item>))}</Menu.ItemGroup>@@ -463,7 +463,7 @@ const StagingThumbnail = ({bg="blackAlpha.700"bottom="1"color="white"- fontSize="2xs"+ fontSize="xs"fontWeight="700"left="1"px="1.5"@@ -519,7 +519,7 @@ const StagingPlaceholderProgress = ({ percentage }: { percentage: number | nullborderWidth={1}p={0.5}rounded="full"- size="xs"+ size="md"value={percentage}><ProgressCircle.Circle>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/ToolStripFlyout.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/ToolStripFlyout.tsxindex 69b863e5b8..9488f44116 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/ToolStripFlyout.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/ToolStripFlyout.tsx@@ -232,7 +232,7 @@ export const ToolFamilyButton = ({aria-label={label}aria-pressed={isActive}disabled={disabled}- size="xs"+ size="md"variant={isActive ? 'solid' : 'ghost'}onContextMenu={onContextMenu}onKeyDown={onKeyDown}@@ -301,7 +301,7 @@ const FlyoutItem = ({aria-label={item.label}data-subtool-id={item.id}role="menuitemradio"- size="xs"+ size="md"variant={checked ? 'solid' : 'ghost'}onClick={onClick}>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/FilterOptions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/FilterOptions.tsxindex 13bfb8d815..f00f899812 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/FilterOptions.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/FilterOptions.tsx@@ -170,7 +170,7 @@ const FilterChooseSettings = ({ engine, isSurfaceInteractionLocked }: ToolFormPrgroupBy={groupBy}itemsMaxH="18rem"renderGroupLabel={renderGroupLabel}- size="xs"+ size="md"value={filterValue}valueText={t(`widgets.layers.control.filters.${session.draft.type}`, session.draft.type)}w="full"@@ -236,7 +236,7 @@ const FilterFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps)title={t('widgets.layers.rasterFilter.title')}/></Box>- <Button disabled={!eligibility.canReset} flexShrink={0} size="xs" variant="ghost" onClick={reset}>+ <Button disabled={!eligibility.canReset} flexShrink={0} size="md" variant="ghost" onClick={reset}>{t('widgets.layers.selectObject.reset')}</Button>{session.autoProcess ? null : (@@ -244,7 +244,7 @@ const FilterFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps)disabled={!eligibility.canProcess}flexShrink={0}loading={session.status === 'processing'}- size="xs"+ size="md"onClick={() => void operations.processFilterOperation()}>{t('widgets.layers.selectObject.process')}@@ -256,7 +256,7 @@ const FilterFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps)disabled={!eligibility.canApply}loading={session.status === 'committing'}roundedRight="none"- size="xs"+ size="md"variant="solid"onClick={onApply}>@@ -269,7 +269,7 @@ const FilterFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps)disabled={!eligibility.canSave}px="1"roundedLeft="none"- size="xs"+ size="md"variant="solid"><Icon as={ChevronDownIcon} boxSize="3.5" />@@ -299,7 +299,7 @@ const FilterFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps)data-pane-action="cancel"disabled={!eligibility.canCancel}flexShrink={0}- size="xs"+ size="md"variant="ghost"onClick={onCancel}>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/GradientOptions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/GradientOptions.tsxindex 397a5aa1e5..87787fb770 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/GradientOptions.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/GradientOptions.tsx@@ -471,7 +471,7 @@ const GradientStopsSettings = ({ engine }: ToolFormProps) => {<Flex gap="0.5"><ChakraIconButtonaria-label={t('widgets.canvas.toolOptions.gradientAddStop')}- size="2xs"+ size="sm"variant="ghost"onClick={onAdd}>@@ -480,7 +480,7 @@ const GradientStopsSettings = ({ engine }: ToolFormProps) => {<ChakraIconButtonaria-label={t('widgets.canvas.toolOptions.gradientRemoveStop')}disabled={stopCount <= 2}- size="2xs"+ size="sm"variant="ghost"onClick={onRemove}>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/OperationStatusSlot.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/OperationStatusSlot.tsxindex 04bc3d80eb..7a51f8429f 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/OperationStatusSlot.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/OperationStatusSlot.tsx@@ -38,7 +38,7 @@ export const OperationStatusSlot = ({align="center"color={errorText ? 'fg.error' : 'fg.muted'}flex="0 1 auto"- fontSize="xs"+ fontSize="md"gap="1"maxW="16rem"minW={minW}@@ -50,7 +50,7 @@ export const OperationStatusSlot = ({</span>{detail && detail !== errorText ? (<Tooltip content={detail}>- <IconButton aria-label={technicalDetailsLabel} flexShrink="0" size="xs" tabIndex={0} variant="ghost">+ <IconButton aria-label={technicalDetailsLabel} flexShrink="0" size="md" tabIndex={0} variant="ghost"><InfoIcon /></IconButton></Tooltip>@@ -60,7 +60,7 @@ export const OperationStatusSlot = ({<Flex align="center" aria-live="polite" gap="2" minW="0" role="status">{isBusy ? (<>- <Spinner flexShrink="0" size="xs" />+ <Spinner flexShrink="0" size="md" /><span>{statusText}</span></>) : null}@@ -93,7 +93,7 @@ export const OperationStatusChip = ({}: OperationStatusChipProps) => (<HStack gap="1" minW="0"><Tooltip content={sourceLabel}>- <Text flexShrink={0} fontSize="xs" fontWeight="semibold" minW="0" truncate>+ <Text flexShrink={0} fontSize="md" fontWeight="semibold" minW="0" truncate>{title}<VisuallyHidden>{sourceLabel}</VisuallyHidden></Text>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SamOptions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SamOptions.tsxindex fcaea23721..60a79f9e36 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SamOptions.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SamOptions.tsx@@ -188,7 +188,7 @@ export const SamModeToggle = ({<Buttonaria-pressed={mode === 'visual'}disabled={disabled}- size="xs"+ size="md"variant={mode === 'visual' ? 'solid' : 'ghost'}onClick={onVisual}>@@ -197,7 +197,7 @@ export const SamModeToggle = ({<Buttonaria-pressed={mode === 'prompt'}disabled={disabled}- size="xs"+ size="md"variant={mode === 'prompt' ? 'solid' : 'ghost'}onClick={onPrompt}>@@ -237,7 +237,7 @@ export const SamVisualInput = ({aria-pressed={pointLabel === 'include'}disabled={disabled}px="1.5"- size="xs"+ size="md"variant={pointLabel === 'include' ? 'solid' : 'outline'}onClick={onInclude}>@@ -253,7 +253,7 @@ export const SamVisualInput = ({aria-pressed={pointLabel === 'exclude'}disabled={disabled}px="1.5"- size="xs"+ size="md"variant={pointLabel === 'exclude' ? 'solid' : 'outline'}onClick={onExclude}>@@ -274,7 +274,7 @@ export const SamBboxIndicator = ({ viewModel }: { viewModel: SamPanelViewModel }? t('widgets.layers.selectObject.bboxActive'): t('widgets.layers.selectObject.bboxInactive');return (- <Text color={viewModel.bboxActive ? 'fg' : 'fg.subtle'} fontSize="xs" fontWeight="medium">+ <Text color={viewModel.bboxActive ? 'fg' : 'fg.subtle'} fontSize="md" fontWeight="medium">{bboxText}</Text>);@@ -299,7 +299,7 @@ export const SamPromptBody = ({disabled={disabled}flexShrink={0}placeholder={t('widgets.layers.selectObject.promptGuidance')}- size="xs"+ size="md"value={prompt}w="7.5rem"onChange={onChange}@@ -324,11 +324,11 @@ const SamSettingsSwitch = ({checked={checked}disabled={disabled}justifyContent="space-between"- size="sm"+ size="md"w="full"onCheckedChange={({ checked: next }) => onChange(next)}>- <Switch.Label fontSize="xs">{label}</Switch.Label>+ <Switch.Label fontSize="md">{label}</Switch.Label><Switch.HiddenInput /><Switch.Control><Switch.Thumb />@@ -365,14 +365,14 @@ export const SamSettings = ({return (<Stack aria-label={t('widgets.layers.selectObject.settings')} gap="2" role="group" w="full"><Stack gap="1">- <Text asChild fontSize="xs" fontWeight="semibold">+ <Text asChild fontSize="md" fontWeight="semibold"><label htmlFor="sam-model">{t('widgets.layers.selectObject.model')}</label></Text><Selectcollection={modelCollection}disabled={isProcessing || !eligibility.canEditInputs}ids={{ trigger: 'sam-model' }}- size="xs"+ size="md"value={modelValue}onValueChange={({ value }) => {const model = value[0];@@ -520,14 +520,14 @@ const SamFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps) =>title={t('widgets.layers.selectObject.title')}/></Box>- <Button disabled={!eligibility.canReset} flexShrink={0} size="xs" variant="ghost" onClick={actions.reset}>+ <Button disabled={!eligibility.canReset} flexShrink={0} size="md" variant="ghost" onClick={actions.reset}>{t('widgets.layers.selectObject.reset')}</Button><Buttondisabled={!eligibility.canProcess}flexShrink={0}loading={isProcessing}- size="xs"+ size="md"onClick={actions.process}>{t('widgets.layers.selectObject.process')}@@ -538,7 +538,7 @@ const SamFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps) =>disabled={!eligibility.canApply}loading={session.status === 'committing'}roundedRight="none"- size="xs"+ size="md"variant="solid"onClick={actions.apply}>@@ -551,7 +551,7 @@ const SamFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps) =>disabled={!eligibility.canSave}px="1"roundedLeft="none"- size="xs"+ size="md"variant="solid"><Icon as={ChevronDownIcon} boxSize="3.5" />@@ -578,7 +578,7 @@ const SamFooter = ({ engine, isExternalInteractionLocked }: ToolFooterProps) =>data-pane-action="cancel"disabled={!eligibility.canCancel}flexShrink={0}- size="xs"+ size="md"variant="ghost"onClick={actions.cancel}>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SelectionOptionsRow.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SelectionOptionsRow.tsxindex cf63cbf866..78f2afef58 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SelectionOptionsRow.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/SelectionOptionsRow.tsx@@ -47,7 +47,7 @@ const OpModeButton = ({<IconButtonaria-label={label}aria-pressed={active}- size="xs"+ size="md"variant={active ? 'solid' : 'ghost'}onClick={onClick}>@@ -101,7 +101,7 @@ const SelectionAction = ({}, [disabledReason, onClick]);return (<Tooltip content={disabledReason ?? ''} disabled={disabledReason === null}>- <Button aria-disabled={disabledReason !== null} size="xs" variant="ghost" onClick={guarded}>+ <Button aria-disabled={disabledReason !== null} size="md" variant="ghost" onClick={guarded}>{label}</Button></Tooltip>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/ShapeOptions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/ShapeOptions.tsxindex 618c3801d2..d06677d0e0 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/ShapeOptions.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/ShapeOptions.tsx@@ -270,7 +270,7 @@ const ShapeSettings = ({ engine }: ToolFormProps) => {onValueCommit={onWidthCommit}/></PropertyControlRow>- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t(editor.toolKind === 'polygon'? 'widgets.canvas.toolOptions.shapePolygonHint'diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/TextOptions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/TextOptions.tsxindex f7aa330880..3be557d7aa 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/TextOptions.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/TextOptions.tsx@@ -202,7 +202,7 @@ const AlignButton = ({<IconButtonaria-label={t(ALIGN_LABEL_KEYS[value])}aria-pressed={active}- size="xs"+ size="md"variant={active ? 'solid' : 'ghost'}onClick={onClick}>@@ -477,7 +477,7 @@ const FontAxisSettings = ({collection={presetCollection}minW="0"positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={presetValue}valueText={presetCollection.items.find((item) => item.value === presetValue[0])?.label}onValueChange={onPreset}@@ -486,7 +486,7 @@ const FontAxisSettings = ({<Tooltip content={t('widgets.canvas.toolOptions.textFontResetAxes')}><IconButtonaria-label={t('widgets.canvas.toolOptions.textFontResetAxes')}- size="2xs"+ size="sm"variant="ghost"onClick={resetAxes}>@@ -532,8 +532,8 @@ const FontCatalogStatus = ({return (<PropertyControlRow><HStack color="fg.muted" gap="1.5" gridColumn="2 / -1" role="status">- <Spinner size="xs" />- <Text fontSize="2xs">{t('common.loading')}</Text>+ <Spinner size="md" />+ <Text fontSize="xs">{t('common.loading')}</Text></HStack></PropertyControlRow>);@@ -542,14 +542,14 @@ const FontCatalogStatus = ({return (<PropertyControlRow><HStack color="fg.error" gap="1" gridColumn="2 / -1" role="alert">- <Text fontSize="2xs" minW="0" truncate>+ <Text fontSize="xs" minW="0" truncate>{tFonts('fonts.couldNotLoad')}</Text><Buttonaria-label={t('common.retry')}disabled={isFetchingNextPage}flexShrink="0"- size="2xs"+ size="sm"variant="ghost"onClick={onRetry}>@@ -566,7 +566,7 @@ const FontCatalogStatus = ({<Buttonaria-label={tFonts('fonts.loadMore', { defaultValue: 'Load more fonts' })}disabled={isFetchingNextPage}- size="2xs"+ size="sm"variant="ghost"onClick={onLoadMore}>@@ -800,7 +800,7 @@ export const TextFontSettings = ({ engine }: ToolFormProps) => {minW="0"positioning={SELECT_POSITIONING}renderGroupLabel={renderGroupLabel}- size="xs"+ size="md"value={familyValue}valueText={familyLabel}onValueChange={onFamily}@@ -825,7 +825,7 @@ export const TextFontSettings = ({ engine }: ToolFormProps) => {gridColumn={showWeight ? undefined : '2 / -1'}minW="0"positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={styleValue}valueText={styleCollection.items.find((item) => item.value === active.fontStyle)?.label}onValueChange={onStyle}@@ -837,7 +837,7 @@ export const TextFontSettings = ({ engine }: ToolFormProps) => {collection={weightCollection}flexShrink={0}positioning={SELECT_POSITIONING}- size="xs"+ size="md"triggerProps={WEIGHT_TRIGGER_PROPS}value={weightValue}valueText={String(active.fontWeight)}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/selectionForm.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/selectionForm.tsxindex f2992d780f..c00a596c11 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/selectionForm.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-options/selectionForm.tsx@@ -84,7 +84,7 @@ const SelectionModeSettings = ({ engine, isSurfaceInteractionLocked }: ToolFormP<SelectionOpModeButtons mode={mode} onModeChange={onModeChange} /></PropertyControlRow>{hasSelection ? null : (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t(hintKey)}</Text>)}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/FormControls.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/FormControls.tsxindex 2159d641d7..2019de767c 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/FormControls.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/FormControls.tsx@@ -28,8 +28,8 @@ interface FormNumberFieldProps {onValueCommit?: (details: ChakraNumberInput.ValueChangeDetails) => void;}-const AFFIX_PROPS = { color: 'fg.muted', fontSize: '2xs', lineHeight: '1' } as const;-// InputGroup pads the input by `--input-height` (28px at size xs) minus the offset; the text must clear the affix.+const AFFIX_PROPS = { color: 'fg.muted', fontSize: 'xs', lineHeight: '1' } as const;+// InputGroup pads the input by `--input-height` (28px at size md) minus the offset; the text must clear the affix.const INPUT_HEIGHT_PX = 28;const AFFIX_CHAR_PX = 6;const AFFIX_GUTTER_PX = 8;@@ -100,7 +100,7 @@ export const FormNumberField = ({flexShrink={0}max={max}min={min}- size="xs"+ size="md"step={step}value={live ? value : (draft ?? value)}w={`${FORM_NUMBER_FIELD_WIDTH_PX}px`}@@ -119,7 +119,7 @@ export const FormNumberField = ({startElementProps={START_ELEMENT_PROPS}startOffset={label ? affixOffset(label.length) : affixOffset(2)}>- <NumberInput.Input aria-label={ariaLabel} fontSize="xs" fontVariantNumeric="tabular-nums" textAlign="end" />+ <NumberInput.Input aria-label={ariaLabel} fontSize="md" fontVariantNumeric="tabular-nums" textAlign="end" /></InputGroup></NumberInput.Root>);@@ -199,7 +199,7 @@ export const FormSlider = ({max={max}min={min}minW="0"- size="sm"+ size="md"step={step}value={values}onKeyDownCapture={onKeyDownCapture}@@ -273,7 +273,7 @@ export const ApplyCancelBar = ({disabled={applyDisabled}flexShrink={0}loading={applyLoading}- size="xs"+ size="md"variant="solid"onClick={onApply}>@@ -283,7 +283,7 @@ export const ApplyCancelBar = ({data-pane-action="cancel"disabled={cancelDisabled}flexShrink={0}- size="xs"+ size="md"variant="ghost"onClick={onCancel}>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/PropertyPrimitives.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/PropertyPrimitives.tsxindex 359ed065e0..e3e19c5cd5 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/PropertyPrimitives.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/tool-presentation/PropertyPrimitives.tsx@@ -16,7 +16,7 @@ const GROUP_HEADER_HOVER = { color: 'fg' } as const;*/export const PropertyControlRow = ({ children, label }: { children: ReactNode; label?: string }) => (<Grid alignItems="center" columnGap="2" gridTemplateColumns="4.5rem minmax(0, 1fr) auto" minH="7" w="full">- <Text color="fg.muted" fontSize="xs" minW="0" title={label} truncate>+ <Text color="fg.muted" fontSize="md" minW="0" title={label} truncate>{label}</Text>{children}@@ -45,11 +45,11 @@ export const PropertySwitchRow = ({disabled={disabled}justifyContent="space-between"minH="7"- size="sm"+ size="md"w="full"onCheckedChange={handleChange}>- <Switch.Label color="fg.muted" fontSize="xs">+ <Switch.Label color="fg.muted" fontSize="md">{label}</Switch.Label><Switch.HiddenInput />@@ -102,12 +102,12 @@ export const PropertyGroup = ({transitionDuration="fast"transitionProperty="transform"/>- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{label}</Text></chakra.button>) : (- <Text color="fg.muted" fontSize="xs" fontWeight="600">+ <Text color="fg.muted" fontSize="md" fontWeight="600">{label}</Text>)}@@ -160,7 +160,7 @@ export const EditTargetChip = ({ layerName }: { layerName: string | null }) => {<BadgecolorPalette={layerName === null ? 'gray' : 'blue'}maxW="full"- size="sm"+ size="lg"title={layerName === null ? undefined : layerName}variant="surface">@@ -178,10 +178,10 @@ export const HintCard = ({ rows }: { rows: readonly { gesture: string; effect: s<Stack gap="1">{rows.map((row) => (<Grid key={row.gesture} alignItems="baseline" columnGap="2" gridTemplateColumns="auto minmax(0, 1fr)">- <Badge colorPalette="gray" fontFamily="mono" size="sm" variant="surface">+ <Badge colorPalette="gray" fontFamily="mono" size="lg" variant="surface">{row.gesture}</Badge>- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{row.effect}</Text></Grid>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/diagnostics/DiagnosticsHeaderActions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/diagnostics/DiagnosticsHeaderActions.tsxindex 1050e952a9..02cf376caa 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/diagnostics/DiagnosticsHeaderActions.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/diagnostics/DiagnosticsHeaderActions.tsx@@ -13,7 +13,7 @@ export const DiagnosticsHeaderActions = () => {}return (- <Badge colorPalette="red" size="xs">+ <Badge colorPalette="red" size="md"><BugIcon /><span aria-hidden>{problemCount}</span><VisuallyHidden>{t('widgets.diagnostics.chipProblems', { count: problemCount })}</VisuallyHidden>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ClusterSelectionChip.tsx b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ClusterSelectionChip.tsxindex c64bf40ab6..90c1ae3b7e 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ClusterSelectionChip.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ClusterSelectionChip.tsx@@ -65,7 +65,7 @@ export const ClusterSelectionChip = () => {borderRadius="full"borderWidth="1px"boxShadow="sm"- fontSize="xs"+ fontSize="md"gap="1.5"maxW="full"minW="0"@@ -92,7 +92,7 @@ export const ClusterSelectionChip = () => {aria-label={CLEAR_CLUSTER_SELECTION_LABEL}borderRadius="full"flexShrink={0}- size="2xs"+ size="sm"variant="ghost"onClick={handleClear}>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ClusterStrengthField.tsx b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ClusterStrengthField.tsxindex 6d5936d0e3..af7b63ac68 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ClusterStrengthField.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ClusterStrengthField.tsx@@ -221,17 +221,17 @@ export const ClusterStrengthField = ({ field, surface, target }: SettingFieldPro><Stack flex="1" gap="1"><HStack gap="2">- <Field.Label fontSize={surface === 'quick' ? 'xs' : 'sm'} fontWeight="500">+ <Field.Label fontSize={surface === 'quick' ? 'md' : 'lg'} fontWeight="500">{label}</Field.Label>{chosen !== null ? <ModifiedSettingIndicator label={label} /> : null}</HStack>{description ? (- <Field.HelperText color="fg.muted" fontSize="xs">+ <Field.HelperText color="fg.muted" fontSize="md">{description}</Field.HelperText>) : null}- {invalid ? <Field.ErrorText fontSize="xs">{invalid}</Field.ErrorText> : null}+ {invalid ? <Field.ErrorText fontSize="md">{invalid}</Field.ErrorText> : null}</Stack><HStack flexShrink={0} gap="2"><Input@@ -241,7 +241,7 @@ export const ClusterStrengthField = ({ field, surface, target }: SettingFieldPromax={MAX_CLUSTER_EPS}min={MIN_CLUSTER_EPS}ref={input}- size="sm"+ size="lg"step="0.01"type="number"w="24"@@ -252,7 +252,7 @@ export const ClusterStrengthField = ({ field, surface, target }: SettingFieldProone are the same digits in the same box. */}<Badgedata-testid="cluster-strength-auto"- size="sm"+ size="lg"variant="subtle"visibility={chosen === null ? 'visible' : 'hidden'}>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageIndexProgress.tsx b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageIndexProgress.tsxindex c27a3be94f..5a64bbbf12 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageIndexProgress.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageIndexProgress.tsx@@ -50,12 +50,12 @@ export const ImageIndexProgressPanel = ({return (<Stack align="center" gap="2" maxW="sm" textAlign="center" w="full"><Text fontWeight="semibold">Indexing gallery</Text>- <Text color="fg.muted" fontSize="sm">+ <Text color="fg.muted" fontSize="lg">Images and videos are being embedded so they can be mapped. The map appears here on its own once enough of themare done — you can keep working in the meantime.</Text><Stack gap="1" mt="2" w="full">- <Progress.Root max={100} size="sm" value={progress.percent}>+ <Progress.Root max={100} size="lg" value={progress.percent}>{/* The name goes on the track: that is the element carryingrole="progressbar", and Chakra otherwise names it "25%", whichtells a screen reader the number but never what it counts. */}@@ -63,7 +63,7 @@ export const ImageIndexProgressPanel = ({<Progress.Range /></Progress.Track></Progress.Root>- <HStack color="fg.muted" fontSize="xs" justify="space-between">+ <HStack color="fg.muted" fontSize="md" justify="space-between"><Text fontVariantNumeric="tabular-nums">{progress.counts}</Text><Text fontVariantNumeric="tabular-nums">{progress.percent}%</Text></HStack>@@ -71,24 +71,24 @@ export const ImageIndexProgressPanel = ({waiting out a generation from one that has died, and the first isroutine, so neither may be claimed. */}{progress.stale ? (- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{progress.stale}</Text>) : null}{progress.skipped ? (- <Text color="fg.subtle" fontSize="xs">+ <Text color="fg.subtle" fontSize="md">{progress.skipped}</Text>) : null}</Stack>{error ? (// Wrap server URLs/identifiers anywhere to prevent min-content overflow in narrow panels.- <Text color="fg.error" fontSize="xs" maxW="full" minW="0" mt="2" overflowWrap="anywhere" role="alert">+ <Text color="fg.error" fontSize="md" maxW="full" minW="0" mt="2" overflowWrap="anywhere" role="alert">{error}</Text>) : null}{/* Refresh is the only control before map readiness and recovers counts missed while offline. */}- <Button mt={error ? '0' : '2'} onClick={onRetry} size="xs" variant="outline">+ <Button mt={error ? '0' : '2'} onClick={onRetry} size="md" variant="outline">{error ? 'Retry' : 'Check again'}</Button></Stack>@@ -115,7 +115,7 @@ export const ImageIndexActivityBadge = ({ counts, updatedAt }: ImageIndexProgresborderRadius="md"borderWidth="1px"color="fg.muted"- fontSize="2xs"+ fontSize="xs"gap="1.5"maxW="full"minW="0"@@ -124,7 +124,7 @@ export const ImageIndexActivityBadge = ({ counts, updatedAt }: ImageIndexProgrespy="1"title={label}>- <Progress.Root flexShrink="0" max={100} size="xs" value={progress.percent} w="10">+ <Progress.Root flexShrink="0" max={100} size="md" value={progress.percent} w="10"><Progress.Track aria-label={`${PROGRESS_LABEL}: ${label}`} aria-valuenow={progress.percent}><Progress.Range /></Progress.Track>@@ -145,7 +145,7 @@ export const ImageIndexProgressInline = ({ counts, updatedAt }: ImageIndexProgre<Tooltip content={label}>{/* Use minW=0 and truncation so six-digit footer counts cannot cover refresh in narrow panels. */}<HStack gap="1.5" minW="0" overflow="hidden" title={label}>- <Progress.Root flexShrink="0" max={100} size="xs" value={progress.percent} w="10">+ <Progress.Root flexShrink="0" max={100} size="md" value={progress.percent} w="10">{/* The counts go in the name too: at the widget's minimum width thelabel beside it truncates to a couple of characters, and thetooltip carrying the full text is hover-only. */}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageMapWidgetFooter.tsx b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageMapWidgetFooter.tsxindex d032cfaef5..43d4087cda 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageMapWidgetFooter.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageMapWidgetFooter.tsx@@ -38,7 +38,7 @@ export const ImageMapWidgetFooter = (_props: WidgetViewProps) => {const skipped = indexCounts && indexCounts.pending === 0 && indexCounts.failed > 0;return (- <HStack borderTopWidth="1px" color="fg.muted" fontSize="2xs" gap="2" justify="space-between" px="3" py="1" w="full">+ <HStack borderTopWidth="1px" color="fg.muted" fontSize="xs" gap="2" justify="space-between" px="3" py="1" w="full"><HStack gap="2" minW="0"><Text whiteSpace="nowrap">{data.pointCount.toLocaleString()} points</Text>{/* Every sibling in this row is nowrap, so this is the only segment@@ -62,7 +62,7 @@ export const ImageMapWidgetFooter = (_props: WidgetViewProps) => {) : null}</HStack><Tooltip content="Refresh map">- <IconButton aria-label="Refresh map" color="fg.muted" size="2xs" variant="ghost" onClick={handleRefresh}>+ <IconButton aria-label="Refresh map" color="fg.muted" size="sm" variant="ghost" onClick={handleRefresh}><Icon as={RefreshCwIcon} boxSize="3" /></IconButton></Tooltip>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageMapWidgetView.tsx b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageMapWidgetView.tsxindex 7cb30db64f..2ed77e528a 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageMapWidgetView.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ImageMapWidgetView.tsx@@ -58,7 +58,7 @@ const selectStarterModels = (snapshot: {const plotLoadingFallback = (<Center h="full">- <Spinner size="lg" />+ <Spinner size="2xl" /></Center>);@@ -197,7 +197,7 @@ export const ImageMapWidgetView = ({ runtime }: WidgetViewProps) => {if (loadState === 'idle' || loadState === 'loading') {return (<Center h="full">- <Spinner size="lg" />+ <Spinner size="2xl" /></Center>);}@@ -244,11 +244,11 @@ export const ImageMapWidgetView = ({ runtime }: WidgetViewProps) => {return (<Center h="full"><Stack align="center" gap="3">- <Spinner size="lg" />- <Text color="fg.muted" fontSize="sm">+ <Spinner size="2xl" />+ <Text color="fg.muted" fontSize="lg">Computing your image map…</Text>- <Button onClick={handleRefresh} size="xs" variant="outline">+ <Button onClick={handleRefresh} size="md" variant="outline">Check again</Button></Stack>@@ -291,16 +291,16 @@ const CenteredMessage = ({<Center h="full" p="6"><Stack align="center" gap="2" maxW="sm" textAlign="center"><Text fontWeight="semibold">{title}</Text>- <Text color="fg.muted" fontSize="sm">+ <Text color="fg.muted" fontSize="lg">{detail}</Text>{errorDetail ? (- <Text color="fg.error" fontSize="sm" maxW="full" minW="0" overflowWrap="anywhere" role="alert">+ <Text color="fg.error" fontSize="lg" maxW="full" minW="0" overflowWrap="anywhere" role="alert">{errorDetail}</Text>) : null}{actionLabel && onAction ? (- <Button mt="2" onClick={onAction} size="xs" variant="outline">+ <Button mt="2" onClick={onAction} size="md" variant="outline">{actionLabel}</Button>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/image-map/MapHoverCard.tsx b/invokeai/frontend/webv2/src/workbench/widgets/image-map/MapHoverCard.tsxindex c042fa20a3..3417fe6edd 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/image-map/MapHoverCard.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/image-map/MapHoverCard.tsx@@ -36,7 +36,7 @@ export interface HoverCluster {/** "Label: a, b, c" with the first (primary) tag emphasized. */const HoverTagsRow = ({ prefix, tags }: { prefix: string; tags: string[] }) => (- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md"><chakra.span color="fg.subtle">{prefix}</chakra.span>{tags.map((tag, index) => (<chakra.span key={tag} fontWeight={index === 0 ? '600' : undefined}>@@ -145,7 +145,7 @@ export const MapHoverCard = ({/><HStack gap="1.5"><Box bg={clusterColor} boxSize="2" flexShrink={0} rounded="full" />- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{hoverCluster.cluster < 0? 'Unclustered': `Cluster ${hoverCluster.cluster} · ${hoverCluster.clusterSize} items`}@@ -153,12 +153,12 @@ export const MapHoverCard = ({</HStack><HStack alignItems="flex-start" gap="1.5">{videoDuration !== null ? (- <Badge display="flex" flexShrink={0} fontVariantNumeric="tabular-nums" gap="1" size="xs" variant="solid">+ <Badge display="flex" flexShrink={0} fontVariantNumeric="tabular-nums" gap="1" size="md" variant="solid"><PlayIcon aria-hidden="true" fill="currentColor" />{videoDuration}</Badge>) : null}- <Text color="fg.muted" fontSize="xs" wordBreak="break-all">+ <Text color="fg.muted" fontSize="md" wordBreak="break-all">{item.name}</Text></HStack>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/AdjustmentSettings.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/AdjustmentSettings.tsxindex cc8445d447..f07c3357cf 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/AdjustmentSettings.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/AdjustmentSettings.tsx@@ -235,7 +235,7 @@ const AdjustmentEntryEditor = ({return <LevelsEditor entry={entry} onCommit={handleLevelsCommit} onLive={handleLevelsLive} />;case 'invert':return (- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('widgets.layers.adjustments.invertHint')}</Text>);@@ -318,7 +318,7 @@ const ScalarSlider = ({formatValue={formatValue}max={max}min={min}- size="sm"+ size="md"step={step}value={sliderValue}withThumbTooltip@@ -441,7 +441,7 @@ const LevelsEditor = ({aria-label={t('widgets.layers.adjustments.channel')}collection={channelCollection}positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={channelValue}valueText={t(`widgets.layers.adjustments.channels.${entry.channel ?? 'rgb'}`)}onValueChange={handleChannelChange}@@ -453,7 +453,7 @@ const LevelsEditor = ({max={255}min={0}minStepsBetweenThumbs={1}- size="sm"+ size="md"step={1}value={inputValue}withThumbTooltip@@ -467,7 +467,7 @@ const LevelsEditor = ({formatValue={formatGamma}max={4}min={0.1}- size="sm"+ size="md"step={0.01}value={gammaValue}withThumbTooltip@@ -480,7 +480,7 @@ const LevelsEditor = ({aria-label={outputAria}max={255}min={0}- size="sm"+ size="md"step={1}value={outputValue}withThumbTooltip@@ -657,14 +657,14 @@ const CurvesEditor = ({return (<Stack css={CURVE_EDITOR_CSS} gap="2"><HStack justify="space-between">- <Text fontSize="xs" fontWeight="medium">+ <Text fontSize="md" fontWeight="medium">{t('widgets.layers.adjustments.curves')}</Text><Selectaria-label={t('widgets.layers.adjustments.channel')}collection={channelCollection}positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={channelValue}valueText={t(`widgets.layers.adjustments.channels.${channel}`)}w="6rem"@@ -756,7 +756,7 @@ const CurvesEditor = ({);})}</CurveSvg>- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('widgets.layers.adjustments.curvesHint')}</Text></Stack>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/ControlLayerSettings.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/ControlLayerSettings.tsxindex 388cd60cce..8f3e9364e1 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/ControlLayerSettings.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/ControlLayerSettings.tsx@@ -402,7 +402,7 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: Contaria-label={t('widgets.layers.control.kind')}collection={kindCollection}positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={kindValue}valueText={t(`widgets.layers.control.kinds.${adapter.kind}`)}onValueChange={handleKindChange}@@ -414,7 +414,7 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: Contaria-label={t('widgets.layers.control.model')}collection={modelCollection}positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={modelValue}valueText={selectedModelName ?? t('widgets.layers.control.selectModel')}valueTextProps={adapter.model ? undefined : MISSING_MODEL_VALUE_TEXT_PROPS}@@ -429,7 +429,7 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: ContformatValue={formatWeight}max={CONTROL_WEIGHT_BOUNDS.sliderMax}min={CONTROL_WEIGHT_BOUNDS.sliderMin}- size="sm"+ size="md"step={CONTROL_WEIGHT_BOUNDS.step}value={weightValue}withThumbTooltip@@ -439,7 +439,7 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: Cont<NumberInput.Rootmax={CONTROL_WEIGHT_BOUNDS.inputMax}min={weightInputMin}- size="xs"+ size="md"step={CONTROL_WEIGHT_BOUNDS.step}value={weightInputValue}w="20"@@ -456,7 +456,7 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: ContformatValue={formatUnitPercent}max={1}min={0}- size="sm"+ size="md"step={0.01}value={rangeValue}withThumbTooltip@@ -470,7 +470,7 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: Contaria-label={t('widgets.layers.control.mode')}collection={controlModeCollection}positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={controlModeValue}valueText={t(`widgets.layers.control.modes.${adapter.controlMode ?? 'balanced'}`)}onValueChange={handleControlModeChange}@@ -480,7 +480,7 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: Cont<Switch.Rootchecked={layer.withTransparencyEffect}colorPalette="accent"- size="xs"+ size="sm"onCheckedChange={handleTransparencyToggle}><Switch.HiddenInput />@@ -488,7 +488,7 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: Cont<Switch.Thumb /></Switch.Control><Switch.Label>- <Text fontSize="xs">{t('widgets.layers.control.transparencyEffect')}</Text>+ <Text fontSize="md">{t('widgets.layers.control.transparencyEffect')}</Text></Switch.Label></Switch.Root><LayerFilterOperationButton@@ -498,20 +498,20 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: Contoperations={engine ? getCanvasOperations(engine) : null}/>{visibleValidationReason ? (- <Text color="fg.warning" fontSize="2xs" role="alert">+ <Text color="fg.warning" fontSize="xs" role="alert">{t(`widgets.layers.control.validation.${visibleValidationReason}`)}</Text>) : null}{showCapabilitiesFailure ? (<HStack ref={handOverFocusOnLoad} aria-busy={isRetryingCapabilities} gap="2" role="alert">- <Text color="fg.warning" flex="1" fontSize="2xs">+ <Text color="fg.warning" flex="1" fontSize="xs">{t('widgets.layers.control.capabilitiesLoadFailed')}</Text>{/* `aria-disabled` rather than `disabled`: a disabled button drops the focus it holds. */}<Buttonaria-busy={isRetryingCapabilities}aria-disabled={isRetryingCapabilities}- size="xs"+ size="md"variant="outline"onClick={retryCapabilities}>@@ -520,7 +520,7 @@ export const ControlLayerSettings = ({ engine, layer, onOperationStarted }: Cont</HStack>) : null}{capabilitiesUnavailable && !showCapabilitiesFailure ? (- <Text color="fg.muted" fontSize="2xs" role="status">+ <Text color="fg.muted" fontSize="xs" role="status">{t('widgets.layers.control.capabilitiesLoading')}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/InpaintMaskSettings.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/InpaintMaskSettings.tsxindex 1036382fc3..c7d2cf20a2 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/InpaintMaskSettings.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/InpaintMaskSettings.tsx@@ -133,7 +133,7 @@ export const InpaintMaskSettings = ({ engine, layer }: InpaintMaskSettingsProps)aria-label={t('widgets.layers.maskFill.editInColorPane')}alignSelf="flex-end"color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={handleArmTint}>@@ -145,14 +145,14 @@ export const InpaintMaskSettings = ({ engine, layer }: InpaintMaskSettingsProps)aria-label={t('widgets.layers.maskFill.style')}collection={styleCollection}positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={styleValue}valueText={t(`widgets.layers.maskFill.styles.${fill.style}`)}onValueChange={handleStyleChange}/></Field></HStack>- <Button disabled={!engine} size="xs" variant="outline" onClick={handleInvert}>+ <Button disabled={!engine} size="md" variant="outline" onClick={handleInvert}>{t('widgets.layers.maskFill.invert')}</Button></Stack>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerBlendRow.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerBlendRow.tsxindex b8821295d7..6972a3fadd 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerBlendRow.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerBlendRow.tsx@@ -15,8 +15,8 @@ import { useTranslation } from 'react-i18next';type LayerBlendRowEngine = Pick<CanvasEngineHandle, 'document' | 'exports' | 'interaction' | 'layers' | 'projectId'>;const SELECT_POSITIONING = { placement: 'bottom-start', sameWidth: true } as const;-const BLEND_TRIGGER_PROPS = { fontSize: 'xs', h: '7', minH: '7' } as const;-const OPACITY_INPUT_PROPS = { fontSize: 'xs', h: '7' } as const;+const BLEND_TRIGGER_PROPS = { fontSize: 'md', h: '7', minH: '7' } as const;+const OPACITY_INPUT_PROPS = { fontSize: 'md', h: '7' } as const;const clamp01 = (value: number): number => Math.min(1, Math.max(0, value));@@ -101,7 +101,7 @@ const BlendModeControl = ({itemsMaxH="16rem"minW="0"positioning={SELECT_POSITIONING}- size="xs"+ size="md"triggerProps={BLEND_TRIGGER_PROPS}value={blendValue}valueText={t(`widgets.layers.blendModes.${blendMode}`)}@@ -201,7 +201,7 @@ const OpacityRow = ({disabled={disabled}max={100}min={0}- size="sm"+ size="lg"step={1}value={opacityPercent}w="16"diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerChildRow.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerChildRow.tsxindex 980f7c5c41..b0c45b57f9 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerChildRow.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerChildRow.tsx@@ -284,7 +284,7 @@ const LayerChildRowComponent = ({defaultValue={name}flex="1"minW="0"- size="2xs"+ size="md"userSelect="text"onBlur={handleNameBlur}onClick={stopPropagation}@@ -292,12 +292,12 @@ const LayerChildRowComponent = ({onPointerDown={stopPropagation}/>) : (- <Text color={muted ? 'fg.muted' : undefined} flex="1" fontSize="2xs" fontWeight="600" minW="0" truncate>+ <Text color={muted ? 'fg.muted' : undefined} flex="1" fontSize="xs" fontWeight="600" minW="0" truncate>{name}</Text>)}{child.detail !== null && !renaming ? (- <Text color="fg.subtle" flexShrink={0} fontSize="2xs" fontVariantNumeric="tabular-nums">+ <Text color="fg.subtle" flexShrink={0} fontSize="xs" fontVariantNumeric="tabular-nums">{child.detail}</Text>) : null}@@ -325,7 +325,7 @@ export const ChildDragGhost = ({ child }: { child: ProjectedChildRow }) => {rounded="sm"><Icon as={CHILD_ROW_GLYPHS[child.kind]} boxSize="3" color="fg.muted" flexShrink={0} />- <Text fontSize="2xs" fontWeight="700" truncate>+ <Text fontSize="xs" fontWeight="700" truncate>{childRowName(child, t)}</Text></HStack>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerContextMenu.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerContextMenu.tsxindex b03901f80f..e870c11b72 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerContextMenu.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerContextMenu.tsx@@ -923,7 +923,7 @@ const LayerMenu = ({<IconButtonaria-label={t('widgets.layers.options')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={stopPropagation}>@@ -937,7 +937,7 @@ const LayerMenu = ({{groupLayout ? (<><Menu.ItemGroup>- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{t(getLayerContextMenuLayerLabelKey(layer.type))}</Menu.ItemGroupLabel>{renderLayerMenuEntries({ entries: groupLayout.layerEntries, runAction, t })}@@ -946,7 +946,7 @@ const LayerMenu = ({<><Menu.Separator borderColor="border.subtle" /><Menu.ItemGroup>- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{t('widgets.labels.canvas')}</Menu.ItemGroupLabel>{beforeDangerItems}@@ -1100,7 +1100,7 @@ const SUBMENU_META: Record<LayerContextSubmenuId, { defaultLabel: string; icon:};const SUBMENU_POSITIONING = { placement: 'right-start' } as const;-const QUICK_MENU_TOOLTIP_CONTENT_PROPS = { fontSize: '2xs' } as const;+const QUICK_MENU_TOOLTIP_CONTENT_PROPS = { fontSize: 'xs' } as const;const QUICK_MENU_TOOLTIP_POSITIONING_PROPS = { placement: 'top' } as const;const renderLayerMenuEntries = ({@@ -1212,7 +1212,7 @@ const LayerMenuSubmenu = ({) : (<HStack gap="2" minW="0" w="full"><Icon as={meta.icon} boxSize="3.5" color="fg.subtle" flexShrink={0} />- <Text flex="1" fontSize="xs">+ <Text flex="1" fontSize="md">{label}</Text><Icon as={ChevronRightIcon} boxSize="3" color="fg.subtle" flexShrink={0} />diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterControls.test.ts b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterControls.test.tsindex c7db7104a8..049bec58b9 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterControls.test.ts+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterControls.test.ts@@ -6,9 +6,9 @@ describe('getLayerFilterControlPolicy', () => {it('renders compact vertical fields with steppers and downward-opening selects', () => {expect(getLayerFilterControlPolicy()).toEqual({controlMinH: undefined,- controlSize: 'xs',+ controlSize: 'md',fieldOrientation: 'vertical',- modelSize: 'xs',+ modelSize: 'md',positioning: { placement: 'bottom-end', sameWidth: false },showFilterLabel: true,showNumberStepper: true,diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterControls.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterControls.tsxindex e5b3c4137a..45964ba14c 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterControls.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterControls.tsx@@ -37,9 +37,9 @@ interface LayerFilterControlsProps {export const getLayerFilterControlPolicy = () =>({controlMinH: undefined,- controlSize: 'xs',+ controlSize: 'md',fieldOrientation: 'vertical',- modelSize: 'xs',+ modelSize: 'md',positioning: SELECT_POSITIONING_DOWN,showFilterLabel: true,showNumberStepper: true,@@ -215,7 +215,7 @@ const FilterParamField = ({ disabled, param, policy, settings, value, onChange }colorPalette="accent"disabled={disabled}minH={policy.controlMinH}- size="xs"+ size="sm"onCheckedChange={handleBoolean}><Switch.HiddenInput />@@ -223,7 +223,7 @@ const FilterParamField = ({ disabled, param, policy, settings, value, onChange }<Switch.Thumb /></Switch.Control><Switch.Label>- <Text fontSize="xs">{label}</Text>+ <Text fontSize="md">{label}</Text></Switch.Label></Switch.Root>);@@ -292,7 +292,7 @@ const FilterParamField = ({ disabled, param, policy, settings, value, onChange }max={numberBounds.sliderMax}minH={policy.controlMinH}min={numberBounds.sliderMin}- size="sm"+ size="md"step={numberBounds.step}value={numberValue}withThumbTooltipdiff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterOperationButton.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterOperationButton.tsxindex 6062d05c1e..f4a9b10fd8 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterOperationButton.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerFilterOperationButton.tsx@@ -65,7 +65,7 @@ export const LayerFilterOperationButton = ({disabled={disabledReason === null}><Box w="full">- <Button disabled={disabledReason !== null} size="xs" variant="outline" w="full" onClick={start}>+ <Button disabled={disabledReason !== null} size="md" variant="outline" w="full" onClick={start}>{t('widgets.layers.control.filter')}</Button></Box>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerGroupContextMenu.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerGroupContextMenu.tsxindex 30cb1a5d88..3da932611b 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerGroupContextMenu.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerGroupContextMenu.tsx@@ -264,7 +264,7 @@ export const LayerGroupContextMenu = ({<Menu.TriggerItem aria-label={t('widgets.layers.menu.addAdjustment')}><HStack gap="2" minW="0" w="full"><Icon as={SlidersHorizontalIcon} boxSize="3.5" color="fg.subtle" flexShrink={0} />- <Text flex="1" fontSize="xs">+ <Text flex="1" fontSize="md">{t('widgets.layers.menu.addAdjustment')}</Text><Icon as={ChevronRightIcon} boxSize="3" color="fg.subtle" flexShrink={0} />@@ -317,7 +317,7 @@ export const LayerGroupContextMenu = ({<Menu.TriggerItem aria-label={t('widgets.layers.menu.colorLabel')}><HStack gap="2" minW="0" w="full"><Icon as={PaletteIcon} boxSize="3.5" color="fg.subtle" flexShrink={0} />- <Text flex="1" fontSize="xs">+ <Text flex="1" fontSize="md">{t('widgets.layers.menu.colorLabel')}</Text><Icon as={ChevronRightIcon} boxSize="3" color="fg.subtle" flexShrink={0} />diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRegionSettings.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRegionSettings.tsxindex 789bff39ae..7aaf5f2847 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRegionSettings.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRegionSettings.tsx@@ -128,14 +128,14 @@ export const LayerRegionSettings = ({ engine, layer }: LayerRegionSettingsProps)aria-label={t('widgets.layers.maskFill.style')}collection={styleCollection}positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={styleValue}valueText={t(`widgets.layers.maskFill.styles.${fill.style}`)}onValueChange={handleStyleChange}/></Field></HStack>- <Text color="fg.muted" fontSize="xs">+ <Text color="fg.muted" fontSize="md">{t('widgets.layers.modifiers.regionHint')}</Text></Stack>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRow.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRow.tsxindex f65c372bf2..34588eeafe 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRow.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerRow.tsx@@ -419,7 +419,7 @@ const LayerRowComponent = ({ref={focusOnMount}aria-label={t('widgets.layers.actions.rename')}defaultValue={node.name}- size="2xs"+ size="md"userSelect="text"onBlur={handleNameBlur}onClick={stopPropagation}@@ -429,7 +429,7 @@ const LayerRowComponent = ({) : (<MiddleTruncatecolor={vm.contributionEnabled ? undefined : 'fg.muted'}- fontSize="2xs"+ fontSize="xs"fontWeight="700"text={node.name}/>@@ -449,7 +449,7 @@ const LayerRowComponent = ({aria-pressed={!ownHidden}color={vm.documentHidden ? 'fg.muted' : 'fg'}disabled={editingLocked || hiddenByAncestor}- size="2xs"+ size="sm"tabIndex={-1}variant="ghost"onClick={handleToggleHidden}@@ -470,7 +470,7 @@ const LayerRowComponent = ({aria-label={t('widgets.layers.actions.toggleLock')}color={node.isLocked ? 'fg' : 'fg.muted'}disabled={editingLocked || lockedByAncestor}- size="2xs"+ size="sm"tabIndex={-1}variant="ghost"onClick={handleToggleLock}@@ -576,11 +576,11 @@ export const LayerDragGhost = ({ count, vm }: { count: number; vm: SemanticNoderounded="sm">{vm.kind === 'group' ? <Icon as={FolderIcon} boxSize="3.5" color="fg.muted" flexShrink={0} /> : null}- <Text flex="1" fontSize="2xs" fontWeight="700" truncate>+ <Text flex="1" fontSize="xs" fontWeight="700" truncate>{vm.node.name}</Text>{count > 1 ? (- <Badge colorPalette="accent" size="xs" variant="solid">+ <Badge colorPalette="accent" size="md" variant="solid">{count}</Badge>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerStackHeader.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerStackHeader.tsxindex 8ee63b6900..efbb286ac0 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerStackHeader.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerStackHeader.tsx@@ -124,7 +124,7 @@ const LayerStackHeaderComponent = ({<IconButtonaria-label={t(collapsed ? 'widgets.layers.groupActions.expand' : 'widgets.layers.groupActions.collapse')}color="fg.muted"- size="2xs"+ size="sm"tabIndex={-1}variant="ghost"onClick={handleToggle}@@ -141,7 +141,7 @@ const LayerStackHeaderComponent = ({<Textcolor="fg.muted"flex="1"- fontSize="2xs"+ fontSize="xs"fontWeight="700"textTransform="uppercase"truncate@@ -157,7 +157,7 @@ const LayerStackHeaderComponent = ({aria-label={action.label}color="fg.muted"disabled={action.disabled}- size="2xs"+ size="sm"tabIndex={-1}variant="ghost"onClick={action.run}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerStackMenu.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerStackMenu.tsxindex cf17b4a82e..d8fb654ecf 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerStackMenu.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerStackMenu.tsx@@ -44,7 +44,7 @@ export const LayerStackMenu = ({ anchor, document, editingLocked, engine, stack,<Menu.Item key={action.id} disabled={action.disabled} value={action.id} onSelect={action.run}><HStack gap="2" minW="0" w="full"><Icon as={action.icon} boxSize="3.5" color="fg.muted" flexShrink={0} />- <Text flex="1" fontSize="xs">+ <Text flex="1" fontSize="md">{action.label}</Text></HStack>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerThumbnail.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerThumbnail.tsxindex 9af799b120..5d82d8c8bb 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerThumbnail.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayerThumbnail.tsx@@ -112,7 +112,7 @@ const LayerThumbnailContent = ({onClick={retry}onPointerDown={stopPropagation}position="absolute"- size="xs"+ size="md"variant="surface"><RefreshCwIcon />diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersHeaderActions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersHeaderActions.tsxindex 48b6a5338a..77646bffa9 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersHeaderActions.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersHeaderActions.tsx@@ -50,7 +50,7 @@ const AddLayerMenuItems = () => {<Fragment key={group.titleKey}>{groupIndex > 0 ? <Menu.Separator borderColor="border.subtle" /> : null}<Menu.ItemGroup>- <Menu.ItemGroupLabel color="fg.subtle" fontSize="2xs" textTransform="uppercase">+ <Menu.ItemGroupLabel color="fg.subtle" fontSize="xs" textTransform="uppercase">{t(group.titleKey)}</Menu.ItemGroupLabel>{group.items@@ -61,7 +61,7 @@ const AddLayerMenuItems = () => {<Menu.Item key={item.id} value={item.id} onSelect={handleSelect(item.id)}><HStack gap="2" minW="0" w="full"><Icon as={ItemIcon} boxSize="3.5" color="fg.subtle" flexShrink={0} />- <Text flex="1" fontSize="xs">+ <Text flex="1" fontSize="md">{t(item.labelKey)}</Text></HStack>@@ -82,7 +82,7 @@ export const LayersHeaderActions = () => {return (<Menu.Root positioning={MENU_POSITIONING}><Menu.Trigger asChild>- <IconButton aria-label={t('widgets.layers.addLayer')} color="fg.muted" size="2xs" variant="ghost">+ <IconButton aria-label={t('widgets.layers.addLayer')} color="fg.muted" size="sm" variant="ghost"><PlusIcon /></IconButton></Menu.Trigger>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersPanelFooter.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersPanelFooter.tsxindex 9af48a71c6..204d196a99 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersPanelFooter.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersPanelFooter.tsx@@ -31,12 +31,12 @@ const LayersPanelFooterComponent = ({ commands, degraded, filter, onFilterChangeflex="1"minW="0"placeholder={t('widgets.layers.footer.filter')}- size="2xs"+ size="md"value={filter}onChange={handleFilter}/>{degraded ? (- <Text color="fg.muted" flexShrink={0} fontSize="2xs" whiteSpace="nowrap">+ <Text color="fg.muted" flexShrink={0} fontSize="xs" whiteSpace="nowrap">{t('widgets.layers.footer.degraded')}</Text>) : null}@@ -83,7 +83,7 @@ const FooterAction = ({aria-label={label}colorPalette={colorPalette}disabled={disabled}- size="2xs"+ size="sm"variant="ghost"onClick={onRun}>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersTree.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersTree.tsxindex bc378c7448..1fceced9a0 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersTree.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersTree.tsx@@ -1227,7 +1227,7 @@ export const LayersTree = ({<Textbg="bg.panel"color="fg.error"- fontSize="2xs"+ fontSize="xs"left="0"maxW="full"position="absolute"diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersWidgetView.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersWidgetView.tsxindex 6fb1da41ae..26e717f22a 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersWidgetView.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersWidgetView.tsx@@ -156,7 +156,7 @@ export const LayersWidgetView = ({ runtime }: WidgetViewProps) => {onContextMenu={handleEmptyAreaContextMenu}><Icon as={LayersIcon} boxSize="6" />- <Text fontSize="2xs" textAlign="center">+ <Text fontSize="xs" textAlign="center">{t('widgets.layers.empty')}</Text></Flex>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/MaskModifierSettings.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/MaskModifierSettings.tsxindex 5a74aac563..7da718c7a4 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/MaskModifierSettings.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/MaskModifierSettings.tsx@@ -99,7 +99,7 @@ export const MaskModifierSettings = ({formatValue={formatUnitPercent}max={1}min={0}- size="sm"+ size="md"step={0.01}value={sliderValue}withThumbTooltip@@ -107,7 +107,7 @@ export const MaskModifierSettings = ({onValueChangeEnd={handleChangeEnd}/></Field>- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t(HELP_OF[kind])}</Text></Stack>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/ReferenceImageSettings.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/ReferenceImageSettings.tsxindex 1b8dfb3f64..767f3d70ec 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/ReferenceImageSettings.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/ReferenceImageSettings.tsx@@ -383,7 +383,7 @@ const ReferenceImageEditor = ({colorPalette="red"position="absolute"right="0.5"- size="2xs"+ size="sm"top="0.5"variant="solid"onClick={handleClearImage}@@ -393,10 +393,10 @@ const ReferenceImageEditor = ({) : null}</DropZone><Stack align="start" flex="1" gap="1" minW="0">- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('widgets.layers.regionalGuidance.referenceImageHelp')}</Text>- <Button size="xs" variant="ghost" onClick={openUpload}>+ <Button size="md" variant="ghost" onClick={openUpload}><UploadIcon size="12" />{t('widgets.gallery.picker.upload')}</Button>@@ -409,7 +409,7 @@ const ReferenceImageEditor = ({aria-label={t('widgets.layers.regionalGuidance.model')}collection={modelCollection}positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={modelValue}valueText={modelName}onValueChange={handleModel}@@ -423,7 +423,7 @@ const ReferenceImageEditor = ({aria-label={t('widgets.layers.regionalGuidance.method')}collection={collections.method}positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={methodValue}valueText={t(`widgets.layers.regionalGuidance.methods.${config.method}`)}onValueChange={handleMethod}@@ -435,7 +435,7 @@ const ReferenceImageEditor = ({formatValue={formatWeight}max={2}min={-1}- size="sm"+ size="md"step={0.01}value={weightValue}withThumbTooltipdiff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/RegionalGuidanceSettings.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/RegionalGuidanceSettings.tsxindex 80e299e0a6..b55579d18b 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/RegionalGuidanceSettings.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/RegionalGuidanceSettings.tsx@@ -228,7 +228,7 @@ export const RegionalGuidanceSettings = ({ engine, layer }: RegionalGuidanceSettreturn (<Stack gap="2">{unsupportedModel ? (- <Text color="fg.warning" fontSize="2xs" role="alert">+ <Text color="fg.warning" fontSize="xs" role="alert">{t('widgets.layers.regionalGuidance.unsupportedModel')}</Text>) : null}@@ -241,7 +241,7 @@ export const RegionalGuidanceSettings = ({ engine, layer }: RegionalGuidanceSettplaceholder={t('widgets.layers.regionalGuidance.positivePromptPlaceholder')}resizeHandleAriaLabel={t('widgets.layers.regionalGuidance.positivePrompt')}showSyntaxHighlighting={showSyntaxHighlighting}- size="sm"+ size="lg"value={positivePrompt}onBlur={handlePositiveBlur}onChange={handlePositiveChange}@@ -257,7 +257,7 @@ export const RegionalGuidanceSettings = ({ engine, layer }: RegionalGuidanceSettplaceholder={t('widgets.layers.regionalGuidance.negativePromptPlaceholder')}resizeHandleAriaLabel={t('widgets.layers.regionalGuidance.negativePrompt')}showSyntaxHighlighting={showSyntaxHighlighting}- size="sm"+ size="lg"value={negativePrompt}onBlur={handleNegativeBlur}onChange={handleNegativeChange}@@ -265,13 +265,13 @@ export const RegionalGuidanceSettings = ({ engine, layer }: RegionalGuidanceSett</Field>)}{showNegativeControls && (- <Switch.Root checked={layer.autoNegative} size="sm" onCheckedChange={handleAutoNegative}>+ <Switch.Root checked={layer.autoNegative} size="md" onCheckedChange={handleAutoNegative}><Switch.HiddenInput /><Switch.Control><Switch.Thumb /></Switch.Control><Switch.Label>- <Text fontSize="xs">{t('widgets.layers.regionalGuidance.autoNegative')}</Text>+ <Text fontSize="md">{t('widgets.layers.regionalGuidance.autoNegative')}</Text></Switch.Label></Switch.Root>)}@@ -291,7 +291,7 @@ export const RegionalGuidanceSettings = ({ engine, layer }: RegionalGuidanceSettaria-label={t('widgets.layers.maskFill.editInColorPane')}alignSelf="flex-end"color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={handleArmTint}>@@ -303,14 +303,14 @@ export const RegionalGuidanceSettings = ({ engine, layer }: RegionalGuidanceSettaria-label={t('widgets.layers.maskFill.style')}collection={styleCollection}positioning={SELECT_POSITIONING}- size="xs"+ size="md"value={styleValue}valueText={t(`widgets.layers.maskFill.styles.${fill.style}`)}onValueChange={handleStyleChange}/></Field></HStack>- <Button disabled={!engine} size="xs" variant="outline" onClick={handleInvert}>+ <Button disabled={!engine} size="md" variant="outline" onClick={handleInvert}>{t('widgets.layers.maskFill.invert')}</Button></Stack>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/RunLayerWorkflowDialog.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/RunLayerWorkflowDialog.tsxindex 018017d390..24f7399f63 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/RunLayerWorkflowDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/RunLayerWorkflowDialog.tsx@@ -475,7 +475,7 @@ export const RunLayerWorkflowDialog = ({collection={outputCollection}disabled={isRunning || availability.outputs.length === 0}positioning={SELECT_POSITIONING}- size="sm"+ size="lg"value={outputValue}onValueChange={handleOutputChange}/>@@ -486,7 +486,7 @@ export const RunLayerWorkflowDialog = ({collection={inputCollection}disabled={isRunning || runnableInputs.length === 0}positioning={SELECT_POSITIONING}- size="sm"+ size="lg"value={inputValue}onValueChange={handleInputChange}/>@@ -497,33 +497,33 @@ export const RunLayerWorkflowDialog = ({collection={destinationCollection}disabled={isRunning}positioning={SELECT_POSITIONING}- size="sm"+ size="lg"value={destinationValue}onValueChange={handleDestinationChange}/></Field>{readinessMessage ? (- <Text color="fg.error" fontSize="xs" role="alert">+ <Text color="fg.error" fontSize="md" role="alert">{readinessMessage}</Text>) : null}{error ? (- <Text color="fg.error" fontSize="xs" role="alert">+ <Text color="fg.error" fontSize="md" role="alert">{error}</Text>) : null}{isRunning ? (- <Text color="fg.muted" fontSize="xs" role="status">+ <Text color="fg.muted" fontSize="md" role="status">{t('widgets.layers.runWorkflow.running')}</Text>) : null}</Stack></Dialog.Body><Dialog.Footer>- <Button size="xs" type="button" variant="ghost" onClick={close}>+ <Button size="md" type="button" variant="ghost" onClick={close}>{t('widgets.layers.runWorkflow.cancel')}</Button>- <Button disabled={!canRun} loading={isRunning} size="xs" type="submit" variant="solid">+ <Button disabled={!canRun} loading={isRunning} size="md" type="submit" variant="solid">{t('widgets.layers.runWorkflow.run')}</Button></Dialog.Footer>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/ColorPane.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/ColorPane.tsxindex 34651f7750..e59f1ce6ac 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/ColorPane.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/ColorPane.tsx@@ -169,7 +169,7 @@ export const ColorPane = () => {<IconButtonaria-label={t('widgets.canvas.commands.swapColors')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={commands.swapPair}>@@ -180,7 +180,7 @@ export const ColorPane = () => {<IconButtonaria-label={t('widgets.canvas.commands.resetColors')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={commands.resetPair}>@@ -193,7 +193,7 @@ export const ColorPane = () => {<IconButtonaria-label={t('common.colorPicker.sampleFromCanvas')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={sampleFromCanvas}>@@ -202,7 +202,7 @@ export const ColorPane = () => {</Tooltip>) : null}<Tooltip content={modeLabel}>- <IconButton aria-label={modeLabel} color="fg.muted" size="2xs" variant="ghost" onClick={toggleMode}>+ <IconButton aria-label={modeLabel} color="fg.muted" size="sm" variant="ghost" onClick={toggleMode}>{mode === 'wheel' ? <SquareIcon size={14} /> : <CircleIcon size={14} />}</IconButton></Tooltip>@@ -373,7 +373,7 @@ const ChannelFields = ({aria-label={t('widgets.layers.colorPane.format')}color="fg.muted"flexShrink={0}- fontSize="2xs"+ fontSize="xs"fontWeight="700"px="1.5"rounded="sm"@@ -448,9 +448,9 @@ const HexField = ({ hex, onCommit }: { hex: string; onCommit: (hex: string) => varia-label={t('widgets.layers.colorPane.channels.hex')}flex="1"fontFamily="mono"- fontSize="xs"+ fontSize="md"minW="24"- size="xs"+ size="md"value={draft ?? hex}onBlur={commit}onChange={onChange}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/GroupSelectedNotice.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/GroupSelectedNotice.tsxindex d6b4341523..6fa4a251d8 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/GroupSelectedNotice.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/GroupSelectedNotice.tsx@@ -14,7 +14,7 @@ export const GroupSelectedNotice = ({ hint }: { hint?: string }) => {return null;}return (- <Text color="fg.muted" fontSize="xs" minW="0">+ <Text color="fg.muted" fontSize="md" minW="0">{hint ?? t('widgets.layers.groupSelectedHint')}</Text>);diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/HistoryPane.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/HistoryPane.tsxindex 5601e8dadd..9b25869c09 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/HistoryPane.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/HistoryPane.tsx@@ -20,7 +20,7 @@ export const HistoryPane = () => {if (!engine) {return (- <Flex align="center" color="fg.muted" fontSize="xs" h="full" justify="center" p="4">+ <Flex align="center" color="fg.muted" fontSize="md" h="full" justify="center" p="4">{t('widgets.properties.noCanvas')}</Flex>);@@ -46,7 +46,7 @@ const ConnectedHistory = ({ engine }: { engine: CanvasEngineHandle }) => {aria-label={t('widgets.canvas.commands.undo')}color="fg.muted"disabled={!canUndo}- size="2xs"+ size="sm"variant="ghost"onClick={undo}>@@ -58,19 +58,19 @@ const ConnectedHistory = ({ engine }: { engine: CanvasEngineHandle }) => {aria-label={t('widgets.canvas.commands.redo')}color="fg.muted"disabled={!canRedo}- size="2xs"+ size="sm"variant="ghost"onClick={redo}><Icon as={Redo2Icon} boxSize="3.5" /></IconButton></Tooltip>- <Text color="fg.muted" fontSize="2xs" fontVariantNumeric="tabular-nums">+ <Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums">{t('widgets.layers.historyPane.count', { count: past.length })}</Text></HStack>{past.length === 0 && future.length === 0 ? (- <Flex align="center" color="fg.muted" flex="1" fontSize="xs" justify="center" p="4">+ <Flex align="center" color="fg.muted" flex="1" fontSize="md" justify="center" p="4">{t('widgets.layers.historyPane.empty')}</Flex>) : (@@ -133,7 +133,7 @@ const HistoryStep = ({color={isCurrent ? 'fg' : 'fg.muted'}fontStyle={isFuture ? 'italic' : undefined}flex="1"- fontSize="xs"+ fontSize="md"minH="6"px="2"py="1"diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/LayerEditorPanes.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/LayerEditorPanes.tsxindex 8095f77948..b9b5f66a4e 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/LayerEditorPanes.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/LayerEditorPanes.tsx@@ -122,7 +122,7 @@ const LayerPaneBlock = ({aria-expanded={!isCollapsed}aria-label={collapseLabel}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={toggle}>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/LayerSection.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/LayerSection.tsxindex 5e83c39803..09e11a57da 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/LayerSection.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/LayerSection.tsx@@ -204,13 +204,13 @@ const RasterLayerSettings = ({return (<Stack gap="2">- <Switch.Root checked={isLocked} size="sm" onCheckedChange={handleTransparencyLock}>+ <Switch.Root checked={isLocked} size="md" onCheckedChange={handleTransparencyLock}><Switch.HiddenInput /><Switch.Control><Switch.Thumb /></Switch.Control><Switch.Label>- <Text fontSize="xs">{t('widgets.layers.adjustments.transparencyLock')}</Text>+ <Text fontSize="md">{t('widgets.layers.adjustments.transparencyLock')}</Text></Switch.Label></Switch.Root><RasterLayerFilterSection engine={engine} layer={layer} onOperationStarted={noop} />diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/OverviewPane.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/OverviewPane.tsxindex 14b138b8ac..b7bffd7b70 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/OverviewPane.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/OverviewPane.tsx@@ -32,7 +32,7 @@ export const OverviewPane = () => {if (!engine) {return (- <Flex align="center" color="fg.muted" fontSize="xs" h="full" justify="center" p="4">+ <Flex align="center" color="fg.muted" fontSize="md" h="full" justify="center" p="4">{t('widgets.properties.noCanvas')}</Flex>);diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/PropertiesPane.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/PropertiesPane.tsxindex 237999ee76..464706d318 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/PropertiesPane.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/PropertiesPane.tsx@@ -45,7 +45,7 @@ const PropertiesTitle = ({ operationName }: { operationName: string | null }) =>top="0"zIndex="1">- <Heading as="h2" fontSize="sm" fontWeight="semibold" lineClamp={2} minW="0" wordBreak="break-word">+ <Heading as="h2" fontSize="lg" fontWeight="semibold" lineClamp={2} minW="0" wordBreak="break-word">{title}</Heading></Flex>@@ -62,7 +62,7 @@ export const PropertiesPane = () => {if (!engine) {return (- <Flex align="center" color="fg.muted" fontSize="xs" h="full" justify="center" p="4">+ <Flex align="center" color="fg.muted" fontSize="md" h="full" justify="center" p="4">{t('widgets.properties.noCanvas')}</Flex>);diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/PropertiesSection.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/PropertiesSection.tsxindex 7e76181aad..f12da65f5c 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/PropertiesSection.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/PropertiesSection.tsx@@ -38,7 +38,7 @@ export const PropertiesSection = ({<Flex align="baseline" gap="2" minW="0"><FieldLabel>{title}</FieldLabel>{subtitle ? (- <Text color="fg.muted" fontSize="xs" minW="0" truncate>+ <Text color="fg.muted" fontSize="md" minW="0" truncate>{subtitle}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/SwatchesPane.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/SwatchesPane.tsxindex 41fa2d0ff2..32eb9ffeef 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/SwatchesPane.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/SwatchesPane.tsx@@ -59,7 +59,7 @@ export const SwatchesPane = () => {aria-label={t('widgets.layers.colorPane.addToPalette')}color="fg.muted"disabled={!canAddToPalette}- size="2xs"+ size="sm"variant="ghost"onClick={addToPalette}>@@ -117,7 +117,7 @@ const SwatchShelf = ({}) => (<Stack gap="1.5"><HStack justify="space-between" minH="5">- <Text color="fg.muted" fontSize="2xs" fontWeight="600" textTransform="uppercase">+ <Text color="fg.muted" fontSize="xs" fontWeight="600" textTransform="uppercase">{label}</Text>{trailing}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/TransformPane.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/TransformPane.tsxindex 486480b030..1559e03655 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/TransformPane.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/TransformPane.tsx@@ -41,7 +41,7 @@ export const TransformPane = () => {if (!engine) {return (- <Flex align="center" color="fg.muted" fontSize="xs" h="full" justify="center" p="4">+ <Flex align="center" color="fg.muted" fontSize="md" h="full" justify="center" p="4">{t('widgets.properties.noCanvas')}</Flex>);@@ -167,15 +167,15 @@ const ConnectedTransform = ({ engine }: { engine: CanvasEngineHandle }) => {</PropertyControlRow>{pending ? (<Flex gap="2" justify="flex-end">- <Button size="xs" variant="ghost" onClick={onCancel}>+ <Button size="md" variant="ghost" onClick={onCancel}>{t('common.cancel')}</Button>- <Button size="xs" onClick={onApply}>+ <Button size="md" onClick={onApply}>{t('common.apply')}</Button></Flex>) : (- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('widgets.transform.hint')}</Text>)}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/notifications/NotificationsHeaderActions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/notifications/NotificationsHeaderActions.tsxindex 6c3bf3c69d..a882a2a45a 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/notifications/NotificationsHeaderActions.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/notifications/NotificationsHeaderActions.tsx@@ -9,10 +9,10 @@ export const NotificationsHeaderActions = () => {return (<HStack gap="2">- <Button size="2xs" variant="outline" onClick={notifications.markAllRead}>+ <Button size="sm" variant="outline" onClick={notifications.markAllRead}>{t('notifications.markRead')}</Button>- <Button size="2xs" variant="outline" onClick={notifications.clear}>+ <Button size="sm" variant="outline" onClick={notifications.clear}>{t('common.clear')}</Button></HStack>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/notifications/NotificationsWidgetView.tsx b/invokeai/frontend/webv2/src/workbench/widgets/notifications/NotificationsWidgetView.tsxindex 0f85799a6b..7d157cecaa 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/notifications/NotificationsWidgetView.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/notifications/NotificationsWidgetView.tsx@@ -45,7 +45,7 @@ export const NotificationsWidgetView = ({ presentation, region }: WidgetViewPropreturn (<Stack flex="1" gap="0" minH="0"><HStack borderBottomWidth="1px" borderColor="border.subtle" justify="space-between" px="2" py="1.5">- <Text color="fg.subtle" fontSize="2xs" fontWeight="700" textTransform="uppercase">+ <Text color="fg.subtle" fontSize="xs" fontWeight="700" textTransform="uppercase">{t('widgets.labels.notifications')}</Text><NotificationsHeaderActions />@@ -67,7 +67,7 @@ const NotificationsPanel = () => {return (<Stack flex="1" gap="3" minH="0" p="2">{notifications.length === 0 ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('notifications.empty')}</Text>) : (@@ -88,20 +88,20 @@ const NotificationsPanel = () => {<HStack align="start" justify="space-between"><HStack gap="2" minW="0"><Icon as={IconComponent} color={`${kindColorPalette[notification.kind]}.300`} boxSize="3.5" />- <Text fontSize="2xs" fontWeight="700">+ <Text fontSize="xs" fontWeight="700">{notification.titleKey ? t(notification.titleKey) : notification.title}</Text></HStack>- <Badge colorPalette={kindColorPalette[notification.kind]} size="xs">+ <Badge colorPalette={kindColorPalette[notification.kind]} size="md">{t(`notifications.kind.${notification.kind}`)}</Badge></HStack>{notification.message || notification.messageKey ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{notification.messageKey ? t(notification.messageKey) : notification.message}</Text>) : null}- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{notification.createdAt}</Text></Stack>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewActionStrip.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewActionStrip.tsxindex 477a441bc8..c7302f9f46 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewActionStrip.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewActionStrip.tsx@@ -66,7 +66,7 @@ export const PreviewActionStrip = ({const starLabel = t(STAR_LABEL_KEYS[item.kind][item.starred ? 'on' : 'off']);const starButton = (<Tooltip content={starLabel}>- <IconButton aria-label={starLabel} color="fg.muted" size="2xs" variant="ghost" onClick={toggleStar}>+ <IconButton aria-label={starLabel} color="fg.muted" size="sm" variant="ghost" onClick={toggleStar}><Icon as={StarIcon} boxSize="3.5" fill={item.starred ? 'currentColor' : 'none'} /></IconButton></Tooltip>@@ -116,7 +116,7 @@ const EditOnCanvasMenu = ({ onSend }: { onSend: (destination: GalleryCanvasImpor<Menu.Root ids={ids} positioning={CANVAS_MENU_POSITIONING}><Tooltip content={t('widgets.preview.editOnCanvas')} ids={ids}><Menu.Trigger asChild>- <Button aria-label={t('widgets.preview.editOnCanvas')} color="fg.muted" size="2xs" variant="ghost">+ <Button aria-label={t('widgets.preview.editOnCanvas')} color="fg.muted" size="sm" variant="ghost"><Icon as={PencilIcon} boxSize="3.5" />{t('common.edit')}<ChevronDownIcon size={12} />@@ -170,7 +170,7 @@ const StripIconButton = ({onClick: (event: MouseEvent<HTMLButtonElement>) => void;}) => (<Tooltip content={label}>- <IconButton aria-label={label} color="fg.muted" disabled={disabled} size="2xs" variant="ghost" onClick={onClick}>+ <IconButton aria-label={label} color="fg.muted" disabled={disabled} size="sm" variant="ghost" onClick={onClick}><Icon as={icon} boxSize="3.5" /></IconButton></Tooltip>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompare.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompare.tsxindex 90880a2089..9d13114ffb 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompare.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompare.tsx@@ -221,7 +221,7 @@ export const PreviewCompare = ({)}</PreviewStage><HStack flexShrink={0} gap="1" justify="center">- <SegmentGroup.Root size="xs" value={mode} onValueChange={handleModeChange}>+ <SegmentGroup.Root size="md" value={mode} onValueChange={handleModeChange}><SegmentGroup.Indicator />{COMPARISON_MODES.map((item) => (<SegmentGroup.Item key={item.value} value={item.value}>@@ -230,11 +230,11 @@ export const PreviewCompare = ({</SegmentGroup.Item>))}</SegmentGroup.Root>- <Button size="2xs" variant="outline" onClick={onSwap}>+ <Button size="sm" variant="outline" onClick={onSwap}><ArrowLeftRightIcon />{t('common.swap')}</Button>- <Button size="2xs" variant="outline" onClick={onExit}>+ <Button size="sm" variant="outline" onClick={onExit}><XIcon />{t('widgets.preview.exitCompare')}</Button>@@ -367,10 +367,10 @@ const HoverCompareFrame = ({const ComparisonBadges = ({ compareLabel, viewingLabel }: { compareLabel: string; viewingLabel: string }) => (<>- <Badge left="2" pointerEvents="none" position="absolute" size="xs" top="2" variant="solid">+ <Badge left="2" pointerEvents="none" position="absolute" size="md" top="2" variant="solid">{compareLabel}</Badge>- <Badge pointerEvents="none" position="absolute" right="2" size="xs" top="2" variant="solid">+ <Badge pointerEvents="none" position="absolute" right="2" size="md" top="2" variant="solid">{viewingLabel}</Badge></>@@ -411,7 +411,7 @@ const CompareSidePane = ({style={BASE_IMAGE_STYLE}width={image.width}/>- <Badge left="2" pointerEvents="none" position="absolute" size="xs" top="2" variant="solid">+ <Badge left="2" pointerEvents="none" position="absolute" size="md" top="2" variant="solid">{label}</Badge></Box>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompareDropZone.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompareDropZone.tsxindex 551c1e674d..dd7afe5b36 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompareDropZone.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompareDropZone.tsx@@ -40,7 +40,7 @@ export const PreviewCompareDropZone = ({ currentImageName }: { currentImageName:variant="overlay"zIndex="2">- <Badge size="xs" variant="subtle">+ <Badge size="md" variant="subtle">{t('widgets.preview.dropToCompare')}</Badge></DropZone>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewDetailsPopover.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewDetailsPopover.tsxindex c6f35f5096..dd8276ba24 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewDetailsPopover.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewDetailsPopover.tsx@@ -20,7 +20,7 @@ import { PreviewDetails } from './PreviewMetadataPanel';type InteractOutsideHandler = NonNullable<ComponentProps<typeof Popover.Root>['onInteractOutside']>;const HeaderSeparator = () => (- <Text color="fg.subtle" flexShrink={0} fontSize="2xs">+ <Text color="fg.subtle" flexShrink={0} fontSize="xs">·</Text>);@@ -56,7 +56,7 @@ const PreviewImageTags = ({ accountEpoch, item }: { accountEpoch: number; item:// A zero basis gives the tags only the width the header leaves over, so they truncate before anything else and,// with the separator inside them, vanish whole rather than leave a dangling one.return (- <Text color="fg.muted" data-preview-image-tags flex="1 1 0" fontSize="2xs" minW="0" truncate>+ <Text color="fg.muted" data-preview-image-tags flex="1 1 0" fontSize="xs" minW="0" truncate><chakra.span aria-hidden="true" color="fg.subtle" marginInlineEnd="1">·</chakra.span>@@ -154,7 +154,7 @@ export const PreviewDetailsPopover = ({aria-label={t('widgets.preview.details')}aria-pressed={isOpen}color={isOpen ? undefined : 'fg.muted'}- size="2xs"+ size="sm"variant={isOpen ? 'solid' : 'ghost'}><Icon as={InfoIcon} boxSize="3.5" />@@ -175,13 +175,13 @@ export const PreviewDetailsPopover = ({<HStack gap="1" minW="0">{positionLabel === null ? null : (<>- <Text color="fg.muted" flexShrink={0} fontSize="2xs" fontVariantNumeric="tabular-nums">+ <Text color="fg.muted" flexShrink={0} fontSize="xs" fontVariantNumeric="tabular-nums">{positionLabel}</Text><HeaderSeparator /></>)}- <Text color="fg.muted" fontSize="2xs" fontVariantNumeric="tabular-nums" truncate>+ <Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums" truncate>{mediaLabel}</Text><PreviewImageTags accountEpoch={accountEpoch} item={item} />diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFilmstrip.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFilmstrip.tsxindex 5d989d08b0..a19cd374a5 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFilmstrip.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFilmstrip.tsx@@ -239,7 +239,7 @@ const FilmstripLiveThumb = ({{isPinned ? (<Icon aria-hidden as={PinIcon} boxSize="3" />) : isRunning ? (- <ProgressCircle.Root aria-hidden size="xs" value={percentage}>+ <ProgressCircle.Root aria-hidden size="md" value={percentage}><ProgressCircle.Circle><ProgressCircle.Track /><ProgressCircle.Range />diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFrame.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFrame.tsxindex 3937e13d32..554aa555a1 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFrame.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewFrame.tsx@@ -877,7 +877,7 @@ const PreviewVideo = ({// is the native control bar.insetInlineStart="50%"position="absolute"- size="xs"+ size="md"title={t('widgets.preview.dragVideo')}top="2"touchAction="none"@@ -938,10 +938,10 @@ const PreviewVideo = ({position="absolute"zIndex="1">- <Text color="white" fontSize="sm" fontWeight="semibold">+ <Text color="white" fontSize="lg" fontWeight="semibold">{t('widgets.preview.videoFailed')}</Text>- <Button aria-label={t('widgets.preview.videoRetry')} size="sm" onClick={handleRetry}>+ <Button aria-label={t('widgets.preview.videoRetry')} size="lg" onClick={handleRetry}>{t('widgets.preview.videoRetry')}</Button></Flex>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewMetadataPanel.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewMetadataPanel.tsxindex d662c9678c..e9f6bd64cd 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewMetadataPanel.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewMetadataPanel.tsx@@ -125,7 +125,7 @@ const PreviewDetailsQuery = ({if (item.kind === 'video') {if (detailsQuery.isPending) {return (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('widgets.preview.loadingMetadata')}</Text>);@@ -202,11 +202,11 @@ const ImageDetails = ({<Scrollable flex="1" minH="0"><Stack gap="2" pe="1">{isLoading ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{t('widgets.preview.loadingMetadata')}</Text>) : (- <DataList.Root gap="1.5" orientation="horizontal" size="sm">+ <DataList.Root gap="1.5" orientation="horizontal" size="md">{entries.map((entry) => {const recall = ENTRY_RECALL_KINDS[entry.key];@@ -250,23 +250,23 @@ const DetailsTabs = ({flexDirection="column"lazyMountminH="0"- size="sm"+ size="xl"unmountOnExitvariant="outline"><Tabs.List flexShrink={0}>{details ? (- <Tabs.Trigger fontSize="2xs" value="details">+ <Tabs.Trigger fontSize="xs" value="details">{t('widgets.preview.details')}</Tabs.Trigger>) : null}- <Tabs.Trigger disabled={metadata === null} fontSize="2xs" value="metadata">+ <Tabs.Trigger disabled={metadata === null} fontSize="xs" value="metadata">{t('widgets.preview.metadata')}</Tabs.Trigger>- <Tabs.Trigger disabled={workflow === null} fontSize="2xs" value="workflow">+ <Tabs.Trigger disabled={workflow === null} fontSize="xs" value="workflow">{t('widgets.preview.workflow')}</Tabs.Trigger>- <Tabs.Trigger disabled={graph === null} fontSize="2xs" value="graph">+ <Tabs.Trigger disabled={graph === null} fontSize="xs" value="graph">{t('widgets.preview.graph')}</Tabs.Trigger></Tabs.List>@@ -316,14 +316,14 @@ const MetadataRow = ({return (<DataList.Item alignItems="start" className="group">- <DataList.ItemLabel fontSize="2xs">{entry.label}</DataList.ItemLabel>- <DataList.ItemValue alignItems="flex-start" fontSize="2xs" minW="0">+ <DataList.ItemLabel fontSize="xs">{entry.label}</DataList.ItemLabel>+ <DataList.ItemValue alignItems="flex-start" fontSize="xs" minW="0">{entry.isMultiline ? (- <Text flex="1" fontSize="2xs" minW="0" whiteSpace="pre-wrap">+ <Text flex="1" fontSize="xs" minW="0" whiteSpace="pre-wrap">{entry.value}</Text>) : (- <MiddleTruncate flex="1" fontSize="2xs" minW="0" text={entry.value} />+ <MiddleTruncate flex="1" fontSize="xs" minW="0" text={entry.value} />)}<HStackalignSelf="flex-start"@@ -339,7 +339,7 @@ const MetadataRow = ({<IconButtonaria-label={recallVerb.label}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={recallValue}>@@ -348,7 +348,7 @@ const MetadataRow = ({</Tooltip>) : null}<Tooltip content={t('common.copy')}>- <IconButton aria-label={t('common.copy')} color="fg.muted" size="2xs" variant="ghost" onClick={copyValue}>+ <IconButton aria-label={t('common.copy')} color="fg.muted" size="sm" variant="ghost" onClick={copyValue}><Icon as={CopyIcon} boxSize="3" /></IconButton></Tooltip>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewSwipeNeighbor.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewSwipeNeighbor.tsxindex a7fc89f11a..d5e986a7e3 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewSwipeNeighbor.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewSwipeNeighbor.tsx@@ -62,7 +62,7 @@ const PreviewSwipeNeighbor = ({top="0"w="full">- {neighbor?.kind === 'more' ? <Spinner color="fg.muted" size="md" /> : null}+ {neighbor?.kind === 'more' ? <Spinner color="fg.muted" size="xl" /> : null}{neighbor?.kind === 'item' ? (// Keyed by URL: every layer is a new element per neighbor, so none can keep painting the previous picture while// its own loads.diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewWidgetChrome.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewWidgetChrome.tsxindex 287002c9c9..f5694d50ba 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewWidgetChrome.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewWidgetChrome.tsx@@ -20,7 +20,7 @@ export const PreviewWidgetLabel = ({ region }: WidgetLabelProps) => {}return (- <Text fontSize="xs" fontWeight="700">+ <Text fontSize="md" fontWeight="700">{t('widgets.labels.preview')}</Text>);@@ -29,13 +29,13 @@ export const PreviewWidgetLabel = ({ region }: WidgetLabelProps) => {// Pad the truncated label away from the first header action.return (<HStack flex="1" gap="1" minW="0" pe="2">- <Text flexShrink={0} fontSize="xs" fontWeight="700">+ <Text flexShrink={0} fontSize="md" fontWeight="700">{boardName}</Text>- <Text color="fg.muted" flexShrink={0} fontSize="xs">+ <Text color="fg.muted" flexShrink={0} fontSize="md">/</Text>- <MiddleTruncate color="fg.muted" fontSize="xs" minW="0" text={itemName} />+ <MiddleTruncate color="fg.muted" fontSize="md" minW="0" text={itemName} /></HStack>);};diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewWidgetView.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewWidgetView.tsxindex b0e2ba19f6..50eaf04ef4 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewWidgetView.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewWidgetView.tsx@@ -874,10 +874,10 @@ const EmptyPreview = () => {return (<PreviewFrame frameHeight={1} frameWidth={1} isLive={false} shouldAntialiasLiveImage source={null} variant="inset"><Stack align="center" color="fg" gap="2" maxW="18rem" textAlign="center">- <Text fontSize="sm" fontWeight="800">+ <Text fontSize="lg" fontWeight="800">{t('widgets.preview.noGallerySelection')}</Text>- <Text color="fg.muted" fontSize="2xs">+ <Text color="fg.muted" fontSize="xs">{t('widgets.preview.emptyDescription')}</Text></Stack>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewZoomMenu.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewZoomMenu.tsxindex 79f30709b9..04c1144f14 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewZoomMenu.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewZoomMenu.tsx@@ -31,11 +31,11 @@ export const PreviewZoomMenu = ({ zoom }: { zoom: PreviewZoomControls }) => {fontVariantNumeric="tabular-nums"minW="0"px="1.5"- size="2xs"+ size="sm"variant="ghost"><HStack gap="1">- <Text fontSize="xs" fontWeight="600">+ <Text fontSize="md" fontWeight="600">{label}</Text><ChevronDownIcon size={12} />diff --git a/invokeai/frontend/webv2/src/workbench/widgets/project/ProjectWidgetView.tsx b/invokeai/frontend/webv2/src/workbench/widgets/project/ProjectWidgetView.tsxindex 11e2e4f9af..084ef48215 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/project/ProjectWidgetView.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/project/ProjectWidgetView.tsx@@ -66,7 +66,7 @@ const NameSection = ({ project }: { project: ProjectPanelViewModel }) => {<InputdefaultValue={project.name}key={`${project.id}:${project.name}`}- size="sm"+ size="lg"onBlur={handleBlur}onKeyDown={handleKeyDown}/>@@ -127,11 +127,11 @@ const DetailsSection = ({ project }: { project: ProjectPanelViewModel }) => {<Panel gap="1.5" p="2.5"><DetailRow label={t('common.id')}><HStack gap="1" minW="0">- <MiddleTruncate fontFamily="mono" fontSize="2xs" text={project.id} />+ <MiddleTruncate fontFamily="mono" fontSize="xs" text={project.id} /><IconButtonaria-label={t('widgets.project.copyId')}color="fg.muted"- size="2xs"+ size="sm"variant="ghost"onClick={handleCopyId}>@@ -158,11 +158,11 @@ const DetailsSection = ({ project }: { project: ProjectPanelViewModel }) => {const DetailRow = ({ children, label }: { children: ReactNode; label: string }) => (<HStack gap="3" justify="space-between" minH="5">- <Text color="fg.subtle" flexShrink={0} fontSize="2xs">+ <Text color="fg.subtle" flexShrink={0} fontSize="xs">{label}</Text>{typeof children === 'string' || typeof children === 'number' ? (- <Text fontSize="2xs" textAlign="end">+ <Text fontSize="xs" textAlign="end">{children}</Text>) : (diff --git a/invokeai/frontend/webv2/src/workbench/widgets/queue-status/QueueStatusWidgetView.tsx b/invokeai/frontend/webv2/src/workbench/widgets/queue-status/QueueStatusWidgetView.tsxindex 10da81b535..42226d798e 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/queue-status/QueueStatusWidgetView.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/queue-status/QueueStatusWidgetView.tsx@@ -28,14 +28,14 @@ export const QueueStatusWidgetView = ({ presentation }: WidgetViewProps) => {if (presentation === 'tooltip') {return (<Stack gap="2">- <Text fontSize="xs" fontWeight="700">+ <Text fontSize="md" fontWeight="700">{t('widgets.labels.queueStatus')}</Text>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{showPercent ? `${label} · ${percent}%` : label}</Text>{detail ? (- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{detail}</Text>) : null}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/server-status/ServerStatusWidgetView.tsx b/invokeai/frontend/webv2/src/workbench/widgets/server-status/ServerStatusWidgetView.tsxindex 42485ead36..fe7d6701ad 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/server-status/ServerStatusWidgetView.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/server-status/ServerStatusWidgetView.tsx@@ -20,10 +20,10 @@ export const ServerStatusWidgetView = ({ presentation }: WidgetViewProps) => {if (presentation === 'tooltip') {return (<Stack gap="2">- <Text fontSize="xs" fontWeight="700">+ <Text fontSize="md" fontWeight="700">{t('widgets.serverStatus.label')}</Text>- <Text color="fg.subtle" fontSize="2xs">+ <Text color="fg.subtle" fontSize="xs">{backendConnection.error? t('widgets.serverStatus.labelWithError', { error: backendConnection.error, label }): label}