Sha256: 61b154766e0a7bbf575a6035498aeddc3e748073d5c03a1311f1a14d10073d1f
Contents?: true
Size: 785 Bytes
Versions: 22
Compression:
Stored size: 785 Bytes
Contents
@import "shared"; // These defaults make the arguments optional for this mixin // If you like, set different defaults in your project $default-text-shadow-color: #aaa !default; $default-text-shadow-h-offset: 1px !default; $default-text-shadow-v-offset: 1px !default; $default-text-shadow-blur: 1px !default; // Provides CSS text shadows. // Arguments are color, horizontal offset, vertical offset, and blur @mixin text-shadow( $color: $default-text-shadow-color, $hoff: $default-text-shadow-h-offset, $voff: $default-text-shadow-v-offset, $blur: $default-text-shadow-blur ) { // XXX I'm surprised we don't need experimental support for this property. @if $color == none { text-shadow: none; } @else { text-shadow: $color $hoff $voff $blur; } }
Version data entries
22 entries across 19 versions & 2 rubygems