-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I noticed that when running sass2stylus on .scss files that contain @Keyframes rules that the output was incorrectly appending nested keyframe selectors with "$" instead of "%".
original.scss
@mixin topbar-x-rotation(){
@keyframes topbar-x {
0% {top: 0px; transform: rotate(0deg); }
45% {top: 6px; transform: rotate(145deg); }
75% {transform: rotate(130deg); }
100% {transform: rotate(135deg); }
}
}output.styl
topbar-x-rotation()
@keyframes
0$
top: 0px
transform: rotate(0deg)
45$
top: 6px
transform: rotate(145deg)
75$
transform: rotate(130deg)
100$
transform: rotate(135deg)The expected output should be:
topbar-x-rotation()
@keyframes
0%
top: 0px
transform: rotate(0deg)
45%
top: 6px
transform: rotate(145deg)
75%
transform: rotate(130deg)
100%
transform: rotate(135deg)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels