1 Star 0 Fork 0

死牛胖子/GetanAdminVue

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
uno.config.ts 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
死牛胖子 提交于 2024-05-09 16:49 . 项目初始化
import {
defineConfig,
presetUno,
presetIcons,
presetAttributify,
presetTypography,
presetWebFonts,
transformerDirectives,
transformerVariantGroup
} from "unocss"
import presetEase from "unocss-preset-ease"
// import unoTheme from "./src/assets/unocss/uno-theme.json"
export default defineConfig({
// theme: {
// ...unoTheme
// },
presets: [
presetUno(),
presetAttributify(),
presetTypography(),
presetEase(),
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()]
})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/gongm_24/getan-admin-vue.git
git@gitee.com:gongm_24/getan-admin-vue.git
gongm_24
getan-admin-vue
GetanAdminVue
master

搜索帮助