You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
398 B

8 months ago
  1. @mixin box-shadow($shadow...) {
  2. @if $enable-shadows {
  3. $result: ();
  4. @each $value in $shadow {
  5. @if $value != null {
  6. $result: append($result, $value, "comma");
  7. }
  8. @if $value == none and length($shadow) > 1 {
  9. @warn "The keyword 'none' must be used as a single argument.";
  10. }
  11. }
  12. @if (length($result) > 0) {
  13. box-shadow: $result;
  14. }
  15. }
  16. }