Skip to content

Instantly share code, notes, and snippets.

@justinryder
Created February 9, 2016 18:17
Show Gist options
  • Save justinryder/0f6759fa36930ae0ef1a to your computer and use it in GitHub Desktop.
Save justinryder/0f6759fa36930ae0ef1a to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
// theme partial
$foo: 'theme value for $foo';
$bar: 'theme value for $bar';
$foobar: 'theme value for $foobar';
// _config partial
$foo: 'config value' !default; // will use $foo's theme value, because !default is specified
$bar: $foo; // will use $foo's value, because !default is not specified; this variable cannot be themed
$foobar: $foo !default; // will use $foobar's theme value, because !default is specified
// component partial
.foo {
content: $foo;
}
.bar {
content: $bar;
}
.foobar {
content: $foobar;
}
.foo {
content: "theme value for $foo";
}
.bar {
content: "theme value for $foo";
}
.foobar {
content: "theme value for $foobar";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment