mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
Updated icons + Minor UI Tweaks (#5427)
* feat: 💄 updated icons + minor ui tweaks * revert: 💄 removes ui tweaks * revert: 💄 removed more ui tweaks removed more ui tweaks and a commented-out icon import * style: 🚨 satisfy the linter --------- Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
This commit is contained in:
@@ -3,7 +3,7 @@ import type { InvButtonProps } from 'common/components/InvButton/types';
|
||||
import { useFeatureStatus } from 'features/system/hooks/useFeatureStatus';
|
||||
import { memo } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { FaSync } from 'react-icons/fa';
|
||||
import { PiArrowsClockwiseBold } from 'react-icons/pi';
|
||||
|
||||
import { useSyncModels } from './useSyncModels';
|
||||
|
||||
@@ -21,7 +21,7 @@ export const SyncModelsButton = memo(
|
||||
<InvButton
|
||||
isLoading={isLoading}
|
||||
onClick={syncModels}
|
||||
leftIcon={<FaSync />}
|
||||
leftIcon={<PiArrowsClockwiseBold />}
|
||||
minW="max-content"
|
||||
{...props}
|
||||
>
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { InvIconButtonProps } from 'common/components/InvIconButton/types';
|
||||
import { useFeatureStatus } from 'features/system/hooks/useFeatureStatus';
|
||||
import { memo } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { FaSync } from 'react-icons/fa';
|
||||
import { PiArrowsClockwiseBold } from 'react-icons/pi';
|
||||
|
||||
import { useSyncModels } from './useSyncModels';
|
||||
|
||||
@@ -19,7 +19,7 @@ export const SyncModelsIconButton = memo(
|
||||
|
||||
return (
|
||||
<InvIconButton
|
||||
icon={<FaSync />}
|
||||
icon={<PiArrowsClockwiseBold />}
|
||||
tooltip={t('modelManager.syncModels')}
|
||||
aria-label={t('modelManager.syncModels')}
|
||||
isLoading={isLoading}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { DeleteIcon } from '@chakra-ui/icons';
|
||||
import { Badge, Flex, useDisclosure } from '@chakra-ui/react';
|
||||
import { useAppDispatch } from 'app/store/storeHooks';
|
||||
import { InvButton } from 'common/components/InvButton/InvButton';
|
||||
@@ -11,6 +10,7 @@ import { addToast } from 'features/system/store/systemSlice';
|
||||
import { makeToast } from 'features/system/util/makeToast';
|
||||
import { memo, useCallback } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { PiTrashSimpleBold } from 'react-icons/pi';
|
||||
import type {
|
||||
LoRAModelConfigEntity,
|
||||
MainModelConfigEntity,
|
||||
@@ -109,7 +109,7 @@ const ModelListItem = (props: ModelListItemProps) => {
|
||||
</Flex>
|
||||
<InvIconButton
|
||||
onClick={onOpen}
|
||||
icon={<DeleteIcon />}
|
||||
icon={<PiTrashSimpleBold />}
|
||||
aria-label={t('modelManager.deleteConfig')}
|
||||
colorScheme="error"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user