feat(ui): add shadow to video post trending cards
Added a small shadow (shadow_sm) to the CompactVideoPostCard and the "View more" card in TrendingVideos for improved visual depth and consistency. This enhances the card appearance and aligns with the design system.
This commit is contained in:
@@ -411,6 +411,7 @@ export function CompactVideoPostCard({
|
||||
onPressOut={onPressOut}
|
||||
style={[
|
||||
a.flex_col,
|
||||
t.atoms.shadow_sm,
|
||||
{
|
||||
alignItems: undefined,
|
||||
justifyContent: undefined,
|
||||
@@ -534,7 +535,7 @@ export function CompactVideoPostCardPlaceholder() {
|
||||
const black = getBlackColor(t)
|
||||
|
||||
return (
|
||||
<View style={[a.flex_1]}>
|
||||
<View style={[a.flex_1, t.atoms.shadow_sm]}>
|
||||
<View
|
||||
style={[
|
||||
a.rounded_lg,
|
||||
|
||||
@@ -197,6 +197,7 @@ function VideoCards({
|
||||
a.flex_1,
|
||||
a.rounded_lg,
|
||||
t.atoms.bg,
|
||||
t.atoms.shadow_sm,
|
||||
]}>
|
||||
{({pressed}) => (
|
||||
<View
|
||||
|
||||
Reference in New Issue
Block a user