Add minireset, Fix color luminance

This commit is contained in:
Jeremy Thomas
2016-09-22 23:14:18 +01:00
parent 7634faba6a
commit 18b34aa2c0
27 changed files with 1178 additions and 2531 deletions

View File

@@ -22,7 +22,7 @@
@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.7)
@return rgba($black, 0.7)
@if (colorLuminance($color) > 0.67)
@return rgba(black, 0.7)
@else
@return white