Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format Sass nested mixins #50

Closed
matype opened this issue Dec 28, 2015 · 0 comments
Closed

Format Sass nested mixins #50

matype opened this issue Dec 28, 2015 · 0 comments
Labels

Comments

@matype
Copy link
Owner

matype commented Dec 28, 2015

input:

@mixin test() {
  $values: blue red;
@each $val   in $values {
  color  : $val;
  @for $i   from  2   through    10 {
   background: $i;
  }
}
@for $i from 2 through 10 {
  color: $i;
}
}

we will get:

@mixin test() {
  $values: blue red;

  @each $val in $values {
    color: $val;

    @for $i from 2 through 10 {
      background: $i;
    }
  }

  @for $i from 2 through 10 {
    color: $i;
  }
}

#49

@matype matype added the bug label Dec 28, 2015
@matype matype changed the title Nested mixins Format Sass nested mixins Dec 28, 2015
@matype matype closed this as completed in e4fb9e3 Dec 29, 2015
matype pushed a commit that referenced this issue Dec 29, 2015
Fixes to Sass function and math formatting, fixes #51 fixes #50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant