feat: ship unocss fonts

This commit is contained in:
Anthony Fu committed 2024-11-29 14:17:58 +08:00
1 parent ac2d73a972
commit c075b454d7
5 files changed
+32 -22

No files matched your search

+2
View File
@@ -1,3 +1,4 @@
import { createLocalFontProcessor } from '@unocss/preset-web-fonts/local'
import {
defineConfig,
presetAttributify,
@@ -27,6 +28,7 @@ export default defineConfig({
serif: 'DM Serif Display',
mono: 'DM Mono',
},
processors: createLocalFontProcessor(),
}),
],
transformers: [