Sha256: 183bf076cd6ed6f36688c00721fad9957f449cc76aa5355dcb56583beaad44b7
Contents?: true
Size: 1.17 KB
Versions: 139
Compression:
Stored size: 1.17 KB
Contents
@function shade($color, $percentage) { @return mix($charcoal, $color, $percentage); } @function dim($color, $percentage) { @return mix($bg_dark, $color, $percentage); } @function lightenText($color, $threshold: 47) { $text_color: $text_lt_default; @if ((type-of($color) == color) and (lightness($color) < $threshold)) { $text_color: $text_dk_default; } @return $text_color; } @mixin background-color($colors-list) { @each $name, $color in $colors-list { .#{$name} { background-color: $color !important; } } } @mixin text-color($colors-list) { @each $name, $color in $colors-list { .#{$name} { color: $color !important; } } } .bg_gradient { background: $gradient_start; background: -moz-linear-gradient(-45deg, $gradient_start 0%, $gradient_end 100%); background: -webkit-linear-gradient(-45deg, $gradient_start 0%, $gradient_end 100%); background: linear-gradient(135deg, $gradient_start 0%, $gradient_end 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#{$gradient_start}', endColorstr='#{$gradient_end}',GradientType=1 ); } @include text-color($text_colors); @include background-color($background_colors);
Version data entries
139 entries across 139 versions & 1 rubygems