isso/docs/_static/css/bourbon/functions/_tint-shade.scss

10 lines
230 B
SCSS
Raw Permalink Normal View History

2013-11-24 20:43:57 +00:00
// Add percentage of white to a color
@function tint($color, $percent){
@return mix(white, $color, $percent);
}
// Add percentage of black to a color
@function shade($color, $percent){
@return mix(black, $color, $percent);
}