Skip to content

Instantly share code, notes, and snippets.

@entozoon
Created September 29, 2014 10:31
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 entozoon/bcc04110d9d7269538b3 to your computer and use it in GitHub Desktop.
Save entozoon/bcc04110d9d7269538b3 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
// m.ichael.co.uk 2014
$colourNames: primary secondary tertiary;
$colourValues: #BADA55 #501337 #8008EE;
@for $i from 0 to length($colourNames) {
.color--#{nth($colourNames, $i+1)} {
color: nth($colourValues, $i+1);
}
}
.color--primary {
color: #bada55;
}
.color--secondary {
color: #501337;
}
.color--tertiary {
color: #8008ee;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment