Created
October 9, 2014 13:13
-
-
Save saschagehlich/8724a440ef59803d1fbe 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
// ---- | |
// Sass (v3.2.19) | |
// Compass (v0.12.6) | |
// ---- | |
$livingstyleguide--variables: global-variables() !default; | |
@each $variable, $value in $livingstyleguide--variables { | |
$value: null !default; | |
@if $value != null { | |
.\$#{$variable} { | |
@if type-of($value) == color { | |
@if (lightness($value) < lightness($livingstyleguide--color)) { | |
color: $livingstyleguide--background-color; | |
} | |
&:before { | |
background: $value; | |
} | |
} | |
&:after { | |
@extend %livingstyleguide--code !optional; | |
content: "#{inspect($value)}"; | |
} | |
} | |
} | |
} |
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
Invalid CSS after "@each $variable": expected "in", was ", $value in $li..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment