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'
3+ var pos = 'position' ,
4+ t = 'top' ,
5+ r = 'right' ,
6+ b = 'bottom' ,
7+ l = 'left' ,
8+ w = 'width' ,
9+ h = 'height' ,
10+ ov = 'overflow' ,
11+ ovx = ov + '-x' ,
12+ ovy = ov + '-y' ,
13+ mr = 'margin' ,
14+ mrt = mr + '-' + t ,
15+ mrr = mr + '-' + r ,
16+ mrb = mr + '-' + b ,
17+ mrl = mr + '-' + l ,
818 pd = 'padding' ,
9- pdt = 'padding-top' ,
10- pdr = 'padding-right' ,
11- pdb = 'padding-bottom' ,
12- pdl = 'padding-left'
19+ pdt = pd + '-' + t ,
20+ pdr = pd + '-' + r ,
21+ pdb = pd + '-' + b ,
22+ pdl = pd + '-' + l ,
23+ bd = 'border' ,
24+ bdt = bd + '-' + t ,
25+ bdr = bd + '-' + r ,
26+ bdb = bd + '-' + b ,
27+ bdl = bd + '-' + l ,
28+ bdrad = bd + '-radius' ,
29+ bg = 'background' ,
30+ bgc = bg + '-color' ,
31+ bgi = bg + '-image' ,
32+ bgr = bg + '-repeat' ,
33+ bga = bg + '-attachment' ,
34+ bgp = bg + '-position' ,
35+ bgs = bg + '-size' ,
36+ bgo = bg + '-origin' ,
37+ bgcl = bg + '-clip' ,
38+ f = 'font' ,
39+ fz = f + '-size' ,
40+ fs = f + '-style' ,
41+ fw = f + '-weight' ,
42+ ff = f + '-family'
43+ st = 'stroke' ,
44+ stw = st + '-width' ,
45+ stl = st + '-linecap'
1346 ;
1447
1548var atoms = exports . atoms = {
1649 // Positioning
17- pos : 'position' ,
18- t : 'top' ,
19- r : 'right' ,
20- b : 'bottom' ,
21- l : 'left' ,
50+ pos,
51+ t,
52+ r,
53+ b,
54+ l,
2255 z : 'z-index' ,
2356
2457 // Layout (box model)
2558 d : 'display' ,
2659 vis : 'visibility' ,
2760 fl : 'float' ,
28- w : 'width' ,
29- h : 'height' ,
30- minW : 'min-width' ,
31- maxW : 'max-width' ,
32- minH : 'min-height' ,
33- maxH : 'max-height' ,
34- ov : 'overflow' ,
35- ovx : 'overflow-x' ,
36- ovy : 'overflow-y' ,
61+ w,
62+ h,
63+ minW : 'min-' + w ,
64+ maxW : 'max-' + w ,
65+ minH : 'min-' + h ,
66+ maxH : 'max-' + h ,
67+ ov,
68+ ovx,
69+ ovy,
3770 bxz : 'box-sizing' ,
3871 cl : 'clip' ,
3972 clp : 'clip-path' ,
4073 clr : 'clear' ,
74+ tbl : 'table-layout' ,
4175
4276 // Flexbox
4377 fl : 'flex' ,
@@ -76,37 +110,46 @@ var atoms = exports.atoms = {
76110 padl : pdl ,
77111
78112 // Borders
79- bd : 'border' ,
80- bdt : 'border-top' ,
81- bdr : 'border-right' ,
82- bdb : 'border-bottom' ,
83- bdl : 'border-left' ,
84- bdrad : 'border-radius' ,
113+ bd,
114+ bdt,
115+ bdr,
116+ bdb,
117+ bdl,
118+ bdrad,
85119 out : 'outline' ,
120+ bxsh : 'box-shadow' ,
86121
87122 // Colors
88123 col : 'color' ,
89124 op : 'opacity' ,
90- bg : 'background' ,
91- 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' ,
125+ bg,
126+ bgc,
127+ bgi,
128+ bgr,
129+ bga,
130+ bgp,
131+ bgs,
132+ bgo,
133+ bgcl,
134+ bdfl : 'backdrop-filter' ,
135+ bfvis : 'backface-visibility' ,
99136
100137 // Text
101- fz : 'font-size' ,
102- fs : 'font-style' ,
103- fw : 'font-weight' ,
104- ff : 'font-family' ,
105- lh : 'line-height' ,
138+ f ,
139+ fz ,
140+ fs ,
141+ fw ,
142+ ff ,
106143 ta : 'text-align' ,
107144 td : 'text-decoration' ,
108145 tt : 'text-transform' ,
146+ ts : 'text-shadow' ,
147+ tov : 'text-overflow' ,
109148 ww : 'word-wrap' ,
149+ lts : 'letter-spacing' ,
150+ ws : 'white-space' ,
151+ lh : 'line-' + h ,
152+ va : 'vertical-align' ,
110153
111154 // Pointer
112155 cur : 'cursor' ,
@@ -118,6 +161,11 @@ var atoms = exports.atoms = {
118161 trs : 'transition' ,
119162 tr : 'transform' ,
120163
164+ // SVG
165+ st,
166+ stw,
167+ stl,
168+
121169 // Other
122170 ls : 'list-style' ,
123171 con : 'content' ,
You can’t perform that action at this time.
0 commit comments