-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathuno.config.ts
More file actions
27 lines (26 loc) · 800 Bytes
/
Copy pathuno.config.ts
File metadata and controls
27 lines (26 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { defineConfig, presetIcons, presetUno, presetWebFonts, transformerDirectives, transformerVariantGroup } from "unocss";
import presetAnimations from "unocss-preset-animations";
import { presetUseful } from "unocss-preset-useful";
export default defineConfig({
presets: [
presetUno(),
presetIcons(),
presetWebFonts({
fonts: {
sans: [
{
name: "Inter",
weights: ["400", "500", "600", "700", "800", "900"],
italic: true,
},
],
},
}),
presetAnimations(),
presetUseful(),
],
transformers: [
transformerDirectives(),
transformerVariantGroup(),
],
});