vue-library-starter/unocss.config.ts

15 lines
488 B
TypeScript
Raw Permalink Normal View History

2023-08-23 12:10:29 +08:00
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 '
}
]
})