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])]])
|
||||
|
||||
|
@ -142,6 +142,7 @@
|
|||
[rn/view {:style style/disclaimer-container}
|
||||
[quo/disclaimer
|
||||
{:blur? true
|
||||
:customization-color customization-color
|
||||
:on-change on-disclaimer-change
|
||||
:checked? disclaimer-accepted?}
|
||||
(i18n/label :t/password-creation-disclaimer)]])
|
||||
|
|
Loading…
Reference in New Issue