From 64d35458b05bfad27c27db15dd9f4335debb986a Mon Sep 17 00:00:00 2001 From: Guillaume Roux Date: Sat, 19 Mar 2022 01:43:33 +0100 Subject: [PATCH] Dark Mode : Onboarding flow (#14020) --- .../create-new-vault/create-new-vault.scss | 2 +- ui/components/app/srp-input/srp-input.js | 3 +- .../app/step-progress-bar/index.scss | 34 +++++++++---------- ui/components/ui/check-box/index.scss | 10 +++--- .../first-time-flow/end-of-flow/index.scss | 2 +- ui/pages/first-time-flow/index.scss | 18 +++++----- .../metametrics-opt-in/index.scss | 12 +++---- .../confirm-seed-phrase/index.scss | 6 ++-- .../first-time-flow/seed-phrase/index.scss | 2 +- .../seed-phrase/reveal-seed-phrase/index.scss | 6 ++-- .../first-time-flow/select-action/index.scss | 10 +++--- ui/pages/first-time-flow/welcome/index.scss | 4 +-- .../create-password/index.scss | 10 +++--- .../onboarding-flow/import-srp/index.scss | 12 +++---- ui/pages/onboarding-flow/index.scss | 4 +-- .../onboarding-app-header/index.scss | 2 +- .../onboarding-flow/pin-extension/index.scss | 4 +-- .../recovery-phrase/index.scss | 10 +++--- .../secure-your-wallet/index.scss | 2 +- ui/pages/onboarding-flow/welcome/index.scss | 9 ++--- 20 files changed, 82 insertions(+), 80 deletions(-) diff --git a/ui/components/app/create-new-vault/create-new-vault.scss b/ui/components/app/create-new-vault/create-new-vault.scss index 305861f39..e24ac7337 100644 --- a/ui/components/app/create-new-vault/create-new-vault.scss +++ b/ui/components/app/create-new-vault/create-new-vault.scss @@ -20,7 +20,7 @@ } &__terms-link { - color: var(--primary-1); + color: var(--color-primary-default); } &__submit-button#{&}__submit-button { diff --git a/ui/components/app/srp-input/srp-input.js b/ui/components/app/srp-input/srp-input.js index 0192ba1b8..9ef216f7f 100644 --- a/ui/components/app/srp-input/srp-input.js +++ b/ui/components/app/srp-input/srp-input.js @@ -7,6 +7,7 @@ import { clearClipboard } from '../../../helpers/utils/util'; import CheckBox from '../../ui/check-box'; import Typography from '../../ui/typography'; import { COLORS } from '../../../helpers/constants/design-system'; +import Textarea from '../../ui/textarea'; import { parseSecretRecoveryPhrase } from './parse-secret-recovery-phrase'; const { isValidMnemonic } = ethers.utils; @@ -50,7 +51,7 @@ export default function SrpInput({ onChange }) { {t('secretRecoveryPhrase')} {showSrp ? ( -