71 Star 978 Fork 1.6K

疯狂的狮子Li/plus-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
uno.config.ts 752 Bytes
一键复制 编辑 原始数据 按行查看 历史
LiuHao 提交于 2023-12-14 08:17 . !69修复升级依赖带来的类型问题
import {
defineConfig,
presetAttributify,
presetIcons,
presetTypography,
presetUno,
presetWebFonts,
transformerDirectives,
transformerVariantGroup
} from 'unocss';
export default defineConfig({
shortcuts: {
'panel-title':
'pb-[5px] font-sans leading-[1.1] font-medium text-base text-[#6379bb] border-b border-b-solid border-[var(--el-border-color-light)] mb-5 mt-0'
},
theme: {
colors: {
primary: 'var(--el-color-primary)',
primary_dark: 'var(--el-color-primary-light-5)'
}
},
presets: [
presetUno(),
presetAttributify(),
presetIcons(),
presetTypography(),
presetWebFonts({
fonts: {}
})
],
transformers: [transformerDirectives(), transformerVariantGroup()]
});
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/JavaLionLi/plus-ui.git
git@gitee.com:JavaLionLi/plus-ui.git
JavaLionLi
plus-ui
plus-ui
ts

搜索帮助

Cb406eda 1850385 E526c682 1850385