sturobson / Sassifaction

A Sass mixin library
The Unlicense
178 stars 13 forks source link

Ability to define multiple values in the remit mixin #3

Closed terryupton closed 10 years ago

terryupton commented 10 years ago

We have spoken of this but thought I would add it to make it 'official' but the ability to use the remit mixin to define multiple values would be a huge win for me.

I don't think it is far off as it seems to work ok for the rems but it has issues with the pixel fallback.

An example of how I would like to use it;

@include remit(padding, 0, 10, 5, 10) or @include remit(padding, 5, 10)

rather than

@include remit(padding-top, 10) @include remit(padding-left, 4) @include remit(padding-right, 12) @include remit(padding-bottom, 4)

any thoughts?

sturobson commented 10 years ago

Hi @terryupton this is now merged from a pull request from another developer

https://github.com/sturobson/Sassifaction/pull/5