Commit 0b906947 authored by sunguoshu's avatar sunguoshu

添加un配置文件

parent 1eaf9b7a
import {
defineConfig,
presetAttributify,
presetIcons,
presetTypography,
presetUno,
presetWebFonts,
transformerDirectives,
transformerVariantGroup
} from 'unocss'
export default defineConfig({
shortcuts: [],
presets: [
presetUno(),
presetAttributify(),
presetIcons({
scale: 1.2,
warn: true
}),
presetTypography(),
presetWebFonts({
fonts: {
sans: 'DM Sans',
serif: 'DM Serif Display',
mono: 'DM Mono'
}
})
],
transformers: [transformerDirectives(), transformerVariantGroup()]
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment