thehrz.net/unocss.config.ts

32 lines
657 B
TypeScript
Raw Normal View History

2023-08-17 21:22:19 +08:00
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",
// },
// }),
2023-08-30 22:37:06 +08:00
// presetWebFonts({
// fonts: {
// sans: "Inter:100,200,400,700,800",
// mono: "IBM Plex Mono",
// },
// }),
2023-08-17 21:22:19 +08:00
],
transformers: [transformerDirectives(), transformerVariantGroup()],
})