File tree 4 files changed +60
-22
lines changed
4 files changed +60
-22
lines changed Original file line number Diff line number Diff line change @@ -193,26 +193,40 @@ console.log(css.atoms);
193
193
194
194
Output:
195
195
196
- { d: 'display',
197
- mar: 'margin',
198
- pad: 'padding',
199
- bd: 'border',
200
- col: 'color',
201
- op: 'opacity',
202
- bg: 'background',
203
- fz: 'font-size',
204
- fs: 'font-style',
205
- lh: 'line-height',
206
- bxz: 'box-sizing',
207
- cur: 'cursor',
208
- ov: 'overflow',
209
- pos: 'position',
210
- ls: 'list-style',
211
- ta: 'text-align',
212
- td: 'text-decoration',
213
- fl: 'float',
214
- w: 'width',
215
- h: 'height' }
196
+ {
197
+ d: 'display',
198
+ mar: 'margin',
199
+ pad: 'padding',
200
+ bd: 'border',
201
+ bdt: 'border-top',
202
+ bdr: 'border-right',
203
+ bdb: 'border-bottom',
204
+ bdl: 'border-left',
205
+ bdrad: 'border-radius',
206
+ col: 'color',
207
+ op: 'opacity',
208
+ bg: 'background',
209
+ bgc: 'background-color',
210
+ fz: 'font-size',
211
+ fs: 'font-style',
212
+ fw: 'font-weight',
213
+ ff: 'font-family',
214
+ lh: 'line-height',
215
+ bxz: 'box-sizing',
216
+ w_bxz: '-webkit-box-sizing',
217
+ m_bxz: '-moz-box-sizing',
218
+ cur: 'cursor',
219
+ ov: 'overflow',
220
+ pos: 'position',
221
+ ls: 'list-style',
222
+ ta: 'text-align',
223
+ td: 'text-decoration',
224
+ fl: 'float',
225
+ w: 'width',
226
+ h: 'height',
227
+ trs: 'transition',
228
+ out: 'outline',
229
+ }
216
230
217
231
218
232
## Media Queries
Original file line number Diff line number Diff line change @@ -18,13 +18,23 @@ exports.atoms = {
18
18
mar : 'margin' ,
19
19
pad : 'padding' ,
20
20
bd : 'border' ,
21
+ bdt : 'border-top' ,
22
+ bdr : 'border-right' ,
23
+ bdb : 'border-bottom' ,
24
+ bdl : 'border-left' ,
25
+ bdrad : 'border-radius' ,
21
26
col : 'color' ,
22
27
op : 'opacity' ,
23
28
bg : 'background' ,
29
+ bgc : 'background-color' ,
24
30
fz : 'font-size' ,
25
31
fs : 'font-style' ,
32
+ fw : 'font-weight' ,
33
+ ff : 'font-family' ,
26
34
lh : 'line-height' ,
27
35
bxz : 'box-sizing' ,
36
+ w_bxz : '-webkit-box-sizing' ,
37
+ m_bxz : '-moz-box-sizing' ,
28
38
cur : 'cursor' ,
29
39
ov : 'overflow' ,
30
40
pos : 'position' ,
@@ -33,7 +43,9 @@ exports.atoms = {
33
43
td : 'text-decoration' ,
34
44
fl : 'float' ,
35
45
w : 'width' ,
36
- h : 'height'
46
+ h : 'height' ,
47
+ trs : 'transition' ,
48
+ out : 'outline'
37
49
} ;
38
50
function toBlocks ( pojo ) {
39
51
var blocks = [ ] ;
Original file line number Diff line number Diff line change @@ -12,13 +12,23 @@ export var atoms = {
12
12
mar : 'margin' ,
13
13
pad : 'padding' ,
14
14
bd : 'border' ,
15
+ bdt : 'border-top' ,
16
+ bdr : 'border-right' ,
17
+ bdb : 'border-bottom' ,
18
+ bdl : 'border-left' ,
19
+ bdrad : 'border-radius' ,
15
20
col : 'color' ,
16
21
op : 'opacity' ,
17
22
bg : 'background' ,
23
+ bgc : 'background-color' ,
18
24
fz : 'font-size' ,
19
25
fs : 'font-style' ,
26
+ fw : 'font-weight' ,
27
+ ff : 'font-family' ,
20
28
lh : 'line-height' ,
21
29
bxz : 'box-sizing' ,
30
+ w_bxz : '-webkit-box-sizing' ,
31
+ m_bxz : '-moz-box-sizing' ,
22
32
cur : 'cursor' ,
23
33
ov : 'overflow' ,
24
34
pos : 'position' ,
@@ -28,6 +38,8 @@ export var atoms = {
28
38
fl : 'float' ,
29
39
w : 'width' ,
30
40
h : 'height' ,
41
+ trs : 'transition' ,
42
+ out : 'outline' ,
31
43
} ;
32
44
33
45
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " css-light" ,
3
3
"description" : " Write CSS in JavaScript" ,
4
- "version" : " 1.0.8 " ,
4
+ "version" : " 1.0.9 " ,
5
5
"keywords" : [
6
6
" css" ,
7
7
" javascript" ,
You can’t perform that action at this time.
0 commit comments