Skip to content

Commit

Permalink
feat: 🎸 add more animation-* atoms
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Nov 20, 2023
1 parent 0ca247d commit 90a4405
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions addon/atoms.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ var pos = 'position',
st = 'stroke',
stw = st + '-width',
stl = st + '-linecap'
an = 'animation',
ann = an + '-name'
;

var atoms = exports.atoms = {
Expand Down Expand Up @@ -170,14 +172,20 @@ var atoms = exports.atoms = {
ws: 'white-space',
lh: 'line-' + h,
va: 'vertical-' + align,

// Pointer
cur: 'cursor',
pe: 'pointer-events',
us: 'user-select',

// Animations
an: 'animation',
an,
ann,
and: an + '-duration',
anf: an + '-fill-mode',
anit: an + '-iteration-count',
anp: an + '-play-state',
ant: an + '-timing-function',
trs: 'transition',
tr: 'transform',

Expand Down

0 comments on commit 90a4405

Please sign in to comment.