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

View File

@@ -20,12 +20,12 @@ $white-bis: hsl(0, 0%, 98%) !default
$white: hsl(0, 0%, 100%) !default
$orange: hsl(14, 100%, 53%) !default
$yellow: hsl(48, 100%, 53%) !default
$green: hsl(141, 86%, 53%) !default
$turquoise: hsl(171, 86%, 48%) !default
$blue: hsl(217, 100%, 53%) !default
$yellow: hsl(48, 100%, 67%) !default
$green: hsl(141, 71%, 48%) !default
$turquoise: hsl(171, 100%, 41%) !default
$blue: hsl(217, 71%, 53%) !default
$purple: hsl(271, 100%, 71%) !default
$red: hsl(348, 100%, 53%) !default
$red: hsl(348, 100%, 61%) !default
// Typography
$family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default