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

Already on GitHub? Sign in to your account

Expand mixin default values at use-time #66

QuLogic opened this Issue Apr 1, 2012 · 0 comments


None yet
1 participant

QuLogic commented Apr 1, 2012

Something like the following:

$foo: black;

@mixin test($param: $foo) {
  color: $param;

$foo: green;
body {
  @include test;

will result in:

/* Generated from: test.scss */
body {
  color: #000000;

but the Ruby parser outputs:

body {
  color: green; }

Ignoring the change to hex, pyScss outputs the wrong colour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment