File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11'use strict' ;
22
3+ var mr = 'margin' ,
4+ mrt = 'margin-top' ,
5+ mrr = 'margin-right' ,
6+ mrb = 'margin-bottom' ,
7+ mrl = 'margin-left'
8+ pd = 'padding' ,
9+ pdt = 'padding-top' ,
10+ pdr = 'padding-right' ,
11+ pdb = 'padding-bottom' ,
12+ pdl = 'padding-left'
13+ ;
14+
315var atoms = exports . atoms = {
4- // Layout
5- d : 'display' ,
6- bxz : 'box-sizing' ,
7- ov : 'overflow' ,
16+ // Positioning
817 pos : 'position' ,
18+ t : 'top' ,
19+ r : 'right' ,
20+ b : 'bottom' ,
21+ l : 'left' ,
22+ z : 'z-index' ,
23+
24+ // Layout (box model)
25+ d : 'display' ,
26+ vis : 'visibility' ,
927 fl : 'float' ,
1028 w : 'width' ,
1129 h : 'height' ,
1230 minW : 'min-width' ,
1331 maxW : 'max-width' ,
1432 minH : 'min-height' ,
1533 maxH : 'max-height' ,
16- vis : 'visibility' ,
17- z : 'z-index' ,
34+ ov : 'overflow' ,
35+ ovx : 'overflow-x' ,
36+ ovy : 'overflow-y' ,
37+ bxz : 'box-sizing' ,
38+ cl : 'clip' ,
39+ clp : 'clip-path' ,
40+ clr : 'clear' ,
41+
42+ // Flexbox
43+ fl : 'flex' ,
44+ fld : 'flex-direction' ,
45+ flg : 'flex-grow' ,
46+ fls : 'flex-shrink' ,
47+ flb : 'flex-basis' ,
48+ flw : 'flex-wrap' ,
49+ jc : 'justify-content' ,
50+ ai : 'align-items' ,
51+ ac : 'align-content' ,
52+ as : 'align-self' ,
1853
1954 // Margins
20- mar : 'margin' ,
21- mart : 'margin-top' ,
22- marr : 'margin-right' ,
23- marb : 'margin-bottom' ,
24- marl : 'margin-left' ,
55+ mr,
56+ mrt,
57+ mrr,
58+ mrb,
59+ mrl,
60+ mar : mr ,
61+ mart : mart ,
62+ marr : marr ,
63+ marb : marb ,
64+ marl : marl ,
2565
2666 // Paddings
27- pad : 'padding' ,
28- padt : 'padding-top' ,
29- padr : 'padding-right' ,
30- padb : 'padding-bottom' ,
31- padl : 'padding-left' ,
67+ pd,
68+ pdt,
69+ pdr,
70+ pdb,
71+ pdl,
72+ pad : pd ,
73+ padt : pdt ,
74+ padr : pdr ,
75+ padb : pdb ,
76+ padl : pdl ,
3277
3378 // Borders
3479 bd : 'border' ,
@@ -44,6 +89,13 @@ var atoms = exports.atoms = {
4489 op : 'opacity' ,
4590 bg : 'background' ,
4691 bgc : 'background-color' ,
92+ bgi : 'background-image' ,
93+ bgr : 'background-repeat' ,
94+ bga : 'background-attachment' ,
95+ bgp : 'background-position' ,
96+ bgs : 'background-size' ,
97+ bgo : 'background-origin' ,
98+ bgcl : 'background-clip' ,
4799
48100 // Text
49101 fz : 'font-size' ,
@@ -53,12 +105,16 @@ var atoms = exports.atoms = {
53105 lh : 'line-height' ,
54106 ta : 'text-align' ,
55107 td : 'text-decoration' ,
108+ tt : 'text-transform' ,
56109 ww : 'word-wrap' ,
57110
58111 // Pointer
59112 cur : 'cursor' ,
113+ pe : 'pointer-events' ,
114+ us : 'user-select' ,
60115
61116 // Animations
117+ an : 'animation' ,
62118 trs : 'transition' ,
63119 tr : 'transform' ,
64120
You can’t perform that action at this time.
0 commit comments