init: 初始化模板项目
This commit is contained in:
17
packages/config/src/tamagui.config.ts
Normal file
17
packages/config/src/tamagui.config.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user