[16079] Fix dark mode for communities and messages home (#16382)
This commit is contained in:
parent
abe653c086
commit
229a806f12
|
@ -129,10 +129,15 @@
|
||||||
[contacts pending-contact-requests top]
|
[contacts pending-contact-requests top]
|
||||||
[chats selected-tab top])
|
[chats selected-tab top])
|
||||||
[rn/view {:style (style/blur-container top)}
|
[rn/view {:style (style/blur-container top)}
|
||||||
|
(let [{:keys [sheets]} (rf/sub [:bottom-sheet])]
|
||||||
[blur/view
|
[blur/view
|
||||||
{:blur-amount (if platform/ios? 20 10)
|
{:blur-amount (if platform/ios? 20 10)
|
||||||
:blur-type (if (colors/dark?) :dark (if platform/ios? :light :xlight))
|
:blur-type (if (colors/dark?) :dark (if platform/ios? :light :xlight))
|
||||||
:style style/blur}]
|
:style style/blur
|
||||||
|
:overlay-color (if (seq sheets)
|
||||||
|
(theme/theme-value colors/white colors/neutral-95-opa-70)
|
||||||
|
(when (colors/dark?)
|
||||||
|
colors/neutral-95-opa-70))}])
|
||||||
[common.home/top-nav
|
[common.home/top-nav
|
||||||
{:type :grey
|
{:type :grey
|
||||||
:avatar {:customization-color customization-color
|
:avatar {:customization-color customization-color
|
||||||
|
|
|
@ -94,10 +94,15 @@
|
||||||
:data selected-items}])
|
:data selected-items}])
|
||||||
|
|
||||||
[rn/view {:style (style/blur-container top)}
|
[rn/view {:style (style/blur-container top)}
|
||||||
|
(let [{:keys [sheets]} (rf/sub [:bottom-sheet])]
|
||||||
[blur/view
|
[blur/view
|
||||||
{:blur-amount (if platform/ios? 20 10)
|
{:blur-amount (if platform/ios? 20 10)
|
||||||
:blur-type (if (colors/dark?) :dark (if platform/ios? :light :xlight))
|
:blur-type (if (colors/dark?) :dark (if platform/ios? :light :xlight))
|
||||||
:style style/blur}]
|
:style style/blur
|
||||||
|
:overlay-color (if (seq sheets)
|
||||||
|
(theme/theme-value colors/white colors/neutral-95-opa-70)
|
||||||
|
(when (colors/dark?)
|
||||||
|
colors/neutral-95-opa-70))}])
|
||||||
[common.home/top-nav
|
[common.home/top-nav
|
||||||
{:type :grey
|
{:type :grey
|
||||||
:avatar {:customization-color customization-color
|
:avatar {:customization-color customization-color
|
||||||
|
|
Loading…
Reference in New Issue