1 Star 0 Fork 165

18844063909/lowflow-design

forked from 蔡晓峰/lowflow-design 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
unocss.config.ts 795 Bytes
一键复制 编辑 原始数据 按行查看 历史
蔡晓峰 提交于 2024-05-07 22:35 . 重构版
import {
defineConfig,
presetAttributify,
presetIcons,
presetUno,
transformerDirectives,
transformerVariantGroup,
} from 'unocss'
export default defineConfig({
presets: [
presetUno({ dark: 'class' }),
presetAttributify(),
presetIcons({
scale: 1.2,
warn: true,
}),
],
// 自定义组合样式
shortcuts: {
bgc: 'flex red',
'flex-col-center': 'flex-center flex-col',
'flex-col': 'flex flex-col',
'flex-items-center': 'flex items-center',
'flex-center': 'flex-items-center justify-center',
'flex-between': 'flex-items-center justify-between',
'flex-space': 'flex-items-center flex-justify-between',
'wh-full': 'w-full h-full',
},
transformers: [
transformerDirectives(),
transformerVariantGroup(),
]
})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/a18844063909/lowflow-design.git
[email protected]:a18844063909/lowflow-design.git
a18844063909
lowflow-design
lowflow-design
main

搜索帮助