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
|
[quo/info-message
|
||||||
{:status status
|
{:status status
|
||||||
:size :default
|
:size :default
|
||||||
:icon (if (= status :success) :i/positive-state :i/info)
|
:icon (if (= status :success) :i/check-circle :i/info)
|
||||||
:color (when (= status :default)
|
:color (when (= status :default)
|
||||||
colors/white-70-blur)}
|
colors/white-70-blur)}
|
||||||
text])]])
|
text])]])
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
(cond-> {:status status
|
(cond-> {:status status
|
||||||
:size :default}
|
:size :default}
|
||||||
(not= :success status) (assoc :icon :i/info)
|
(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))
|
(= :default status) (assoc :color colors/white-70-blur))
|
||||||
text])]])
|
text])]])
|
||||||
|
|
||||||
|
@ -142,6 +142,7 @@
|
||||||
[rn/view {:style style/disclaimer-container}
|
[rn/view {:style style/disclaimer-container}
|
||||||
[quo/disclaimer
|
[quo/disclaimer
|
||||||
{:blur? true
|
{:blur? true
|
||||||
|
:customization-color customization-color
|
||||||
:on-change on-disclaimer-change
|
:on-change on-disclaimer-change
|
||||||
:checked? disclaimer-accepted?}
|
:checked? disclaimer-accepted?}
|
||||||
(i18n/label :t/password-creation-disclaimer)]])
|
(i18n/label :t/password-creation-disclaimer)]])
|
||||||
|
|
Loading…
Reference in New Issue