upgrade to tamagui v2 and guest pwa overhaul
This commit is contained in:
@@ -26,7 +26,7 @@ export function MobileCard({
|
||||
shadowRadius={16}
|
||||
shadowOffset={{ width: 0, height: 10 }}
|
||||
padding="$3.5"
|
||||
space="$2"
|
||||
gap="$2"
|
||||
style={{
|
||||
...style,
|
||||
}}
|
||||
@@ -138,7 +138,7 @@ export function CTAButton({
|
||||
backgroundColor={backgroundColor}
|
||||
borderWidth={isPrimary || isDanger ? 0 : 2}
|
||||
borderColor={borderColor}
|
||||
space="$2"
|
||||
gap="$2"
|
||||
style={primaryStyle}
|
||||
>
|
||||
{iconLeft}
|
||||
@@ -169,7 +169,7 @@ export function KpiTile({
|
||||
const iconColor = color || primary;
|
||||
|
||||
return (
|
||||
<MobileCard borderRadius={14} padding="$2.5" width="31%" minWidth={100} space="$1.5">
|
||||
<MobileCard borderRadius={14} padding="$2.5" width="31%" minWidth={100} gap="$1.5">
|
||||
<XStack
|
||||
width={28}
|
||||
height={28}
|
||||
@@ -181,7 +181,7 @@ export function KpiTile({
|
||||
<IconCmp size={14} color={iconColor} />
|
||||
</XStack>
|
||||
|
||||
<YStack space="$0">
|
||||
<YStack gap="$0">
|
||||
<Text fontSize="$xl" fontWeight="900" color={textStrong} letterSpacing={-0.5} lineHeight="$xl">
|
||||
{value}
|
||||
</Text>
|
||||
@@ -237,7 +237,7 @@ export function KpiStrip({
|
||||
minWidth={150}
|
||||
maxWidth={220}
|
||||
>
|
||||
<XStack alignItems="center" space="$2">
|
||||
<XStack alignItems="center" gap="$2">
|
||||
<Text
|
||||
fontSize={32}
|
||||
fontWeight="900"
|
||||
@@ -248,7 +248,7 @@ export function KpiStrip({
|
||||
{item.value}
|
||||
</Text>
|
||||
<Separator vertical backgroundColor={separatorColor} height={32} marginHorizontal="$1.5" />
|
||||
<YStack alignItems="center" space="$0.5" paddingLeft="$0.5">
|
||||
<YStack alignItems="center" gap="$0.5" paddingLeft="$0.5">
|
||||
<XStack
|
||||
width={28}
|
||||
height={28}
|
||||
@@ -339,7 +339,7 @@ export function ActionTile({
|
||||
style={tileStyle}
|
||||
borderRadius={isCluster ? 14 : 16}
|
||||
padding="$3"
|
||||
space="$2.5"
|
||||
gap="$2.5"
|
||||
backgroundColor={glassSurface ?? backgroundColor}
|
||||
borderWidth={2}
|
||||
borderColor={borderColor}
|
||||
@@ -405,7 +405,7 @@ export function FloatingActionButton({
|
||||
borderRadius={999}
|
||||
alignItems="center"
|
||||
justifyContent="center"
|
||||
space="$2"
|
||||
gap="$2"
|
||||
backgroundColor={primary}
|
||||
shadowColor={shadow}
|
||||
shadowOpacity={0.2}
|
||||
|
||||
Reference in New Issue
Block a user