FEATURE: 网站的基本前端服务 #2
@ -4,7 +4,7 @@ import {
|
||||
presetIcons,
|
||||
presetTypography,
|
||||
presetUno,
|
||||
presetWebFonts,
|
||||
// presetWebFonts,
|
||||
transformerDirectives,
|
||||
transformerVariantGroup,
|
||||
} from 'unocss'
|
||||
@ -21,13 +21,14 @@ export default defineConfig({
|
||||
scale: 1.2,
|
||||
}),
|
||||
presetTypography(),
|
||||
presetWebFonts({
|
||||
fonts: {
|
||||
sans: 'DM Sans',
|
||||
serif: 'DM Serif Display',
|
||||
mono: 'DM Mono',
|
||||
},
|
||||
}),
|
||||
// presetWebFonts({
|
||||
// provider: 'none',
|
||||
// fonts: {
|
||||
// sans: 'DM Sans',
|
||||
// serif: 'DM Serif Display',
|
||||
// mono: 'DM Mono',
|
||||
// },
|
||||
// }),
|
||||
],
|
||||
transformers: [
|
||||
transformerDirectives(),
|
||||
|
||||
Reference in New Issue
Block a user