Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @mixin inset-text($color, $amount: 0.7) {
- color: $color;
- @if lightness($color) < 50% { @include single-text-shadow(rgba(white, $amount), 1px, 1px, 1px); }
- @else { @include single-text-shadow(rgba(black, $amount), -1px, -1px, 1px); }
- }
Add Comment
Please, Sign In to add comment