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
refactor(ui): drop md font props that repeat the inherited size
Josh Corbett360f9632663d
diff --git a/invokeai/frontend/webv2/src/features/fonts/ui/FontsPage.tsx b/invokeai/frontend/webv2/src/features/fonts/ui/FontsPage.tsxindex 21f101d69b..5a09002a06 100644--- a/invokeai/frontend/webv2/src/features/fonts/ui/FontsPage.tsx+++ b/invokeai/frontend/webv2/src/features/fonts/ui/FontsPage.tsx@@ -554,7 +554,7 @@ const FontLibrary = () => {{filterOptions.map((option) => (<Menu.RadioItem key={option.value} value={option.value}><Menu.ItemIndicator />- <Menu.ItemText fontSize="md">{option.label}</Menu.ItemText>+ <Menu.ItemText>{option.label}</Menu.ItemText></Menu.RadioItem>))}</Menu.RadioItemGroup>@@ -672,7 +672,7 @@ const FontLibrary = () => {<Text color="fg.muted" fontSize="lg" fontWeight="600">{t('fonts.selectFont')}</Text>- <Text color="fg.muted" fontSize="md" maxW="22rem" textAlign="center">+ <Text color="fg.muted" maxW="22rem" textAlign="center">{t('fonts.selectFontDescription')}</Text></Flex>diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardFilters.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardFilters.tsxindex ea9da283b4..c637e2f424 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardFilters.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardFilters.tsx@@ -201,6 +201,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="md">{label}</Menu.ItemText>+ <Menu.ItemText>{label}</Menu.ItemText></Menu.Item>);diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRowShell.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRowShell.tsxindex cf2a146e86..43d6eea521 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRowShell.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryBoardRowShell.tsx@@ -78,12 +78,7 @@ export const GalleryBoardRowShell = ({>{cover}<Stack align="stretch" flex="1" gap="0" minW="0" textAlign="start">- <MiddleTruncate- fontSize="md"- fontWeight={labelWeight ?? (isSelected ? '600' : '500')}- minW="0"- text={label}- />+ <MiddleTruncate fontWeight={labelWeight ?? (isSelected ? '600' : '500')} minW="0" text={label} />{subtitle}</Stack>{children}diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.tsxindex 09687ec6e2..b6741d5595 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryImageGrid.tsx@@ -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="md">+ <Text>{gallery.isLoading? t('widgets.gallery.loadingBackendGallery'): gallery.starredOnly && gallery.semanticImageQuery === null@@ -686,7 +686,6 @@ export const GalleryImageGrid = () => {alignItems="center"display="flex"flex="1"- fontSize="md"isOver={isDropActive}justifyContent="center"role="button"diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsxindex 3dd77a1da2..5d1c0625bb 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryItemSortMenu.tsx@@ -30,14 +30,7 @@ export const GalleryItemSortMenu = () => {<Menu.Root ids={triggerIds} positioning={SORT_POSITIONING}><Tooltip content={t('widgets.gallery.sortBy')} ids={triggerIds}><Menu.Trigger asChild>- <Button- aria-label={t('widgets.gallery.imageSort')}- color="fg.muted"- flexShrink={0}- fontSize="md"- gap="1"- variant="ghost"- >+ <Button aria-label={t('widgets.gallery.imageSort')} color="fg.muted" flexShrink={0} gap="1" variant="ghost">{imageOrderDir === 'DESC' ? t('widgets.gallery.newest') : t('widgets.gallery.oldest')}<Icon as={ChevronDownIcon} boxSize="3" /></Button>diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GallerySearchField.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GallerySearchField.tsxindex bbfffddc64..d7e6a5d593 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/GallerySearchField.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/GallerySearchField.tsx@@ -166,7 +166,6 @@ export const GallerySearchField = ({borderRadius="0"caretColor="fg"color="transparent"- fontSize="md"h="7"minW="0"px="0"diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetChrome.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/GalleryWidgetChrome.tsxindex 3e24ca2a9f..b7b89cb8a5 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="md" fontWeight="700" pe="2">+ <Text flexShrink={0} fontWeight="700" pe="2">{t('widgets.labels.gallery')}</Text>)}- <Text color="fg.subtle" flexShrink={0} fontSize="md">+ <Text color="fg.subtle" flexShrink={0}>/</Text>{/* No tooltip: it renders over the button and steals its hover. */}diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/launchpad/RecentOutputs.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/launchpad/RecentOutputs.tsxindex 745bc83a48..3591dfead3 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/launchpad/RecentOutputs.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/launchpad/RecentOutputs.tsx@@ -45,9 +45,7 @@ export const RecentOutputs = () => {return (<Flex direction="column" gap="3">- <Text fontSize="md" fontWeight="700">- {t('launchpad.home.recentOutputs')}- </Text>+ <Text fontWeight="700">{t('launchpad.home.recentOutputs')}</Text><SimpleGrid columns={GRID_COLUMNS} gap="2">{images === null? Array.from({ length: OUTPUT_COUNT }, (_value, index) => (diff --git a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryMediaSlot.tsx b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryMediaSlot.tsxindex b650dd5588..0d3d0d2d86 100644--- a/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryMediaSlot.tsx+++ b/invokeai/frontend/webv2/src/features/gallery/ui/picker/GalleryMediaSlot.tsx@@ -357,7 +357,7 @@ export const GalleryMediaSlot = ({{isBusy ? (<Spinner size="lg" />) : (- <HStack color="fg" fontSize="md" fontWeight="600" gap="1.5">+ <HStack color="fg" fontWeight="600" gap="1.5"><Icon as={ImagePlusIcon} boxSize="4" />{labels.choose}<Icon as={ChevronDownIcon} boxSize="3" color="fg.subtle" />diff --git a/invokeai/frontend/webv2/src/features/generation/ui/shared/AspectRatioSelect.tsx b/invokeai/frontend/webv2/src/features/generation/ui/shared/AspectRatioSelect.tsxindex 5dc371056f..8ca0f1abb6 100644--- a/invokeai/frontend/webv2/src/features/generation/ui/shared/AspectRatioSelect.tsx+++ b/invokeai/frontend/webv2/src/features/generation/ui/shared/AspectRatioSelect.tsx@@ -72,9 +72,7 @@ export const AspectRatioSelect = ({renderItem={(option) => (<HStack as="span" gap="2"><AspectRatioPreview boxSize="6" ratio={option.ratio} />- <Text as="span" fontSize="md">- {option.id}- </Text>+ <Text as="span">{option.id}</Text></HStack>)}size={size}@@ -83,7 +81,7 @@ export const AspectRatioSelect = ({valueText={<HStack as="span" gap="2" minW="0"><AspectRatioPreview boxSize="5" ratio={activePreviewRatio} />- <Text as="span" fontSize="md" truncate>+ <Text as="span" truncate>{value}</Text></HStack>diff --git a/invokeai/frontend/webv2/src/features/models/ui/components/ModelSelect.tsx b/invokeai/frontend/webv2/src/features/models/ui/components/ModelSelect.tsxindex e5cdc7756b..dfc240dc77 100644--- a/invokeai/frontend/webv2/src/features/models/ui/components/ModelSelect.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/components/ModelSelect.tsx@@ -276,7 +276,7 @@ export const ModelSelect = ({{selectedModel ? (<ModelButtonContent model={selectedModel} />) : (- <Text as="span" color="fg.muted" fontSize="md" minW="0" truncate>+ <Text as="span" color="fg.muted" minW="0" truncate>{isEmpty ? emptyMessage : (placeholder ?? t('models.scopeSelect', { scope: scopeLabel }))}</Text>)}@@ -463,7 +463,7 @@ const BaseChip = ({const ModelButtonContent = ({ model }: { model: ModelConfig }) => (<HStack as="span" flex="1" gap="2" minW="0">- <MiddleTruncate as="span" fontSize="md" minW="0" text={model.name} />+ <MiddleTruncate as="span" minW="0" text={model.name} /><Badge colorPalette={getModelBaseColorPalette(model.base)} flexShrink={0} fontSize="xs" size="lg" variant="surface">{getModelBaseLabel(model.base)}</Badge>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 6624f53c19..81565b2640 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@@ -161,7 +161,7 @@ export const InstallQueueBar = () => {onClick={() => setQueueExpanded(!queueExpanded)}><Icon as={queueExpanded ? ChevronDownIcon : ChevronUpIcon} boxSize="3.5" />- <Text color="fg" fontSize="md" fontWeight="700">+ <Text color="fg" fontWeight="700">{t('models.installQueue')}</Text></Button>@@ -332,7 +332,7 @@ const CollapsedSummary = ({{featured ? (<FeaturedJob row={featured} />) : (- <Text color="fg.muted" flex="1 1 10rem" fontSize="md" minW="0" truncate>+ <Text color="fg.muted" flex="1 1 10rem" minW="0" truncate>{summary.paused > 0? t('models.queuePausedCount', { count: summary.paused }): jobCount > 0diff --git a/invokeai/frontend/webv2/src/features/models/ui/library/MaintenanceMenu.tsx b/invokeai/frontend/webv2/src/features/models/ui/library/MaintenanceMenu.tsxindex cc4515042b..159e63908b 100644--- a/invokeai/frontend/webv2/src/features/models/ui/library/MaintenanceMenu.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/library/MaintenanceMenu.tsx@@ -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="md">{t('models.refreshList')}</Menu.ItemText>+ <Menu.ItemText>{t('models.refreshList')}</Menu.ItemText></Menu.Item><Menu.Item value="sync" onClick={() => setIsSyncDialogOpen(true)}><Icon as={FolderSearchIcon} boxSize="3.5" />- <Menu.ItemText fontSize="md">{t('models.cleanupOrphaned')}</Menu.ItemText>+ <Menu.ItemText>{t('models.cleanupOrphaned')}</Menu.ItemText></Menu.Item><Menu.Item value="empty-cache" onClick={() => setIsEmptyCacheConfirmOpen(true)}><Icon as={BrushCleaningIcon} boxSize="3.5" />- <Menu.ItemText fontSize="md">{t('models.emptyCache')}</Menu.ItemText>+ <Menu.ItemText>{t('models.emptyCache')}</Menu.ItemText></Menu.Item></MenuContent></Menu.Positioner>diff --git a/invokeai/frontend/webv2/src/features/models/ui/shared/ModelFilterMenu.tsx b/invokeai/frontend/webv2/src/features/models/ui/shared/ModelFilterMenu.tsxindex c90418e8a4..30c221117d 100644--- a/invokeai/frontend/webv2/src/features/models/ui/shared/ModelFilterMenu.tsx+++ b/invokeai/frontend/webv2/src/features/models/ui/shared/ModelFilterMenu.tsx@@ -171,9 +171,7 @@ 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="md">- {label}- </Text>+ <Text flexShrink={0}>{label}</Text>{summary ? (<Text color="fg.subtle" fontSize="xs" ms="auto" minW="0" truncate>{summary}diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeActivityBar.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeActivityBar.tsxindex 4b840090d2..a7cc114020 100644--- a/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeActivityBar.tsx+++ b/invokeai/frontend/webv2/src/features/nodes/ui/activity/NodeActivityBar.tsx@@ -67,7 +67,7 @@ export const NodeActivityBar = () => {) : (<Icon as={ListOrderedIcon} boxSize="3.5" color="fg.subtle" flexShrink={0} />)}- <MiddleTruncate flex="1" fontSize="md" fontWeight="600" minW="0" text={summary} />+ <MiddleTruncate flex="1" fontWeight="600" minW="0" text={summary} />{installingCount > 0 ? (<Badge colorPalette="accent" flexShrink={0} fontSize="xs" size="lg" variant="solid">{installingCount}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 482083dc46..b143e2df2d 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@@ -133,7 +133,7 @@ export const AddNodesView = () => {<Stack gap="4" maxW="44rem"><Alert.Root borderRadius="md" status="warning" variant="surface"><Alert.Indicator />- <Alert.Title fontSize="md">{t('nodes.trustWarning')}</Alert.Title>+ <Alert.Title>{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">@@ -157,9 +157,7 @@ export const AddNodesView = () => {{t('nodes.installManually')}</Text></HStack>- <Text color="fg.muted" fontSize="md">- {t('nodes.scanFolderDescription')}- </Text>+ <Text color="fg.muted">{t('nodes.scanFolderDescription')}</Text>{customNodesPath ? (<Box bg="bg.subtle" borderColor="border.subtle" borderWidth="1px" p="3" rounded="md"><HStack justify="space-between">@@ -175,7 +173,7 @@ export const AddNodesView = () => {<Icon as={ClipboardCopyIcon} boxSize="3" /></IconButton></HStack>- <Text fontFamily="mono" fontSize="md" mt="1" overflowWrap="anywhere">+ <Text fontFamily="mono" mt="1" overflowWrap="anywhere">{customNodesPath}</Text></Box>diff --git a/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackFilterMenu.tsx b/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackFilterMenu.tsxindex 43bbb90203..e853ff5f97 100644--- a/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackFilterMenu.tsx+++ b/invokeai/frontend/webv2/src/features/nodes/ui/library/NodePackFilterMenu.tsx@@ -95,7 +95,7 @@ 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="md">{label}</Menu.ItemText>+ <Menu.ItemText>{label}</Menu.ItemText>{trailing ? (<Text color="fg.subtle" fontSize="xs" ms="auto">{trailing}diff --git a/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderLabel.tsx b/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderLabel.tsxindex 470cdd979f..4c4de4f948 100644--- a/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderLabel.tsx+++ b/invokeai/frontend/webv2/src/features/queue/ui/QueueHeaderLabel.tsx@@ -13,7 +13,7 @@ export const QueueHeaderLabel = () => {return (<Stack gap="0.5" minW="0">- <Text fontSize="md" fontWeight="700" lineHeight="1.15">+ <Text fontWeight="700" lineHeight="1.15">{t('widgets.labels.queue')}</Text><Text color="fg.muted" fontSize="xs" fontVariantNumeric="tabular-nums" lineHeight="1.15" truncate mb="-1.5">diff --git a/invokeai/frontend/webv2/src/features/queue/ui/launchpad/QueueStatusBand.tsx b/invokeai/frontend/webv2/src/features/queue/ui/launchpad/QueueStatusBand.tsxindex 809eb247cf..b381c008e6 100644--- a/invokeai/frontend/webv2/src/features/queue/ui/launchpad/QueueStatusBand.tsx+++ b/invokeai/frontend/webv2/src/features/queue/ui/launchpad/QueueStatusBand.tsx@@ -52,9 +52,7 @@ export const QueueStatusBand = () => {) : (<Icon aria-hidden as={HourglassIcon} boxSize="3.5" color="fg.muted" />)}- <Text fontSize="md" fontWeight="600">- {t('launchpad.home.queue.summary', { inProgress, pending })}- </Text>+ <Text fontWeight="600">{t('launchpad.home.queue.summary', { inProgress, pending })}</Text></Flex>);};diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/WorkflowWidgetChrome.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/WorkflowWidgetChrome.tsxindex 92a0fb2967..b61e4395b9 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/WorkflowWidgetChrome.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/WorkflowWidgetChrome.tsx@@ -93,11 +93,7 @@ export const WorkflowWidgetLabel = ({ region }: WorkflowWidgetLabelProps) => {);if (region !== 'center') {- return (- <Text fontSize="md" fontWeight="700">- {t('widgets.labels.workflow')}- </Text>- );+ return <Text fontWeight="700">{t('widgets.labels.workflow')}</Text>;}// Center chrome already names the widget; the workflow name opens the project's workflows with this one selected.@@ -105,7 +101,7 @@ export const WorkflowWidgetLabel = ({ region }: WorkflowWidgetLabelProps) => {return (<HStack flex="1" gap="1" minW="0">- <Text color="fg.subtle" flexShrink={0} fontSize="md">+ <Text color="fg.subtle" flexShrink={0}>/</Text><Tooltip content={t('widgets.workflow.projectWorkflows')}>diff --git a/invokeai/frontend/webv2/src/platform/ui/ManagerLayout.tsx b/invokeai/frontend/webv2/src/platform/ui/ManagerLayout.tsxindex 320ffcbb06..5153d03ef1 100644--- a/invokeai/frontend/webv2/src/platform/ui/ManagerLayout.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/ManagerLayout.tsx@@ -28,7 +28,7 @@ export const ManagerColumn = ({{title}</Text>{count === undefined ? null : (- <Text color="fg.muted" fontSize="md" fontVariantNumeric="tabular-nums">+ <Text color="fg.muted" 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 09683383f0..3b327b12e0 100644--- a/invokeai/frontend/webv2/src/platform/ui/Menu.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/Menu.tsx@@ -64,7 +64,7 @@ export const MenuActionItem = ({) : null}{hint ? (<Stack flex="1" gap="0" minW="0">- <Text fontSize="md">{label}</Text>+ <Text>{label}</Text><Text color="fg.subtle" fontSize="xs">{hint}</Text>diff --git a/invokeai/frontend/webv2/src/platform/ui/settings/SettingControl.tsx b/invokeai/frontend/webv2/src/platform/ui/settings/SettingControl.tsxindex 944c8ed92f..1812eae3a9 100644--- a/invokeai/frontend/webv2/src/platform/ui/settings/SettingControl.tsx+++ b/invokeai/frontend/webv2/src/platform/ui/settings/SettingControl.tsx@@ -113,11 +113,7 @@ export const SettingControl = ({ field, surface, value, onChange, disabled, isMo</Field.Label>{isModified ? <ModifiedSettingIndicator label={label} /> : null}</HStack>- {description ? (- <Field.HelperText color="fg.muted" fontSize="md">- {description}- </Field.HelperText>- ) : null}+ {description ? <Field.HelperText color="fg.muted">{description}</Field.HelperText> : null}</Stack>{field.kind === 'select' ? (<Selectdiff --git a/invokeai/frontend/webv2/src/workbench/launchpad/home/IntentTiles.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/home/IntentTiles.tsxindex 28a0915499..47e71b4760 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/home/IntentTiles.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/home/IntentTiles.tsx@@ -29,9 +29,7 @@ const IntentTile = ({ entry }: { entry: LaunchpadStartEntry }) => {_hover={TILE_HOVER}><Icon as={entry.icon} boxSize="4" color="fg.muted" />- <Text fontSize="md" fontWeight="600">- {t(entry.labelKey)}- </Text>+ <Text fontWeight="600">{t(entry.labelKey)}</Text><Text color="fg.muted" fontSize="xs">{t(entry.descriptionKey)}</Text>diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/home/RecentProjectsRow.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/home/RecentProjectsRow.tsxindex c2f9477359..47db12b903 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/home/RecentProjectsRow.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/home/RecentProjectsRow.tsx@@ -27,9 +27,7 @@ export const RecentProjectsRow = ({return (<Flex direction="column" gap="3"><Flex align="center" justify="space-between">- <Text fontSize="md" fontWeight="700">- {t('launchpad.home.recentProjects')}- </Text>+ <Text fontWeight="700">{t('launchpad.home.recentProjects')}</Text><Button asChild variant="ghost"><Link to="/projects">{t('launchpad.home.viewAllProjects')}diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/pages/HomePage.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/pages/HomePage.tsxindex 03b90312bf..62eea746ad 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/pages/HomePage.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/pages/HomePage.tsx@@ -114,9 +114,7 @@ export const HomePage = () => {</Box><Stack gap="3">- <Text fontSize="md" fontWeight="700">- {t('launchpad.home.intents.heading')}- </Text>+ <Text fontWeight="700">{t('launchpad.home.intents.heading')}</Text><IntentTiles /></Stack>diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCard.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCard.tsxindex 9094bf1f25..f73fedb0fb 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCard.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectCard.tsx@@ -83,7 +83,7 @@ export const ProjectCard = ({</Box><Flex align="center" gap="2" p="3" pointerEvents="none"><Stack flex="1" gap="0" minW="0">- <MiddleTruncate fontSize="md" fontWeight="600" text={summary.name} />+ <MiddleTruncate fontWeight="600" text={summary.name} /><Text color="fg.muted" fontSize="xs">{t('projects.editedRelative', { time: formatRelativeTime(summary.updatedAt) })}</Text>diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsx b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsxindex 85214cc116..9a4206d543 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsx+++ b/invokeai/frontend/webv2/src/workbench/launchpad/projects/ProjectsBrowser.tsx@@ -223,9 +223,7 @@ const VirtualProjectsRow = ({if (row.kind === 'header') {return (<Flex align="baseline" css={ABSOLUTE_ROW_SX} gap="2" pb="2" pt="3" transform={transform}>- <Text fontSize="md" fontWeight="700">- {t(GROUP_LABEL_KEY[row.group])}- </Text>+ <Text 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="xs">{row.count}diff --git a/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsx b/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsxindex 53735f7484..c8bb8325ad 100644--- a/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsx@@ -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="md" fontWeight="700">+ <Dialog.Title fontWeight="700"><VisuallyHidden>{t('settings.title')}: </VisuallyHidden>{searching ? t('settingsDialog.results') : resolveSettingsText(active.label, t)}</Dialog.Title>diff --git a/invokeai/frontend/webv2/src/workbench/shell/CenterArea.tsx b/invokeai/frontend/webv2/src/workbench/shell/CenterArea.tsxindex afebd2ac32..f522a90ae6 100644--- a/invokeai/frontend/webv2/src/workbench/shell/CenterArea.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/CenterArea.tsx@@ -288,7 +288,7 @@ const CenterViewMenu = ({><HStack gap="2" minW="0" position="relative" zIndex="1">{activeItem ? <CenterViewIcon widget={activeItem.widget} /> : null}- <Text fontSize="md" fontWeight="700" truncate>+ <Text fontWeight="700" truncate>{label}</Text><ChevronDownIcon size={12} />@@ -331,9 +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="md">- {t('widgets.centerViewClose', { label: activeItem.label })}- </Menu.ItemText>+ <Menu.ItemText>{t('widgets.centerViewClose', { label: activeItem.label })}</Menu.ItemText></Menu.Item></>) : null}@@ -395,7 +393,7 @@ const CenterViewMenuRow = ({><Icon as={CheckIcon} boxSize="3" opacity={isActive ? 1 : 0} /><WidgetIcon icon={item.icon} boxSize="3.5" />- <Menu.ItemText fontSize="md">{item.label}</Menu.ItemText>+ <Menu.ItemText>{item.label}</Menu.ItemText></Menu.Item>);};diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/AppMenu.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/AppMenu.tsxindex 0bf92018d6..47668663de 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/AppMenu.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/AppMenu.tsx@@ -72,9 +72,7 @@ export const AppMenu = () => {<Menu.Positioner><MenuContent minW="15rem"><HStack justify="space-between" px="3" py="2">- <Text fontSize="md" fontWeight="800">- Invoke- </Text>+ <Text fontWeight="800">Invoke</Text><Text color="fg.subtle" fontSize="xs">v{APP_VERSION}</Text>diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/ProjectSwitcher.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/ProjectSwitcher.tsxindex acdeff97ec..1875987fbb 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/ProjectSwitcher.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/ProjectSwitcher.tsx@@ -190,7 +190,7 @@ export const ProjectSwitcher = () => {<Text color="fg.subtle" fontSize="xs" textTransform="uppercase">{t('projects.projectDetails')}</Text>- <MiddleTruncate fontSize="md" fontWeight="700" text={activeProjectName} />+ <MiddleTruncate fontWeight="700" text={activeProjectName} /></Stack><Menu.Separator /><Menu.Item value="rename-project" onClick={renameActiveProject}>diff --git a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFrames.tsx b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFrames.tsxindex 47d997dba7..775c63992d 100644--- a/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFrames.tsx+++ b/invokeai/frontend/webv2/src/workbench/widget-frame/WidgetFrames.tsx@@ -265,7 +265,7 @@ export const WidgetHeader = ({{HeaderLabel && !instance.title ? (<HeaderLabel region={region} />) : (- <Text data-widget-identity-label="" fontSize="md" fontWeight="700">+ <Text data-widget-identity-label="" fontWeight="700">{label}</Text>)}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasHeaderActions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasHeaderActions.tsxindex 748388c43a..7f68f686a7 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasHeaderActions.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/canvas/CanvasHeaderActions.tsx@@ -162,9 +162,7 @@ const CanvasHeaderActionsInner = ({<Menu.Trigger asChild><IconButton aria-label={t('widgets.canvas.controls.zoomLevel')} minW="4rem" px="2" size="sm" variant="ghost"><HStack gap="1">- <Text fontSize="md" fontVariantNumeric="tabular-nums">- {formatZoomPercent(zoom)}- </Text>+ <Text fontVariantNumeric="tabular-nums">{formatZoomPercent(zoom)}</Text><ChevronDownIcon size={12} /></HStack></IconButton>@@ -175,7 +173,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="md">{option.label}</Menu.ItemText>+ <Menu.ItemText>{option.label}</Menu.ItemText></Menu.Item>))}</MenuContent>@@ -284,7 +282,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="md">{t('widgets.canvas.contextMenu.saveBboxToGallery')}</Menu.ItemText>+ <Menu.ItemText>{t('widgets.canvas.contextMenu.saveBboxToGallery')}</Menu.ItemText></Menu.Item></MenuContent></Menu.Positioner>@@ -312,7 +310,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="md">{t('widgets.canvas.controls.newCanvas')}</Menu.ItemText>+ <Menu.ItemText>{t('widgets.canvas.controls.newCanvas')}</Menu.ItemText></Menu.Item></MenuContent></Menu.Positioner>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 677458b09a..8653d6052a 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@@ -118,7 +118,7 @@ export const FormNumberField = ({startElementProps={START_ELEMENT_PROPS}startOffset={label ? affixOffset(label.length) : affixOffset(2)}>- <NumberInput.Input aria-label={ariaLabel} fontSize="md" fontVariantNumeric="tabular-nums" textAlign="end" />+ <NumberInput.Input aria-label={ariaLabel} fontVariantNumeric="tabular-nums" textAlign="end" /></InputGroup></NumberInput.Root>);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 ca647bad7d..55d26a1d0c 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="md" minW="0" title={label} truncate>+ <Text color="fg.muted" minW="0" title={label} truncate>{label}</Text>{children}@@ -106,7 +106,7 @@ export const PropertyGroup = ({</Text></chakra.button>) : (- <Text color="fg.muted" fontSize="md" fontWeight="600">+ <Text color="fg.muted" fontWeight="600">{label}</Text>)}@@ -180,9 +180,7 @@ export const HintCard = ({ rows }: { rows: readonly { gesture: string; effect: s<Badge colorPalette="gray" fontFamily="mono" size="lg" variant="surface">{row.gesture}</Badge>- <Text color="fg.muted" fontSize="md">- {row.effect}- </Text>+ <Text color="fg.muted">{row.effect}</Text></Grid>))}</Stack>diff --git a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ClusterStrengthField.tsx b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ClusterStrengthField.tsxindex af7b63ac68..d0ffa3cf12 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/image-map/ClusterStrengthField.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/image-map/ClusterStrengthField.tsx@@ -226,11 +226,7 @@ export const ClusterStrengthField = ({ field, surface, target }: SettingFieldPro</Field.Label>{chosen !== null ? <ModifiedSettingIndicator label={label} /> : null}</HStack>- {description ? (- <Field.HelperText color="fg.muted" fontSize="md">- {description}- </Field.HelperText>- ) : null}+ {description ? <Field.HelperText color="fg.muted">{description}</Field.HelperText> : null}{invalid ? <Field.ErrorText fontSize="md">{invalid}</Field.ErrorText> : null}</Stack><HStack flexShrink={0} gap="2">diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersHeaderActions.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersHeaderActions.tsxindex 77646bffa9..f09771dd5a 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersHeaderActions.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/LayersHeaderActions.tsx@@ -61,9 +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="md">- {t(item.labelKey)}- </Text>+ <Text flex="1">{t(item.labelKey)}</Text></HStack></Menu.Item>);diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/ColorPane.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/ColorPane.tsxindex dae8d4bf7a..3604b47054 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/ColorPane.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/ColorPane.tsx@@ -448,7 +448,6 @@ const HexField = ({ hex, onCommit }: { hex: string; onCommit: (hex: string) => varia-label={t('widgets.layers.colorPane.channels.hex')}flex="1"fontFamily="mono"- fontSize="md"minW="24"value={draft ?? hex}onBlur={commit}diff --git a/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/PropertiesSection.tsx b/invokeai/frontend/webv2/src/workbench/widgets/layers/panes/PropertiesSection.tsxindex f12da65f5c..c68c96b6e0 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="md" minW="0" truncate>+ <Text color="fg.muted" minW="0" truncate>{subtitle}</Text>) : null}