generated from SechinAndrey/Vue3-Vite-TS-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
uno.config.ts
38 lines (37 loc) · 806 Bytes
/
uno.config.ts
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
28
29
30
31
32
33
34
35
36
37
38
import { defineConfig, presetIcons } from "unocss";
import presetWebFonts from "@unocss/preset-web-fonts";
export default defineConfig({
presets: [
presetIcons({
scale: 1.4,
prefix: "i-",
extraProperties: {
display: "inline-block",
},
customizations: {
customize(props) {
props.width = "1.6rem";
props.height = "1.6rem";
return props;
},
},
warn: true,
}),
presetWebFonts({
provider: "google",
fonts: {
montserrat: [
{
name: "Montserrat",
weights: ["400", "500", "600", "700"],
italic: true,
},
{
name: "sans-serif",
provider: "none",
},
],
},
}),
],
});