import { styled, View, Text, YStack } from 'tamagui' // styled() with boxShadow containing embedded $token // if web imports are picked up on native, this resolves to var(--shadowColor) // which crashes with: [ReanimatedError: Invalid color "var(--shadowColor)"] const StyledShadowBox = styled(View, { width: 100, height: 100, backgroundColor: '$color5', borderRadius: '$4', boxShadow: '0px 2px 8px $shadowColor', }) export function BoxShadowTokenDemo() { return ( BoxShadow Token Test {/* styled() definition - breaks if web imports leak to native */} {/* inline prop - should always work */} OK ) }