ocer-cc-old/uno.config.js
2024-02-07 12:48:31 +08:00

25 lines
718 B
JavaScript

// uno.config.ts
import { defineConfig, presetAttributify, presetIcons, presetMini, presetTypography, presetUno } from 'unocss'
export default defineConfig({
presets: [
// mini
presetMini(),
// 默认预设
presetUno(),
// 图标
presetIcons(),
// 属性化
presetAttributify(),
// 排版
presetTypography(),
],
shortcuts: [
['wh-full', 'w-full h-full'],
['f-b-c', 'flex justify-between items-center'],
['f-c-c', 'flex justify-center items-center'],
['flex-col', 'flex flex-col'],
['icon-btn', 'text-5 inline-block cursor-pointer select-none opacity-75 transition duration-200 ease-in-out hover:opacity-100 hover:text-primary !outline-none'],
],
})