Skip to content

Instantly share code, notes, and snippets.

@jpdevries
Created February 20, 2015 04:25
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 jpdevries/912d345fc695e7843186 to your computer and use it in GitHub Desktop.
Save jpdevries/912d345fc695e7843186 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.1.0)
// ----
$white:rgb(250,250,250);
.my-component {
background:lighten(purple,30%);
color:purple;
body.inverted & { // when in invert mode accommodate with high contrast
background:transparent;
color:$white; // in _vars.scss we define $white as a near-white value
}
}
.my-component {
background: #ff1aff;
color: purple; }
body.inverted .my-component {
background: transparent;
color: #fafafa; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment