Skip to content

Commit 90a4405

Browse files
committed
feat: 🎸 add more animation-* atoms
1 parent 0ca247d commit 90a4405

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

addon/atoms.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ var pos = 'position',
6262
st = 'stroke',
6363
stw = st + '-width',
6464
stl = st + '-linecap'
65+
an = 'animation',
66+
ann = an + '-name'
6567
;
6668

6769
var atoms = exports.atoms = {
@@ -170,14 +172,20 @@ var atoms = exports.atoms = {
170172
ws: 'white-space',
171173
lh: 'line-' + h,
172174
va: 'vertical-' + align,
173-
175+
174176
// Pointer
175177
cur: 'cursor',
176178
pe: 'pointer-events',
177179
us: 'user-select',
178180

179181
// Animations
180-
an: 'animation',
182+
an,
183+
ann,
184+
and: an + '-duration',
185+
anf: an + '-fill-mode',
186+
anit: an + '-iteration-count',
187+
anp: an + '-play-state',
188+
ant: an + '-timing-function',
181189
trs: 'transition',
182190
tr: 'transform',
183191

0 commit comments

Comments
 (0)