diff --git a/src/app/features/high-fee-drawer/high-fee-drawer.tsx b/src/app/features/high-fee-drawer/high-fee-drawer.tsx index f92677f2f7b..15718c1b478 100644 --- a/src/app/features/high-fee-drawer/high-fee-drawer.tsx +++ b/src/app/features/high-fee-drawer/high-fee-drawer.tsx @@ -1,8 +1,8 @@ import { useEffect } from 'react'; -import { FiAlertTriangle } from 'react-icons/fi'; import { useDrawers } from '@app/common/hooks/use-drawers'; import { ControlledDrawer } from '@app/components/drawer/controlled-drawer'; +import { ErrorIcon } from '@app/ui/components/icons/error-icon'; import { HighFeeConfirmation } from './components/high-fee-confirmation'; @@ -18,8 +18,7 @@ export function HighFeeDrawer(props: { learnMoreUrl: string }) { return ( } + icon={} isShowing={isShowingHighFeeConfirmation} onClose={() => setIsShowingHighFeeConfirmation(false)} > diff --git a/src/app/features/secret-key-displayer/secret-key-displayer.layout.tsx b/src/app/features/secret-key-displayer/secret-key-displayer.layout.tsx index 4389224b68c..ef77237b23f 100644 --- a/src/app/features/secret-key-displayer/secret-key-displayer.layout.tsx +++ b/src/app/features/secret-key-displayer/secret-key-displayer.layout.tsx @@ -1,5 +1,4 @@ import { useState } from 'react'; -import { FiEye, FiEyeOff } from 'react-icons/fi'; import { OnboardingSelectors } from '@tests/selectors/onboarding.selectors'; import { SettingsSelectors } from '@tests/selectors/settings.selectors'; @@ -7,6 +6,8 @@ import { Flex, styled } from 'leather-styles/jsx'; import { LeatherButton } from '@app/ui/components/button'; import { CopyIcon } from '@app/ui/components/icons/copy-icon'; +import { EyeIcon } from '@app/ui/components/icons/eye-icon'; +import { EyeSlashIcon } from '@app/ui/components/icons/eye-slash-icon'; import { SecretKeyGrid } from '../../components/secret-key/secret-key-grid'; import { SecretKeyWord } from './components/secret-key-word'; @@ -46,7 +47,7 @@ export function SecretKeyDisplayerLayout(props: SecretKeyDisplayerLayoutProps) { data-testid={SettingsSelectors.ShowSecretKeyBtn} onClick={() => setShowSecretKey(!showSecretKey)} > - {showSecretKey ? : } + {showSecretKey ? : } {showSecretKey ? 'Hide key' : 'Show key'} Open in new tab - + ), @@ -115,7 +115,7 @@ export function SettingsDropdown() { > Get support - + Request feature - + {hasGeneratedWallet ? : null} diff --git a/src/app/features/stacks-transaction-request/post-conditions/no-post-conditions.tsx b/src/app/features/stacks-transaction-request/post-conditions/no-post-conditions.tsx index d3a13df963d..6b680558c91 100644 --- a/src/app/features/stacks-transaction-request/post-conditions/no-post-conditions.tsx +++ b/src/app/features/stacks-transaction-request/post-conditions/no-post-conditions.tsx @@ -1,13 +1,13 @@ -import { FiLock } from 'react-icons/fi'; - import { Box, Circle, HStack } from 'leather-styles/jsx'; import { styled } from 'leather-styles/jsx'; +import { LockIcon } from '@app/ui/components/icons/lock-icon'; + export function NoPostConditions(): React.JSX.Element { return ( - + diff --git a/src/app/pages/onboarding/allow-diagnostics/allow-diagnostics-layout.tsx b/src/app/pages/onboarding/allow-diagnostics/allow-diagnostics-layout.tsx index 29dff408c8f..0191a7151c4 100644 --- a/src/app/pages/onboarding/allow-diagnostics/allow-diagnostics-layout.tsx +++ b/src/app/pages/onboarding/allow-diagnostics/allow-diagnostics-layout.tsx @@ -1,11 +1,10 @@ -import { FiCheck } from 'react-icons/fi'; - import { Dialog } from '@radix-ui/themes'; import { OnboardingSelectors } from '@tests/selectors/onboarding.selectors'; import { css } from 'leather-styles/css'; import { Box, Flex, HStack, Stack, styled } from 'leather-styles/jsx'; import { LeatherButton } from '@app/ui/components/button'; +import { CheckmarkIcon } from '@app/ui/components/icons/checkmark-icon'; import { LeatherIcon } from '@app/ui/components/icons/leather-icon'; interface ReasonToAllowDiagnosticsProps { @@ -15,7 +14,7 @@ function ReasonToAllowDiagnostics({ text }: ReasonToAllowDiagnosticsProps) { return ( - + {text} diff --git a/src/app/pages/onboarding/back-up-secret-key/components/back-up-secret-key.content.tsx b/src/app/pages/onboarding/back-up-secret-key/components/back-up-secret-key.content.tsx index 6d70cf968a3..7a6bd74459a 100644 --- a/src/app/pages/onboarding/back-up-secret-key/components/back-up-secret-key.content.tsx +++ b/src/app/pages/onboarding/back-up-secret-key/components/back-up-secret-key.content.tsx @@ -1,7 +1,10 @@ -import { FiEyeOff, FiLock, FiRotateCcw } from 'react-icons/fi'; +import { FiRotateCcw } from 'react-icons/fi'; import { HStack, Stack, styled } from 'leather-styles/jsx'; +import { EyeSlashIcon } from '@app/ui/components/icons/eye-slash-icon'; +import { LockIcon } from '@app/ui/components/icons/lock-icon'; + export function BackUpSecretKeyContent(): React.JSX.Element { return ( <> @@ -26,11 +29,11 @@ export function BackUpSecretKeyContent(): React.JSX.Element { Your Secret Key gives access to your wallet - + Never share your Secret Key with anyone - + Store it somewhere 100% private and secure diff --git a/src/app/pages/select-network/components/network-list-item.layout.tsx b/src/app/pages/select-network/components/network-list-item.layout.tsx index 7a3dd81f586..4f6f0f80cf3 100644 --- a/src/app/pages/select-network/components/network-list-item.layout.tsx +++ b/src/app/pages/select-network/components/network-list-item.layout.tsx @@ -1,3 +1,4 @@ +// TODO get icons for Trash, Circle, Star, Zap, CloudOff import { FiTrash2 } from 'react-icons/fi'; import { SettingsSelectors } from '@tests/selectors/settings.selectors'; diff --git a/src/app/pages/select-network/components/network-status-indicator.tsx b/src/app/pages/select-network/components/network-status-indicator.tsx index 2e0e2e48537..4b505f306b7 100644 --- a/src/app/pages/select-network/components/network-status-indicator.tsx +++ b/src/app/pages/select-network/components/network-status-indicator.tsx @@ -1,3 +1,4 @@ +// TODO get new icon for this / migrate import { FiCloudOff as IconCloudOff } from 'react-icons/fi'; import { CheckmarkIcon } from '@app/ui/components/icons/checkmark-icon'; diff --git a/src/app/pages/update-profile-request/components/update-profile-error-msg.tsx b/src/app/pages/update-profile-request/components/update-profile-error-msg.tsx index b4e805f098e..004f4c24060 100644 --- a/src/app/pages/update-profile-request/components/update-profile-error-msg.tsx +++ b/src/app/pages/update-profile-request/components/update-profile-error-msg.tsx @@ -1,7 +1,6 @@ -import { FiAlertTriangle } from 'react-icons/fi'; - import { HStack } from 'leather-styles/jsx'; +import { ErrorIcon } from '@app/ui/components/icons/error-icon'; import { Caption } from '@app/ui/components/typography/caption'; interface ErrorMessageProps { @@ -12,9 +11,8 @@ export function ErrorMessage(props: ErrorMessageProps) { if (!errorMessage) return null; return ( - // #4476 TODO change this colour and migrate FiAlertTriangle - + {errorMessage} );