Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Generated by SassMeister.com.
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
$base-color: green;
$base-color : red !default;
$base-link-color: $base-color !default;
a {color: $base-link-color;}
a {
color: green;
}
@voodoocode

This comment has been minimized.

Copy link
Owner Author

commented Mar 13, 2015

So obviously an overriding variable has to be set before the default value.
If lines 6 and 8 are switched, color will be red.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.