Use depth utility classes to assist in creating a visual hierarchy.
Depth utility classes can be defined using the format -d{size}.
0 - use to set box-shadow to none1 - use to set box-shadow to 1px2 - use to set box-shadow to 4px3 - use to set box-shadow to 6px4 - use to set box-shadow to 8px5 - use to set box-shadow to 12px<div class="-d0"></div>
<div class="-d1"></div>
<div class="-d2"></div>
<div class="-d3"></div>
<div class="-d4"></div>
<div class="-d5"></div>
Chi defines depths with Saas maps. The following example will render
a depth equivalent to -d1 / 1px.
@import '@centurylink/chi/src/css/variables';
.example {
box-shadow: map-get($depth, 1);
}