-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefaultConfig.js
158 lines (141 loc) · 3.88 KB
/
defaultConfig.js
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
module.exports = {
breakpoints: {
sm: 576,
md: 768,
lg: 992,
xl: 1200
},
values: {
'sb': 'space-between',
'sa': 'space-around',
'se': 'space-evenly',
'grey-lighter': '#f1f5f8',
},
subs: {
mx: ['ml', 'mr'],
my: ['mt', 'mb'],
px: ['pl', 'pr'],
py: ['pt', 'pb']
},
rules: {
w: 'width',
h: 'height',
maw: 'max-width',
mah: 'max-height',
miw: 'min-width',
mih: 'min-height',
po: 'position',
fl: 'float',
cl: 'clear',
d: 'display',
t: 'top',
b: 'bottom',
l: 'left',
r: 'right',
o: 'opacity',
cus: 'cursor',
trans: 'transform',
apr: 'appearance',
z: 'z-index',
ovf: 'overflow',
ovfx: 'overflow-x',
ovfy: 'overflow-y',
ovfw: 'overflow-wrap',
p: 'padding',
pl: 'padding-left',
pr: 'padding-right',
pt: 'padding-top',
pb: 'padding-bottom',
m: 'margin',
ml: 'margin-left',
mr: 'margin-right',
mt: 'margin-top',
mb: 'margin-bottom',
co: 'color',
fo: 'font',
fost: 'font-style',
fov: 'font-variant',
fow: 'font-weight',
fosz: 'font-size',
fof: 'font-family ',
lh: 'line-height',
lb: 'line-break',
txta: 'text-align',
txti: 'text-indent',
txtj: 'text-justify',
txtor: 'text-orientation',
txtov: 'text-overflow',
txtr: 'text-rendering',
txtt: 'text-transform',
txte: 'text-emphasis',
txtec: 'text-emphasis-color',
txtep: 'text-emphasis-position',
txtes: 'text-emphasis-style',
txtd: 'text-decoration',
txtdc: 'text-decoration-color',
txtdl: 'text-decoration-line',
txtdw: 'text-decoration-style',
jc: 'justify-content',
ac: 'align-content',
ji: 'justify-items',
js: 'justify-self',
pi: 'place-items',
pc: 'place-content',
g: 'gap',
cg: 'column-gap',
gg: 'grid-gap',
rg: 'row-gap',
ord: 'order',
flx: 'flex',
flxb: 'flex-basis',
flxd: 'flex-direction',
flxf: 'flex-flow',
flxg: 'flex-grow',
flxd: 'flex-shrink',
flxw: 'flex-wrap',
bg: 'background',
bgcl: 'background-clip',
bgco: 'background-color',
bgi: 'background-image',
bgo: 'background-origin',
bgp: 'background-position',
bgpx: 'background-position-x',
bgpy: 'background-position-y',
bgr: 'background-repeat',
bgs: 'background-size',
out: 'outline',
outc: 'outline-color',
outs: 'outline-style',
outw: 'outline-width',
outo: 'outline-offset',
bo: 'border',
bos: 'border-style',
bow: 'border-width',
boc: 'border-color',
bora: 'border-radius',
bob: 'border-bottom',
bobs: 'border-bottom-style',
bobw: 'border-bottom-width',
bobc: 'border-bottom-color',
boblr: 'border-bottom-left-radius',
bobrr: 'border-bottom-right-radius',
bot: 'border-top',
bots: 'border-top-style',
botw: 'border-top-width',
botc: 'border-top-color',
botlr: 'border-top-left-radius',
botrr: 'border-top-right-radius',
bor: 'border-right',
bors: 'border-right-style',
borw: 'border-right-width',
borc: 'border-right-color',
borlr: 'border-right-left-radius',
borrr: 'border-right-right-radius',
bol: 'border-left',
bols: 'border-left-style',
bolw: 'border-left-width',
bolc: 'border-left-color',
bollr: 'border-left-left-radius',
bolrr: 'border-left-right-radius',
}
}