Fix color of non-selected keypairs
This commit is contained in:
parent
ea87f5db1d
commit
287a529f48
|
@ -7,14 +7,12 @@
|
||||||
[{:keys [blur? customization-color theme selected? container-style]}]
|
[{:keys [blur? customization-color theme selected? container-style]}]
|
||||||
(merge {:border-radius 16
|
(merge {:border-radius 16
|
||||||
:border-width 1
|
:border-width 1
|
||||||
:border-color (if selected?
|
:padding-bottom 8
|
||||||
(if blur?
|
:border-color (cond
|
||||||
colors/white
|
(and selected? blur?) colors/white
|
||||||
(colors/resolve-color customization-color theme))
|
selected? (colors/resolve-color customization-color theme)
|
||||||
(if blur?
|
blur? colors/white-opa-5
|
||||||
colors/white-opa-5
|
:else (colors/theme-colors colors/neutral-10 colors/neutral-80 theme))}
|
||||||
(colors/theme-colors colors/neutral-10 colors/neutral-80 theme)))
|
|
||||||
:padding-bottom 8}
|
|
||||||
container-style))
|
container-style))
|
||||||
|
|
||||||
(def header-container
|
(def header-container
|
||||||
|
|
Loading…
Reference in New Issue