-
Notifications
You must be signed in to change notification settings - Fork 0
/
uno.config.ts
40 lines (39 loc) · 904 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
// uno.config.ts
import {
defineConfig,
presetIcons,
presetTypography,
presetUno,
presetWebFonts,
transformerDirectives
} from 'unocss'
import { presetForms } from '@julr/unocss-preset-forms'
export default defineConfig({
presets: [
presetIcons({
extraProperties: {
display: 'inline-block',
'vertical-align': 'middle'
}
}),
presetForms(),
presetUno(),
presetTypography(),
presetWebFonts({
// provider: 'google',
// fonts: {
// sans: 'Open Sans: 100,200,300,400,500,600,700'
// }
})
],
theme: {
screens: {
xs: '320px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px'
}
},
transformers: [transformerDirectives()]
})