_tint-shade.scss 230 B

123456789
  1. // Add percentage of white to a color
  2. @function tint($color, $percent){
  3. @return mix(white, $color, $percent);
  4. }
  5. // Add percentage of black to a color
  6. @function shade($color, $percent){
  7. @return mix(black, $color, $percent);
  8. }