Skip to content

Instantly share code, notes, and snippets.

@seven-phases-max
Last active December 30, 2015 19:39
Show Gist options
  • Save seven-phases-max/7875513 to your computer and use it in GitHub Desktop.
Save seven-phases-max/7875513 to your computer and use it in GitHub Desktop.
.getComplement(@baseColor) {
@invertedColor: (#fff - @baseColor);
}
.classSelector {
.getComplement(#f00);
color: @invertedColor;
.2() {
.getComplement(#00f);
background-color: @invertedColor;
} .2();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment