X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8a078a30db08afb680c48ce94d6e576236febeed..16c39b15d9a1516d9cbfa99288747260493cbb15:/src/wolnelektury/static/2021/css/utils/bourbon/library/_tint.scss diff --git a/src/wolnelektury/static/2021/css/utils/bourbon/library/_tint.scss b/src/wolnelektury/static/2021/css/utils/bourbon/library/_tint.scss deleted file mode 100644 index 1c536ed1f..000000000 --- a/src/wolnelektury/static/2021/css/utils/bourbon/library/_tint.scss +++ /dev/null @@ -1,32 +0,0 @@ -@charset "UTF-8"; - -/// Mixes a color with white. -/// -/// @argument {color} $color -/// -/// @argument {number (percentage)} $percent -/// The amount of white to be mixed in. -/// -/// @return {color} -/// -/// @example scss -/// .element { -/// background-color: tint(#6ecaa6, 40%); -/// } -/// -/// // CSS Output -/// .element { -/// background-color: #a8dfc9; -/// } - -@function tint( - $color, - $percent -) { - @if not _is-color($color) { - @error "`#{$color}` is not a valid color for the `$color` argument in " + - "the `tint` mixin."; - } @else { - @return mix(#fff, $color, $percent); - } -}