Skip to content

Instantly share code, notes, and snippets.

@seven-phases-max
Created December 9, 2013 16:52
Show Gist options
  • Save seven-phases-max/7875696 to your computer and use it in GitHub Desktop.
Save seven-phases-max/7875696 to your computer and use it in GitHub Desktop.
.getComplement(@baseColor){
@-: (#fff - @baseColor);
}
.classSelector {
.-() {color: @-; .getComplement(#f00)}
.-() {background-color: @-; .getComplement(#00f)}
.-();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment