☰
Debian Codegraph
@
9.0.0+git20240724.107ded9+dfsg-1
/
/
sass-spec
/
spec
/
libsass
/
bourbon
/
lib
/
functions
/
_tint-shade.scss
☽
☼
sass-spec/spec/libsass/bourbon/lib/functions/_tint-shade.scss
code
plain
raw
Expat
2007-2014, The Sass Authors
debian/copyright
1
// Add percentage of white to a color
2
@function tint($color, $percent){
3
@return mix(white, $color, $percent);
4
}
5
6
// Add percentage of black to a color
7
@function shade($color, $percent){
8
@return mix(black, $color, $percent);
9
}