-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuno.config.ts
44 lines (42 loc) · 1.06 KB
/
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
import presetUno from '@unocss/preset-uno'
import presetWebFonts from '@unocss/preset-web-fonts'
import presetTypography from '@unocss/preset-typography'
import transformerDirectives from '@unocss/transformer-directives'
import { defineConfig } from 'unocss'
export default defineConfig({
theme: {
breakpoints: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
'3xl': '1920px',
// => @media (min-height: 800px) { ... }
},
},
presets: [
presetUno({
dark: 'class',
}),
presetWebFonts({
provider: 'google',
fonts: {
sans: {
name: 'Roboto',
weights: [100, 200, 300, 400, 500, 600, 700, 800, 900],
},
mono: {
name: 'Jetbrains Mono',
weights: [100, 200, 300, 400, 500, 600, 700, 800, 900],
},
poppins: {
name: 'Poppins',
weights: [100, 200, 300, 400, 500, 600, 700, 800, 900],
},
},
}),
presetTypography(),
],
transformers: [transformerDirectives()],
})