Fix color of non-selected keypairs

This commit is contained in:
Ulises M 2024-06-20 18:00:01 -06:00
parent ea87f5db1d
commit 287a529f48
No known key found for this signature in database
GPG Key ID: 5A15782EB758534E
1 changed files with 6 additions and 8 deletions

View File

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