π Prefer animation names over variables
1aron opened this issue Β· comments
Current
export default {
variables: {
float: '#000000'
},
animations: {
float: {
'0%': { transform: 'none' },
'50%': { transform: 'translateY(-1.25rem)' },
to: { transform: 'none' }
},
}
}
<div class="@float|.5s">
Generated CSS:
...
.\@float\|\.5s {
animation: #000000 .5s;
}
Expected
export default {
variables: {
float: '#000000'
},
animations: {
float: {
'0%': { transform: 'none' },
'50%': { transform: 'translateY(-1.25rem)' },
to: { transform: 'none' }
},
}
}
<div class="@float|.5s">
Generated CSS:
...
.\@float\|\.5s {
animation: float .5s;
}
Related properties: animation
and animation-name
π This issue has been resolved in version 2.0.0-beta.211 π
The release is available on:
- GitHub release
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
- npm package (@beta dist-tag)
Your semantic-release bot π¦π
π This issue has been resolved in version 2.0.0-rc.1 π
The release is available on:
- GitHub release
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
- npm package (@rc dist-tag)
Your semantic-release bot π¦π