Skip to content

Instantly share code, notes, and snippets.

@voodoocode
Created March 13, 2015 10:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voodoocode/270987f91455a48c08b8 to your computer and use it in GitHub Desktop.
Save voodoocode/270987f91455a48c08b8 to your computer and use it in GitHub Desktop.
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;}
@voodoocode
Copy link
Author

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