1 Star 0 Fork 129

Hush/antdv-pro

forked from antdv-pro/antdv-pro 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
unocss.config.ts 875 Bytes
一键复制 编辑 原始数据 按行查看 历史
yanyu 提交于 2024-01-07 21:01 . chore: remove icon
import {
defineConfig,
presetAttributify,
presetIcons,
presetTypography,
presetUno,
transformerDirectives,
transformerVariantGroup,
} from 'unocss'
import presetChinese from 'unocss-preset-chinese'
import presetEase from 'unocss-preset-ease'
import antdUnoTheme from './themes/antd-uno-theme.json'
export default defineConfig({
safelist: [
'py-16px',
'pb-16px',
],
theme: {
...antdUnoTheme,
},
presets: [
presetUno(),
presetAttributify(),
presetChinese(),
presetEase(),
presetTypography(),
presetIcons({
scale: 1.2,
warn: true,
}),
],
shortcuts: [
['flex-center', 'flex items-center justify-center'],
['flex-between', 'flex items-center justify-between'],
['flex-end', 'flex items-end justify-between'],
],
transformers: [transformerDirectives(), transformerVariantGroup()],
})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/hushes/antdv-pro.git
git@gitee.com:hushes/antdv-pro.git
hushes
antdv-pro
antdv-pro
main

搜索帮助