vue-library-starter/unocss.config.ts
2023-08-23 12:10:29 +08:00

15 lines
488 B
TypeScript

import { defineConfig, presetUno, presetAttributify } from 'unocss'
export default defineConfig({
presets: [presetUno(), presetAttributify()],
shortcuts: [
{
'flex-center': 'flex justify-center items-center',
'flex-between': 'flex justify-between items-center',
'text-primary': 'text-neutral-900 dark:text-neutral-50',
'text-neon':
'text-transparent bg-clip-text bg-gradient-to-r from-emerald-500 to-emerald-700 dark:to-emerald-300 '
}
]
})