diff --git a/ui/pages/token-allowance/token-allowance.js b/ui/pages/token-allowance/token-allowance.js
index 30a011ef8..a6634ed8f 100644
--- a/ui/pages/token-allowance/token-allowance.js
+++ b/ui/pages/token-allowance/token-allowance.js
@@ -6,18 +6,17 @@ import BigNumber from 'bignumber.js';
import Box from '../../components/ui/box/box';
import NetworkAccountBalanceHeader from '../../components/app/network-account-balance-header/network-account-balance-header';
import UrlIcon from '../../components/ui/url-icon/url-icon';
-import Typography from '../../components/ui/typography/typography';
import {
AlignItems,
BorderStyle,
Color,
DISPLAY,
FLEX_DIRECTION,
- FONT_WEIGHT,
+ FontWeight,
JustifyContent,
- TEXT_ALIGN,
+ TextAlign,
TextColor,
- TypographyVariant,
+ TextVariant,
} from '../../helpers/constants/design-system';
import { I18nContext } from '../../contexts/i18n';
import ContractTokenValues from '../../components/ui/contract-token-values/contract-token-values';
@@ -61,10 +60,10 @@ import {
import { ConfirmPageContainerNavigation } from '../../components/app/confirm-page-container';
import { useSimulationFailureWarning } from '../../hooks/useSimulationFailureWarning';
import SimulationErrorMessage from '../../components/ui/simulation-error-message';
-import { Icon, IconName } from '../../components/component-library';
import LedgerInstructionField from '../../components/app/ledger-instruction-field/ledger-instruction-field';
import { SECURITY_PROVIDER_MESSAGE_SEVERITIES } from '../../components/app/security-provider-banner-message/security-provider-banner-message.constants';
import SecurityProviderBannerMessage from '../../components/app/security-provider-banner-message/security-provider-banner-message';
+import { Text, Icon, IconName } from '../../components/component-library';
const ALLOWED_HOSTS = ['portfolio.metamask.io'];
@@ -294,24 +293,26 @@ export default function TokenAllowance({
{!isFirstPage && (
)}
-
-
+
{isFirstPage ? 1 : 2} {t('ofTextNofM')} 2
-
+
-
{origin}
-
+
-
+
{isFirstPage ? (
t('setSpendingCap', [renderContractTokenValues])
) : (
@@ -379,7 +376,7 @@ export default function TokenAllowance({
)}
)}
-
+
setShowContractDetails(true)}
className="token-allowance-container__verify-link"
>
-
{t('verifyContractDetails')}
-
+
@@ -480,13 +478,14 @@ export default function TokenAllowance({
onClick={() => setShowFullTxDetails(!showFullTxDetails)}
className="token-allowance-container__view-details"
>
-
{t('viewDetails')}
-
+
{showFullTxDetails ? (
) : (