3 /// Mixes a color with white.
5 /// @argument {color} $color
7 /// @argument {number (percentage)} $percent
8 /// The amount of white to be mixed in.
14 /// background-color: tint(#6ecaa6, 40%);
19 /// background-color: #a8dfc9;
26 @if not _is-color($color) {
27 @error "`#{$color}` is not a valid color for the `$color` argument in " +
30 @return mix(#fff, $color, $percent);