Sha256: f0cb18ed350b046dd5c6708cf87a60eff7530d80fed9aea2461c0a887a2cc502
Contents?: true
Size: 965 Bytes
Versions: 14
Compression:
Stored size: 965 Bytes
Contents
// Get the text color to go on top of Google's material design colors // @see https://www.google.com/design/spec/style/color.html @function text-color($color) { $text-color: $white; @if $color == $amber { $text-color: $black; } @else if $color == $black { $text-color: $white; } @else if $color == $cyan { $text-color: $black; } @else if $color == $deep-orange { $text-color: $white; } @else if $color == $green { $text-color: $black; } @else if $color == $grey { $text-color: $black; } @else if $color == $light-blue { $text-color: $black; } @else if $color == $light-green { $text-color: $black; } @else if $color == $green { $text-color: $black; } @else if $color == $lime { $text-color: $black; } @else if $color == $orange { $text-color: $black; } @else if $color == $white { $text-color: $black; } @else if $color == $yellow { $text-color: $black; } @return $text-color; }
Version data entries
14 entries across 14 versions & 1 rubygems