mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-04-04 20:12:51 +08:00
15 lines
443 B
TypeScript
15 lines
443 B
TypeScript
import { defineConfig, presetAttributify, presetUno } 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',
|
|
},
|
|
})
|