diff --git a/_functions.scss b/_functions.scss index e69de29..1c8c03e 100644 --- a/_functions.scss +++ b/_functions.scss @@ -0,0 +1 @@ +@import "functions/tint"; diff --git a/functions/_tint.scss b/functions/_tint.scss new file mode 100644 index 0000000..e7e4329 --- /dev/null +++ b/functions/_tint.scss @@ -0,0 +1,12 @@ +/* Yanked from http://sass-guidelin.es/#lightening-and-darkening-colors */ + +/* +Slightly lighten a color +@access public +@param {Color} $color - color to tint +@param {Number} $percentage - percentage of `$color` in returned color +@return {Color} +*/ +@function tint($color, $percentage) { + @return mix(white, $color, $percentage); +}