-
-
Notifications
You must be signed in to change notification settings - Fork 779
/
default.ts
81 lines (79 loc) · 1.95 KB
/
default.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
import type { Rule } from '@unocss/core'
import { transitions } from './transition'
import { borders } from './border'
import { bgColors, opacity, textColors } from './color'
import { flex } from './flex'
import { fonts, tabSizes, textIndents, textShadows, textStrokes } from './typography'
import { gaps } from './gap'
import { grids } from './grid'
import { overflows } from './layout'
import { alignments, boxSizing, floats, insets, justifies, orders, placements, positions, zIndexes } from './position'
import { rings } from './ring'
import { boxShadows } from './shadow'
import { aspectRatio, sizes } from './size'
import { margins, paddings } from './spacing'
import { appearances, breaks, contentVisibility, contents, cursors, displays, fontSmoothings, fontStyles, pointerEvents, resizes, textOverflows, textTransforms, userSelects, whitespaces } from './static'
import { transforms } from './transform'
import { cssProperty, cssVariables } from './variables'
import { questionMark } from './question-mark'
import { textAligns, verticalAligns } from './align'
import { appearance, outline, willChange } from './behaviors'
import { textDecorations } from './decoration'
import { svgUtilities } from './svg'
export const rules: Rule[] = [
cssVariables,
cssProperty,
paddings,
margins,
displays,
opacity,
bgColors,
svgUtilities,
borders,
contentVisibility,
contents,
fonts,
tabSizes,
textIndents,
textOverflows,
textDecorations,
textStrokes,
textShadows,
textTransforms,
textAligns,
textColors,
fontStyles,
fontSmoothings,
boxShadows,
rings,
flex,
grids,
gaps,
positions,
sizes,
aspectRatio,
cursors,
appearances,
pointerEvents,
resizes,
verticalAligns,
userSelects,
whitespaces,
breaks,
overflows,
outline,
appearance,
orders,
justifies,
alignments,
placements,
insets,
floats,
zIndexes,
boxSizing,
transitions,
transforms,
willChange,
// should be the last
questionMark,
].flat(1)