improve toasts on oled dark mode (#7842)
This commit is contained in:
@@ -171,7 +171,7 @@ function Toast({
|
|||||||
onAccessibilityEscape={hideAndDestroyImmediately}
|
onAccessibilityEscape={hideAndDestroyImmediately}
|
||||||
style={[
|
style={[
|
||||||
a.flex_1,
|
a.flex_1,
|
||||||
t.atoms.bg,
|
t.name === 'dark' ? t.atoms.bg_contrast_25 : t.atoms.bg,
|
||||||
a.shadow_lg,
|
a.shadow_lg,
|
||||||
t.atoms.border_contrast_medium,
|
t.atoms.border_contrast_medium,
|
||||||
a.rounded_sm,
|
a.rounded_sm,
|
||||||
@@ -185,9 +185,14 @@ function Toast({
|
|||||||
a.flex_shrink_0,
|
a.flex_shrink_0,
|
||||||
a.rounded_full,
|
a.rounded_full,
|
||||||
{width: 32, height: 32},
|
{width: 32, height: 32},
|
||||||
{backgroundColor: t.palette.primary_50},
|
|
||||||
a.align_center,
|
a.align_center,
|
||||||
a.justify_center,
|
a.justify_center,
|
||||||
|
{
|
||||||
|
backgroundColor:
|
||||||
|
t.name === 'dark'
|
||||||
|
? t.palette.black
|
||||||
|
: t.palette.primary_50,
|
||||||
|
},
|
||||||
]}>
|
]}>
|
||||||
<FontAwesomeIcon
|
<FontAwesomeIcon
|
||||||
icon={icon}
|
icon={icon}
|
||||||
|
|||||||
Reference in New Issue
Block a user