-
Notifications
You must be signed in to change notification settings - Fork 0
/
uno.config.ts
48 lines (47 loc) · 920 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,
presetIcons,
presetUno,
presetWebFonts,
transformerAttributifyJsx,
transformerDirectives
} from "unocss";
export default defineConfig({
theme: {
fontSize: {
xs: "0.5rem",
sm: "0.707rem",
base: "1rem",
xl: "1.414rem",
"2xl": "1.999rem",
"3xl": "2.827rem",
"4xl": "3.998rem",
"5xl": "5.653rem",
"6xl": "7.993rem",
"7xl": "11.302rem"
}
},
presets: [
presetUno({
dark: "media"
}),
presetAttributify(),
presetWebFonts({
provider: "fontshare",
fonts: {
sans: "Switzer",
mono: {
provider: "google",
name: "JetBrains Mono"
},
brand: "Satoshi"
}
}),
presetIcons({
scale: 1.2,
cdn: "https://esm.sh/"
})
],
transformers: [transformerDirectives(), transformerAttributifyJsx()]
});