Skip to content

Instantly share code, notes, and snippets.

@joliveras
Created December 11, 2015 14:13
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 joliveras/1bedcbaa5ee360fbbf82 to your computer and use it in GitHub Desktop.
Save joliveras/1bedcbaa5ee360fbbf82 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$color: tomato;
@for $i from 1 through 10 {
.first-color#{$i} {
color: scale-lightness($color, #{$i}0%);
}
}
// lighten($color, $amount)
.first-color1 {
color: scale-lightness(tomato, 10%);
}
.first-color2 {
color: scale-lightness(tomato, 20%);
}
.first-color3 {
color: scale-lightness(tomato, 30%);
}
.first-color4 {
color: scale-lightness(tomato, 40%);
}
.first-color5 {
color: scale-lightness(tomato, 50%);
}
.first-color6 {
color: scale-lightness(tomato, 60%);
}
.first-color7 {
color: scale-lightness(tomato, 70%);
}
.first-color8 {
color: scale-lightness(tomato, 80%);
}
.first-color9 {
color: scale-lightness(tomato, 90%);
}
.first-color10 {
color: scale-lightness(tomato, 100%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment