These are chat archives for LearnBoost/stylus

18th
May 2016
Jeff Hansen
@jeffijoe
May 18 2016 10:19

I am getting expected indent, got outdent at

.{name}-leave

In this code:

createAnimation(name, from, to)
  @keyframes {name}_IN
    0%
      {from}
    100%
      {to}
  @keyframes {name}_OUT
    0%
      {to}
    100%
      {from}

  .{name}-enter
    animation {name}_IN 0.4s forwards ease
  .{name}-leave
    animation {name}_OUT 0.4s forwards ease

Any idea? I don't see what I am doing wrong here.