From 245b3fcf57ae4a9b35119bd870bc16c09f64882c Mon Sep 17 00:00:00 2001 From: Mohsen Date: Tue, 7 May 2024 17:12:27 +0300 Subject: [PATCH] [#19172] fix: new to status design issue (#19923) --- src/quo/components/buttons/predictive_keyboard/view.cljs | 2 +- src/quo/components/inputs/recovery_phrase/view.cljs | 5 +++-- src/status_im/common/enter_seed_phrase/view.cljs | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/quo/components/buttons/predictive_keyboard/view.cljs b/src/quo/components/buttons/predictive_keyboard/view.cljs index 42feb25a73..2d1de849d8 100644 --- a/src/quo/components/buttons/predictive_keyboard/view.cljs +++ b/src/quo/components/buttons/predictive_keyboard/view.cljs @@ -70,6 +70,6 @@ :type (if (= type :error) :error :default)} (when blur? {:text-color colors/white-opa-70 - :icon-color colors/white-opa-70})) + :icon-color colors/white-opa-40})) text] nil)]])) diff --git a/src/quo/components/inputs/recovery_phrase/view.cljs b/src/quo/components/inputs/recovery_phrase/view.cljs index e8691e8098..7d482b5897 100644 --- a/src/quo/components/inputs/recovery_phrase/view.cljs +++ b/src/quo/components/inputs/recovery_phrase/view.cljs @@ -40,7 +40,7 @@ (defn recovery-phrase-input [{:keys [customization-color blur? on-focus on-blur mark-errors? error-pred-current-word error-pred-written-words word-limit - container-style] + container-style placeholder-text-color] :or {customization-color :blue word-limit ##Inf error-pred-current-word (constantly false) @@ -62,7 +62,8 @@ [rn/text-input (merge {:accessibility-label :recovery-phrase-input :style (style/input theme) - :placeholder-text-color (style/placeholder-color state theme blur?) + :placeholder-text-color (or placeholder-text-color + (style/placeholder-color state theme blur?)) :cursor-color (style/cursor-color customization-color theme) :keyboard-appearance theme :multiline true diff --git a/src/status_im/common/enter_seed_phrase/view.cljs b/src/status_im/common/enter_seed_phrase/view.cljs index 613250a7f1..82ece635ab 100644 --- a/src/status_im/common/enter_seed_phrase/view.cljs +++ b/src/status_im/common/enter_seed_phrase/view.cljs @@ -63,6 +63,7 @@ [quo/recovery-phrase-input {:accessibility-label :passphrase-input :placeholder (i18n/label :t/seed-phrase-placeholder) + :placeholder-text-color colors/white-opa-30 :auto-capitalize :none :auto-correct false :auto-focus true