diff options
Diffstat (limited to 'plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/color-functions.scss')
-rw-r--r-- | plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/color-functions.scss | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/color-functions.scss b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/color-functions.scss new file mode 100644 index 00000000..32dddb92 --- /dev/null +++ b/plugins/jetpack/jetpack_vendor/automattic/jetpack-wordads/src/dashboard/scss/color-functions.scss @@ -0,0 +1,11 @@ +// Add percentage of white to a color +// Copyright © 2011–2015 thoughtbot. See CREDITS.md#L3 +@function tint($color, $percent){ + @return mix(white, $color, $percent); +} + +// Add percentage of black to a color +// Copyright © 2011–2015 thoughtbot. See CREDITS.md#L3 +@function shade($color, $percent){ + @return mix(black, $color, $percent); +} |