zio/stable
Hailey 2024-07-05 14:44:06 -07:00 committed by GitHub
parent 09bc4e95d8
commit 56b688744e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 32 additions and 19 deletions

View File

@ -90,30 +90,43 @@ export function AviFollowButton({
hitSlop={createHitslop(3)} hitSlop={createHitslop(3)}
style={[ style={[
a.rounded_full, a.rounded_full,
select(t.name, {
light: t.atoms.bg_contrast_100,
dim: t.atoms.bg_contrast_100,
dark: t.atoms.bg_contrast_200,
}),
a.absolute, a.absolute,
{ {
bottom: -1, height: 30,
right: -1, width: 30,
borderWidth: 1, bottom: -7,
borderColor: t.atoms.bg.backgroundColor, right: -7,
}, },
]}> ]}>
<NativeDropdown items={items}> <NativeDropdown items={items}>
<Plus <View
size="sm" style={[a.h_full, a.w_full, a.justify_center, a.align_center]}>
fill={ <View
select(t.name, { style={[
light: t.atoms.bg_contrast_600, a.rounded_full,
dim: t.atoms.bg_contrast_500, a.align_center,
dark: t.atoms.bg_contrast_600, select(t.name, {
}).backgroundColor light: t.atoms.bg_contrast_100,
} dim: t.atoms.bg_contrast_100,
/> dark: t.atoms.bg_contrast_200,
}),
{
borderWidth: 1,
borderColor: t.atoms.bg.backgroundColor,
},
]}>
<Plus
size="sm"
fill={
select(t.name, {
light: t.atoms.bg_contrast_600,
dim: t.atoms.bg_contrast_500,
dark: t.atoms.bg_contrast_600,
}).backgroundColor
}
/>
</View>
</View>
</NativeDropdown> </NativeDropdown>
</Button> </Button>
)} )}