= createTokens({ size, space: { ...size, '-1': -5, '-2': -10 }, radius: { 0: 0, 1: 3 }, zIndex: { 0: 0, 1: 100, 2: 200 }, color: { white: '#fff', black: '#000' }, }) export default createTamagui({ fonts: { heading: interFont, body: interFont, }, tokens, themes: { light: { bg: '#f2f2f2', color: tokens.color.black }, dark: { bg: '#111', color: tokens.color.white }, }, media: { sm: { maxWidth: 860 }, gtSm: { minWidth: 860 + 1 }, }, shorthands: { px: 'paddingHorizontal', f: 'flex', }, }) ざっくり知る tamagui v1 引用: https://tamagui.dev/docs/intro/why-a-compiler