mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-24 11:07:14 +00:00
10 lines
230 B
SCSS
10 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);
|
||
|
}
|