thehrz.net/unocss.config.ts
2023-08-30 22:37:06 +08:00

32 lines
657 B
TypeScript

import {
defineConfig,
presetAttributify,
presetTypography,
presetUno,
presetWebFonts,
transformerDirectives,
transformerVariantGroup,
} from "unocss"
export default defineConfig({
presets: [
presetUno(),
presetAttributify(),
presetTypography(),
// presetWebFonts({
// fonts: {
// sans: "DM Sans",
// serif: "DM Serif Display",
// mono: "DM Mono",
// },
// }),
// presetWebFonts({
// fonts: {
// sans: "Inter:100,200,400,700,800",
// mono: "IBM Plex Mono",
// },
// }),
],
transformers: [transformerDirectives(), transformerVariantGroup()],
})