1 Star 0 Fork 0

信ღ/antdv-pro-template

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
unocss.config.ts 998 Bytes
一键复制 编辑 原始数据 按行查看 历史
信ღ 提交于 2023-10-20 15:17 . init
import {
defineConfig,
presetAttributify,
presetIcons,
presetTypography,
presetUno,
presetWebFonts,
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: [],
theme: {
...antdUnoTheme,
},
presets: [
presetUno(),
presetAttributify(),
presetChinese(),
presetEase(),
presetTypography(),
presetIcons({
scale: 1.2,
warn: true,
}),
presetWebFonts({
fonts: {
sans: 'DM Sans',
serif: 'DM Serif Display',
mono: 'DM Mono',
},
}),
],
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()],
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/MabyII/antdv-pro-template.git
git@gitee.com:MabyII/antdv-pro-template.git
MabyII
antdv-pro-template
antdv-pro-template
master

搜索帮助