Documentations-Linux07/themes/learn2/scss/vendor/bourbon/functions/_tint-shade.scss

9 lines
230 B
SCSS

// 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);
}