Skip to content

Instantly share code, notes, and snippets.

@saschagehlich
Created October 9, 2014 13:13
Show Gist options
  • Save saschagehlich/8724a440ef59803d1fbe to your computer and use it in GitHub Desktop.
Save saschagehlich/8724a440ef59803d1fbe to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// 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)}";
}
}
}
}
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