-
Notifications
You must be signed in to change notification settings - Fork 2
/
uno.config.ts
48 lines (47 loc) · 907 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
39
40
41
42
43
44
45
46
47
48
import {
defineConfig,
presetAttributify,
presetTagify,
presetTypography,
presetUno,
presetWebFonts,
transformerDirectives,
transformerVariantGroup
} from "unocss";
export default defineConfig({
shortcuts: [
["crate", "mx-auto max-w-7xl px-4 lg:px-8 sm:px-6"],
["flex-center", "flex justify-center items-center"],
["absolute-center-h", "left-50% transform -translate-x-50%"],
["absolute-center-v", "top-50% transform -translate-y-50%"]
],
presets: [
presetUno(),
presetTagify(),
presetAttributify(),
presetTypography(),
presetWebFonts({
fonts: {
heading: {
name: "Montserrat",
weights: ["200", "400", "700"]
},
text: "Inter"
}
})
],
theme: {
breakpoints: {
sm: "576px",
md: "768px",
lg: "992px",
xl: "1200px",
xxl: "1400px",
uw: "2000px"
}
},
transformers: [
transformerDirectives(),
transformerVariantGroup()
]
});