scss: use transparent as undefined value for extract-color() (#38567)

This commit is contained in:
Frédéric Péters 2019-12-18 11:10:01 +01:00
parent 10d2a6ba53
commit 3947aad026
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ $black: #000000 !default;
@function extract-color($border){
@each $part in $border { @if type-of($part) == color { @return $part; } }
@return null;
@return transparent;
}
@function extract-width($border){