-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathuno.config.ts
28 lines (27 loc) · 1.16 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
import { defineConfig, presetAttributify, presetUno } from 'unocss'
import autoUno from './src'
export default defineConfig({
presets: [presetAttributify({}), presetUno(),
autoUno([
"box-shadow:none",
])],
variants: [],
rules: [
['abs', { position: 'absolute' }],
['aic', { 'align-items': 'center' }],
['jcc', { 'justify-content': 'center' }],
['aifs', { 'align-items': 'flex-start' }],
['aife', { 'align-items': 'flex-end' }],
['jcfs', { 'justify-content': 'flex-start' }],
['jcfe', { 'justify-content': 'flex-end' }],
['jcsb', { 'justify-content': 'space-between' }],
['jcsa', { 'justify-content': 'space-around' }],
['fdc', { 'flex-direction': 'column' }],
['fdr', { 'flex-direction': 'row' }],
['center', { display: 'flex', 'justify-content': 'center', 'align-items': 'center', width: '100%' }],
['start', { display: 'flex', 'justify-content': 'flex-start', 'align-items': 'flex-start' }],
['end', { display: 'flex', 'justify-content': 'flex-end', 'align-items': 'flex-end' }],
['...', { overflow: 'hidden', 'text-overflow': 'ellipsis', 'white-space': 'nowrap' }],
['fwb', { 'font-weight': 'bold' }]
]
})