Created
February 9, 2016 18:17
-
-
Save justinryder/0f6759fa36930ae0ef1a to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// 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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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