Create 0.2.1

This commit is contained in:
Jeremy Thomas
2016-09-25 17:44:01 +01:00
parent 9c59780e3c
commit f60b2ca400
22 changed files with 321 additions and 312 deletions

View File

@@ -22,7 +22,11 @@
@return (map-get($color-rgb, 'red') * .2126) + (map-get($color-rgb, 'green') * .7152) + (map-get($color-rgb, 'blue') * .0722)
@function findColorInvert($color)
@if (colorLuminance($color) > 0.67)
// @if (colorLuminance($color) > 0.67)
// @return rgba(black, 0.7)
@debug #{$color}
@debug colorLuminance($color)
@if (colorLuminance($color) > 0.55)
@return rgba(black, 0.7)
@else
@return white