1 Star 1 Fork 1

hboot/rsup-web

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
uno.config.js 746 Bytes
一键复制 编辑 原始数据 按行查看 历史
import {
defineConfig,
presetAttributify,
presetIcons,
presetTypography,
presetUno,
presetWebFonts,
transformerDirectives,
transformerVariantGroup,
} from "unocss";
import presetRemToPx from "@unocss/preset-rem-to-px";
export default defineConfig({
shortcuts: [
// ...
],
theme: {
colors: {
// ...
},
},
rules: [
[
"animate-rotate-360",
{
"animation-name": "rotate-360",
},
],
],
presets: [
presetUno(),
presetAttributify(),
presetIcons(),
presetTypography(),
presetWebFonts({
fonts: {
// ...
},
}),
presetRemToPx({ baseFontSize: 4 }),
],
transformers: [transformerDirectives(), transformerVariantGroup()],
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/hboot/rsup-web.git
git@gitee.com:hboot/rsup-web.git
hboot
rsup-web
rsup-web
master

搜索帮助