blob: 32dddb923ad52c05e037eede15310a3950866078 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Add percentage of white to a color
// Copyright © 2011–2015 thoughtbot. See CREDITS.md#L3
@function tint($color, $percent){
@return mix(white, $color, $percent);
}
// Add percentage of black to a color
// Copyright © 2011–2015 thoughtbot. See CREDITS.md#L3
@function shade($color, $percent){
@return mix(black, $color, $percent);
}
|