From 287a529f48db604bc662c3bb34cd2e6729928ed4 Mon Sep 17 00:00:00 2001 From: Ulises M Date: Thu, 20 Jun 2024 18:00:01 -0600 Subject: [PATCH] Fix color of non-selected keypairs --- src/quo/components/wallet/keypair/style.cljs | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/quo/components/wallet/keypair/style.cljs b/src/quo/components/wallet/keypair/style.cljs index d56e49882c..73882a6d4e 100644 --- a/src/quo/components/wallet/keypair/style.cljs +++ b/src/quo/components/wallet/keypair/style.cljs @@ -7,14 +7,12 @@ [{:keys [blur? customization-color theme selected? container-style]}] (merge {:border-radius 16 :border-width 1 - :border-color (if selected? - (if blur? - colors/white - (colors/resolve-color customization-color theme)) - (if blur? - colors/white-opa-5 - (colors/theme-colors colors/neutral-10 colors/neutral-80 theme))) - :padding-bottom 8} + :padding-bottom 8 + :border-color (cond + (and selected? blur?) colors/white + selected? (colors/resolve-color customization-color theme) + blur? colors/white-opa-5 + :else (colors/theme-colors colors/neutral-10 colors/neutral-80 theme))} container-style)) (def header-container