SassDoc / sassdoc-theme-default

Default theme for SassDoc.
MIT License
10 stars 30 forks source link

Shouldn't mixin output be placed after example? #93

Closed marcohamersma closed 7 years ago

marcohamersma commented 7 years ago

Hey hey, I see that in the default theme the output for a mixin is placed before output.

To me it would make more sense to show the example first, and then the output that example results in. For example:

Example:

@include foo-bar('red');

Output

.baz {
  border: 1px red;
  color: red;
  text-transform: uppercase;
}

Is there a use case I'm overseeing in which output would make sense to put before the example?

Cheers, Marco

KittyGiraudel commented 7 years ago

Sounds very fair to me. Feel free to submit a PR to fix that.

By the way, I hope you’re doing well buddy. :)

marcohamersma commented 7 years ago

Doing pretty well, Hugo :) Did some travelling since Edenspiekermann, been a bit quiet since then, but I'm starting to gain some momentum again.

I made a simple pull request for you ;)