diff --git a/ui/pages/add-collectible/add-collectible.js b/ui/pages/add-collectible/add-collectible.js index bea9d2046..c5192cec3 100644 --- a/ui/pages/add-collectible/add-collectible.js +++ b/ui/pages/add-collectible/add-collectible.js @@ -103,7 +103,7 @@ export default function AddCollectible() { {t('decryptCopy')} - + ) : ( diff --git a/ui/pages/confirm-transaction-base/transaction-alerts/transaction-alerts.js b/ui/pages/confirm-transaction-base/transaction-alerts/transaction-alerts.js index 88a8e49b6..c47530242 100644 --- a/ui/pages/confirm-transaction-base/transaction-alerts/transaction-alerts.js +++ b/ui/pages/confirm-transaction-base/transaction-alerts/transaction-alerts.js @@ -42,7 +42,7 @@ const TransactionAlerts = ({ } useIcon - iconFillColor="#d73a49" + iconFillColor="var(--color-error-default)" type="danger" primaryActionV2={ userAcknowledgedGasMissing === true @@ -91,7 +91,7 @@ const TransactionAlerts = ({ } useIcon - iconFillColor="#f8c000" + iconFillColor="var(--color-warning-default)" type="warning" /> )} @@ -142,7 +142,7 @@ const TransactionAlerts = ({ } useIcon - iconFillColor="#f8c000" + iconFillColor="var(--color-warning-default)" type="warning" /> )} @@ -158,7 +158,7 @@ const TransactionAlerts = ({ } - iconFillColor="#f8c000" + iconFillColor="var(--color-warning-default)" type="warning" useIcon /> diff --git a/ui/pages/import-token/import-token.component.js b/ui/pages/import-token/import-token.component.js index 77cc89657..33e0a0bb2 100644 --- a/ui/pages/import-token/import-token.component.js +++ b/ui/pages/import-token/import-token.component.js @@ -368,7 +368,7 @@ class ImportToken extends Component { type="warning" withRightButton useIcon - iconFillColor="#f8c000" + iconFillColor="var(--color-warning-default)" /> )} diff --git a/ui/pages/onboarding-flow/recovery-phrase/review-recovery-phrase.js b/ui/pages/onboarding-flow/recovery-phrase/review-recovery-phrase.js index 7012fe70d..0482a3669 100644 --- a/ui/pages/onboarding-flow/recovery-phrase/review-recovery-phrase.js +++ b/ui/pages/onboarding-flow/recovery-phrase/review-recovery-phrase.js @@ -89,7 +89,7 @@ export default function RecoveryPhrase({ secretRecoveryPhrase }) { icon={ } className="recovery-phrase__footer__copy-and-hide__button recovery-phrase__footer__copy-and-hide__button__hide-seed" @@ -103,7 +103,11 @@ export default function RecoveryPhrase({ secretRecoveryPhrase }) { onClick={() => { handleCopy(secretRecoveryPhrase); }} - icon={copied ? null : } + icon={ + copied ? null : ( + + ) + } className="recovery-phrase__footer__copy-and-hide__button recovery-phrase__footer__copy-and-hide__button__copy-to-clipboard" type="link" > diff --git a/ui/pages/settings/contact-list-tab/view-contact/view-contact.component.js b/ui/pages/settings/contact-list-tab/view-contact/view-contact.component.js index bcc6e9adc..214726c76 100644 --- a/ui/pages/settings/contact-list-tab/view-contact/view-contact.component.js +++ b/ui/pages/settings/contact-list-tab/view-contact/view-contact.component.js @@ -68,7 +68,7 @@ function ViewContact({ handleCopy(checkSummedAddress); }} > - + diff --git a/ui/pages/settings/networks-tab/networks-form/networks-form.js b/ui/pages/settings/networks-tab/networks-form/networks-form.js index 0b57233c7..533910d65 100644 --- a/ui/pages/settings/networks-tab/networks-form/networks-form.js +++ b/ui/pages/settings/networks-tab/networks-form/networks-form.js @@ -549,7 +549,7 @@ const NetworksForm = ({ diff --git a/ui/pages/settings/networks-tab/networks-list-item/networks-list-item.js b/ui/pages/settings/networks-tab/networks-list-item/networks-list-item.js index c3da0b2a1..ed1b0dd74 100644 --- a/ui/pages/settings/networks-tab/networks-list-item/networks-list-item.js +++ b/ui/pages/settings/networks-tab/networks-list-item/networks-list-item.js @@ -78,7 +78,7 @@ const NetworksListItem = ({ > {label || t(labelKey)} {currentProviderType !== NETWORK_TYPE_RPC && ( - + )} diff --git a/ui/pages/settings/networks-tab/networks-tab.js b/ui/pages/settings/networks-tab/networks-tab.js index fed8adea5..df7f052ac 100644 --- a/ui/pages/settings/networks-tab/networks-tab.js +++ b/ui/pages/settings/networks-tab/networks-tab.js @@ -44,7 +44,7 @@ const NetworksTab = ({ addNewNetwork }) => { const frequentRpcNetworkListDetails = frequentRpcListDetail.map((rpc) => { return { label: rpc.nickname, - iconColor: '#6A737D', + iconColor: 'var(--color-icon-default)', providerType: NETWORK_TYPE_RPC, rpcUrl: rpc.rpcUrl, chainId: rpc.chainId, diff --git a/ui/pages/swaps/awaiting-signatures/__snapshots__/swap-step-icon.test.js.snap b/ui/pages/swaps/awaiting-signatures/__snapshots__/swap-step-icon.test.js.snap index bb0b0b5ae..45985fd2e 100644 --- a/ui/pages/swaps/awaiting-signatures/__snapshots__/swap-step-icon.test.js.snap +++ b/ui/pages/swaps/awaiting-signatures/__snapshots__/swap-step-icon.test.js.snap @@ -13,12 +13,12 @@ exports[`SwapStepIcon renders the component with step 1 by default 1`] = ` cx="7" cy="7" r="6.25" - stroke="#037DD6" + stroke="var(--color-primary-default)" stroke-width="1.5" /> @@ -37,12 +37,12 @@ exports[`SwapStepIcon renders the component with step 2 1`] = ` cx="7" cy="7" r="6.25" - stroke="#037DD6" + stroke="var(--color-primary-default)" stroke-width="1.5" /> diff --git a/ui/pages/swaps/awaiting-signatures/swap-step-icon.js b/ui/pages/swaps/awaiting-signatures/swap-step-icon.js index 3e5d50665..9fdae46cb 100644 --- a/ui/pages/swaps/awaiting-signatures/swap-step-icon.js +++ b/ui/pages/swaps/awaiting-signatures/swap-step-icon.js @@ -11,10 +11,16 @@ export default function SwapStepIcon({ stepNumber = 1 }) { fill="none" xmlns="http://www.w3.org/2000/svg" > - + ); @@ -27,10 +33,16 @@ export default function SwapStepIcon({ stepNumber = 1 }) { fill="none" xmlns="http://www.w3.org/2000/svg" > - + ); diff --git a/ui/pages/swaps/awaiting-swap/__snapshots__/quotes-timeout-icon.test.js.snap b/ui/pages/swaps/awaiting-swap/__snapshots__/quotes-timeout-icon.test.js.snap index d117414fa..2345cc961 100644 --- a/ui/pages/swaps/awaiting-swap/__snapshots__/quotes-timeout-icon.test.js.snap +++ b/ui/pages/swaps/awaiting-swap/__snapshots__/quotes-timeout-icon.test.js.snap @@ -11,7 +11,7 @@ exports[`QuotesTimeoutIcon renders the component 1`] = ` > diff --git a/ui/pages/swaps/awaiting-swap/__snapshots__/swap-failure-icon.test.js.snap b/ui/pages/swaps/awaiting-swap/__snapshots__/swap-failure-icon.test.js.snap index 3d195032b..c5accc26d 100644 --- a/ui/pages/swaps/awaiting-swap/__snapshots__/swap-failure-icon.test.js.snap +++ b/ui/pages/swaps/awaiting-swap/__snapshots__/swap-failure-icon.test.js.snap @@ -11,7 +11,7 @@ exports[`SwapFailureIcon renders the component 1`] = ` > diff --git a/ui/pages/swaps/awaiting-swap/__snapshots__/swap-success-icon.test.js.snap b/ui/pages/swaps/awaiting-swap/__snapshots__/swap-success-icon.test.js.snap index f5c27628d..fb9043445 100644 --- a/ui/pages/swaps/awaiting-swap/__snapshots__/swap-success-icon.test.js.snap +++ b/ui/pages/swaps/awaiting-swap/__snapshots__/swap-success-icon.test.js.snap @@ -11,7 +11,7 @@ exports[`SwapSuccessIcon renders the component 1`] = ` > diff --git a/ui/pages/swaps/awaiting-swap/quotes-timeout-icon.js b/ui/pages/swaps/awaiting-swap/quotes-timeout-icon.js index 7a2783e4b..5d715e584 100644 --- a/ui/pages/swaps/awaiting-swap/quotes-timeout-icon.js +++ b/ui/pages/swaps/awaiting-swap/quotes-timeout-icon.js @@ -11,7 +11,7 @@ export default function QuotesTimeoutIcon() { > ); diff --git a/ui/pages/swaps/awaiting-swap/swap-failure-icon.js b/ui/pages/swaps/awaiting-swap/swap-failure-icon.js index a5cb34480..5d8ef4e18 100644 --- a/ui/pages/swaps/awaiting-swap/swap-failure-icon.js +++ b/ui/pages/swaps/awaiting-swap/swap-failure-icon.js @@ -11,7 +11,7 @@ export default function SwapFailureIcon() { > ); diff --git a/ui/pages/swaps/awaiting-swap/swap-success-icon.js b/ui/pages/swaps/awaiting-swap/swap-success-icon.js index ffe46d5cb..0ec8ca746 100644 --- a/ui/pages/swaps/awaiting-swap/swap-success-icon.js +++ b/ui/pages/swaps/awaiting-swap/swap-success-icon.js @@ -11,7 +11,7 @@ export default function SwapSuccessIcon() { > ); diff --git a/ui/pages/swaps/countdown-timer/__snapshots__/timer-icon.test.js.snap b/ui/pages/swaps/countdown-timer/__snapshots__/timer-icon.test.js.snap index e6649485e..0cdcd52e0 100644 --- a/ui/pages/swaps/countdown-timer/__snapshots__/timer-icon.test.js.snap +++ b/ui/pages/swaps/countdown-timer/__snapshots__/timer-icon.test.js.snap @@ -11,7 +11,7 @@ exports[`TimerIcon renders the TimerIcon component 1`] = ` > diff --git a/ui/pages/swaps/countdown-timer/timer-icon.js b/ui/pages/swaps/countdown-timer/timer-icon.js index 8f4974f72..65dc5875c 100644 --- a/ui/pages/swaps/countdown-timer/timer-icon.js +++ b/ui/pages/swaps/countdown-timer/timer-icon.js @@ -11,7 +11,7 @@ export default function TimerIcon() { > ); diff --git a/ui/pages/swaps/exchange-rate-display/exchange-rate-display.stories.js b/ui/pages/swaps/exchange-rate-display/exchange-rate-display.stories.js index d66be935a..36e9f773c 100644 --- a/ui/pages/swaps/exchange-rate-display/exchange-rate-display.stories.js +++ b/ui/pages/swaps/exchange-rate-display/exchange-rate-display.stories.js @@ -59,7 +59,8 @@ export const WhiteOnBlue = (args) => { display: 'flex', justifyContent: 'center', alignItems: 'center', - background: 'linear-gradient(90deg, #037DD6 0%, #1098FC 101.32%)', + background: + 'linear-gradient(90deg, var(--color-primary-default) 0%, var(--color-primary-muted) 101.32%)', }} > diff --git a/ui/pages/swaps/fee-card/pig-icon.js b/ui/pages/swaps/fee-card/pig-icon.js index fe6a4278f..c5b53ed1e 100644 --- a/ui/pages/swaps/fee-card/pig-icon.js +++ b/ui/pages/swaps/fee-card/pig-icon.js @@ -11,43 +11,43 @@ export default function PigIcon() { > ); diff --git a/ui/pages/swaps/main-quote-summary/__snapshots__/main-quote-summary.test.js.snap b/ui/pages/swaps/main-quote-summary/__snapshots__/main-quote-summary.test.js.snap index c94a42158..4f42f56c1 100644 --- a/ui/pages/swaps/main-quote-summary/__snapshots__/main-quote-summary.test.js.snap +++ b/ui/pages/swaps/main-quote-summary/__snapshots__/main-quote-summary.test.js.snap @@ -103,7 +103,7 @@ exports[`MainQuoteSummary renders the component with initial props 4`] = ` > diff --git a/ui/pages/swaps/main-quote-summary/main-quote-summary.js b/ui/pages/swaps/main-quote-summary/main-quote-summary.js index f4da8b5f6..ceab8ef75 100644 --- a/ui/pages/swaps/main-quote-summary/main-quote-summary.js +++ b/ui/pages/swaps/main-quote-summary/main-quote-summary.js @@ -118,7 +118,7 @@ export default function MainQuoteSummary({ secondaryTokenValue={destinationValue} secondaryTokenDecimals={destinationDecimals} secondaryTokenSymbol={destinationSymbol} - arrowColor="#037DD6" + arrowColor="var(--color-primary-default)" boldSymbols={false} className="main-quote-summary__exchange-rate-display" /> diff --git a/ui/pages/swaps/select-quote-popover/sort-list/__snapshots__/sort-list.test.js.snap b/ui/pages/swaps/select-quote-popover/sort-list/__snapshots__/sort-list.test.js.snap index b73581f3e..f0810c9cf 100644 --- a/ui/pages/swaps/select-quote-popover/sort-list/__snapshots__/sort-list.test.js.snap +++ b/ui/pages/swaps/select-quote-popover/sort-list/__snapshots__/sort-list.test.js.snap @@ -40,7 +40,7 @@ exports[`SortList renders the component with initial props 1`] = ` > @@ -79,7 +79,7 @@ exports[`SortList renders the component with initial props 2`] = ` > diff --git a/ui/pages/swaps/select-quote-popover/sort-list/sort-list.js b/ui/pages/swaps/select-quote-popover/sort-list/sort-list.js index 58064e365..4f1f9077d 100644 --- a/ui/pages/swaps/select-quote-popover/sort-list/sort-list.js +++ b/ui/pages/swaps/select-quote-popover/sort-list/sort-list.js @@ -17,7 +17,7 @@ const ToggleArrows = () => ( > ); diff --git a/ui/pages/swaps/smart-transaction-status/__snapshots__/canceled-icon.test.js.snap b/ui/pages/swaps/smart-transaction-status/__snapshots__/canceled-icon.test.js.snap index 00aef8022..68b473d40 100644 --- a/ui/pages/swaps/smart-transaction-status/__snapshots__/canceled-icon.test.js.snap +++ b/ui/pages/swaps/smart-transaction-status/__snapshots__/canceled-icon.test.js.snap @@ -11,12 +11,12 @@ exports[`CanceledIcon renders the CanceledIcon component 1`] = ` > diff --git a/ui/pages/swaps/smart-transaction-status/__snapshots__/timer-icon.test.js.snap b/ui/pages/swaps/smart-transaction-status/__snapshots__/timer-icon.test.js.snap index 393317824..3596a5195 100644 --- a/ui/pages/swaps/smart-transaction-status/__snapshots__/timer-icon.test.js.snap +++ b/ui/pages/swaps/smart-transaction-status/__snapshots__/timer-icon.test.js.snap @@ -11,7 +11,7 @@ exports[`TimerIcon renders the TimerIcon component 1`] = ` > diff --git a/ui/pages/swaps/smart-transaction-status/__snapshots__/unknown-icon.test.js.snap b/ui/pages/swaps/smart-transaction-status/__snapshots__/unknown-icon.test.js.snap index f79373635..bef8625bc 100644 --- a/ui/pages/swaps/smart-transaction-status/__snapshots__/unknown-icon.test.js.snap +++ b/ui/pages/swaps/smart-transaction-status/__snapshots__/unknown-icon.test.js.snap @@ -13,12 +13,12 @@ exports[`UnknownIcon renders the UnknownIcon component 1`] = ` cx="19.1533" cy="19.2715" r="17.1" - stroke="#037DD6" + stroke="var(--color-primary-default)" stroke-width="3.8" /> diff --git a/ui/pages/swaps/smart-transaction-status/canceled-icon.js b/ui/pages/swaps/smart-transaction-status/canceled-icon.js index 9d40bc2d7..edd359c4f 100644 --- a/ui/pages/swaps/smart-transaction-status/canceled-icon.js +++ b/ui/pages/swaps/smart-transaction-status/canceled-icon.js @@ -11,13 +11,13 @@ export default function CanceledIcon() { > ); diff --git a/ui/pages/swaps/smart-transaction-status/timer-icon.js b/ui/pages/swaps/smart-transaction-status/timer-icon.js index d5f625aee..1f29942f0 100644 --- a/ui/pages/swaps/smart-transaction-status/timer-icon.js +++ b/ui/pages/swaps/smart-transaction-status/timer-icon.js @@ -11,7 +11,7 @@ export default function TimerIcon() { > ); diff --git a/ui/pages/swaps/smart-transaction-status/unknown-icon.js b/ui/pages/swaps/smart-transaction-status/unknown-icon.js index d4750ba2d..3ca2e572a 100644 --- a/ui/pages/swaps/smart-transaction-status/unknown-icon.js +++ b/ui/pages/swaps/smart-transaction-status/unknown-icon.js @@ -13,12 +13,12 @@ export default function UnknownIcon() { cx="19.1533" cy="19.2715" r="17.1" - stroke="#037DD6" + stroke="var(--color-primary-default)" strokeWidth="3.8" /> ); diff --git a/ui/pages/swaps/view-quote/__snapshots__/view-quote.test.js.snap b/ui/pages/swaps/view-quote/__snapshots__/view-quote.test.js.snap index 60b161093..c0c5a47b6 100644 --- a/ui/pages/swaps/view-quote/__snapshots__/view-quote.test.js.snap +++ b/ui/pages/swaps/view-quote/__snapshots__/view-quote.test.js.snap @@ -64,7 +64,7 @@ exports[`ViewQuote renders the component with EIP-1559 enabled 2`] = ` > @@ -136,7 +136,7 @@ exports[`ViewQuote renders the component with initial props 2`] = ` > diff --git a/ui/pages/token-details/token-details-page.js b/ui/pages/token-details/token-details-page.js index bc775e0d6..853832811 100644 --- a/ui/pages/token-details/token-details-page.js +++ b/ui/pages/token-details/token-details-page.js @@ -141,7 +141,7 @@ export default function TokenDetailsPage() { handleCopy(token.address); }} > - + diff --git a/ui/pages/unlock-page/unlock-page.component.js b/ui/pages/unlock-page/unlock-page.component.js index b64a024ed..7612526a4 100644 --- a/ui/pages/unlock-page/unlock-page.component.js +++ b/ui/pages/unlock-page/unlock-page.component.js @@ -128,7 +128,7 @@ export default class UnlockPage extends Component { renderSubmitButton() { const style = { - backgroundColor: '#037dd6', + backgroundColor: 'var(--color-primary-default)', color: 'white', marginTop: '20px', height: '60px',