mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-04-05 19:41:59 +08:00
20 lines
589 B
TypeScript
20 lines
589 B
TypeScript
import { defineConfig } from '@unocss/vite'; // https://github.com/unocss/unocss
|
|
import presetUno from '@unocss/preset-uno';
|
|
import presetAttributify from '@unocss/preset-attributify';
|
|
|
|
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',
|
|
},
|
|
},
|
|
});
|