shade
($color, $dilution)
Sass Function extracted from compass. Darkens the $color
by mixing it with black as specified by $dilution
.
Parameters
$color
- Color to modify$dilution
- % of black to mix
Example
.shade {
background-color: shade( get-color(base, primary), 7% );
}
get-color(base, primary)
shade(get-color(base, primary), 7%)