[#19172] fix: new to status design issue (#19923)

This commit is contained in:
Mohsen 2024-05-07 17:12:27 +03:00 committed by GitHub
parent 90e5774dd6
commit 245b3fcf57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View File

@ -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)]]))

View File

@ -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

View File

@ -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