Adopt Tamagui defaults for tabs and filters
This commit is contained in:
@@ -1170,7 +1170,6 @@ export default function MobileEventTasksPage() {
|
||||
borderRadius={16}
|
||||
borderWidth={1}
|
||||
borderColor={border}
|
||||
backgroundColor={surfaceMuted}
|
||||
overflow="hidden"
|
||||
gap="$0"
|
||||
>
|
||||
@@ -1186,16 +1185,13 @@ export default function MobileEventTasksPage() {
|
||||
key={tab.value}
|
||||
value={tab.value}
|
||||
flex={1}
|
||||
unstyled
|
||||
paddingVertical="$2.5"
|
||||
alignItems="center"
|
||||
justifyContent="center"
|
||||
backgroundColor={isActive ? primary : 'transparent'}
|
||||
borderRightWidth={index === arr.length - 1 ? 0 : 1}
|
||||
borderRightColor={border}
|
||||
pressStyle={{ backgroundColor: isActive ? primary : surface }}
|
||||
>
|
||||
<Text fontSize="$sm" fontWeight={isActive ? '700' : '500'} color={isActive ? 'white' : text}>
|
||||
<Text fontSize="$sm" fontWeight={isActive ? '700' : '600'}>
|
||||
{tab.label}
|
||||
</Text>
|
||||
</Tabs.Tab>
|
||||
|
||||
Reference in New Issue
Block a user