aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/util/bourbon/functions/_tint-shade.scss
blob: f7172004ac63383814f203a6d289c86ca4563b95 (plain)
1
2
3
4
5
6
7
8
9
// 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);
}