-
Notifications
You must be signed in to change notification settings - Fork 0
/
uno.config.ts
39 lines (38 loc) · 950 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
// uno.config.ts
import {
defineConfig,
presetAttributify,
presetIcons,
presetTypography,
presetUno,
transformerDirectives,
transformerVariantGroup
} from 'unocss'
export default defineConfig({
shortcuts: [
['btn', ''],
['b-common', 'b-2px b-solid b-#060606'],
['flex-common', 'flex items-center justify-between'],
['flex-center', 'flex items-center justify-center'],
[
'position-center',
'absolute left-1/2 top-1/2 text-white -translate-x-1/2 -translate-y-1/2'
]
],
theme: {
breakpoints: {
xs: '768px',
sm: '768px',
md: '992px',
lg: '1200px',
xl: '1920px'
}
},
presets: [
presetUno(),
presetAttributify(),
presetIcons(),
presetTypography()
],
transformers: [transformerDirectives(), transformerVariantGroup()]
})