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:
Sean Hagstrom 2024-11-04 10:36:06 -08:00 committed by GitHub
parent 077b885617
commit cf72bcbe42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 5 deletions

View File

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

View File

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