nova-admin/unocss.config.ts
2023-06-15 23:29:13 +08:00

18 lines
505 B
TypeScript

import { presetUno,presetAttributify,defineConfig } from 'unocss' // https://github.com/unocss/unocss
export default defineConfig({
presets: [presetUno({ dark: 'class' }), presetAttributify()],
shortcuts: {
'wh-full': 'w-full h-full',
'flex-center': 'flex justify-center items-center',
'flex-col-center': 'flex-center flex-col',
'flex-x-center': 'flex justify-center',
'flex-y-center': 'flex items-center',
},
theme: {
colors: {
primary: '#165DFFFF',
},
},
})