-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuno.config.ts
executable file
·28 lines (27 loc) · 945 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
import { defineConfig } from 'unocss';
import PresetIcons from '@unocss/preset-icons';
export default defineConfig({
rules: [
['flex', { display: 'flex' }],
['flex-row', { 'flex-direction': 'row' }],
['flex-col', { 'flex-direction': 'column' }],
['items-start', { 'align-items': 'flex-start' }],
['items-end', { 'align-items': 'flex-end' }],
['items-center', { 'align-items': 'center' }],
['items-stretch', { 'align-items': 'stretch' }],
['items-baseline', { 'align-items': 'baseline' }],
['justify-start', { 'justify-content': 'flex-start' }],
['justify-end', { 'justify-content': 'flex-end' }],
['justify-center', { 'justify-content': 'center' }],
['justify-between', { 'justify-content': 'space-between' }],
],
presets: [
PresetIcons({
extraProperties: {
display: 'inline-block',
'vertical-align': 'middle',
cursor: 'pointer',
},
}),
],
});