Files
app-template/packages/config/src/tamagui.config.ts

17 lines
400 B
TypeScript

import { defaultConfig } from '@tamagui/config/v4'
import { createTamagui } from 'tamagui'
import { bodyFont, headingFont } from './fonts'
import { animations } from './animations'
export const config = createTamagui({
...defaultConfig,
animations,
fonts: {
body: bodyFont,
heading: headingFont,
},
settings: {
...defaultConfig.settings,
onlyAllowShorthands: false,
},
})