Fix appearance of Create Password and Change Password forms (#21544)
This change fixes the appearance of the disclaimer checkbox inside the create/change password forms to use the user's customization color. Additionally, this change also changes the password-hint success icons to use the check-circle because of its solid opacity.
This commit is contained in:
parent
077b885617
commit
cf72bcbe42
|
@ -40,7 +40,7 @@
|
|||
[quo/info-message
|
||||
{:status status
|
||||
:size :default
|
||||
:icon (if (= status :success) :i/positive-state :i/info)
|
||||
:icon (if (= status :success) :i/check-circle :i/info)
|
||||
:color (when (= status :default)
|
||||
colors/white-70-blur)}
|
||||
text])]])
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
(cond-> {:status status
|
||||
:size :default}
|
||||
(not= :success status) (assoc :icon :i/info)
|
||||
(= :success status) (assoc :icon :i/positive-state)
|
||||
(= :success status) (assoc :icon :i/check-circle)
|
||||
(= :default status) (assoc :color colors/white-70-blur))
|
||||
text])]])
|
||||
|
||||
|
@ -141,9 +141,10 @@
|
|||
(when same-passwords?
|
||||
[rn/view {:style style/disclaimer-container}
|
||||
[quo/disclaimer
|
||||
{:blur? true
|
||||
:on-change on-disclaimer-change
|
||||
:checked? disclaimer-accepted?}
|
||||
{:blur? true
|
||||
:customization-color customization-color
|
||||
:on-change on-disclaimer-change
|
||||
:checked? disclaimer-accepted?}
|
||||
(i18n/label :t/password-creation-disclaimer)]])
|
||||
(when (and focused? (not same-passwords?))
|
||||
[help
|
||||
|
|
Loading…
Reference in New Issue