Z-Index function
@function use-layer()
Function for return z-index layer value from the $zindex-layers
Parameters & Return
$key: (variable)
layer name
@return (variable)
z-index value
Example
scss
.u-modal-example {
z-index: use-layer('modal');
}
css
compiled
.u-modal-example {
z-index: 1000;
}