Forma 36 Logo

Box Shadows

We use two different styles of box shadows at Contentful. Box shadows to communicate depth, and glows to communicate semantics.

Box shadows are used to give depth to the user interface.

TokenValueExample
box-shadow-default0 1px 3px rgba(0, 0, 0, 0.08)
Box Shadow
box-shadow-heavy0 2px 3px rgba(0, 0, 0, 0.35)
Box Shadow

Glows

Glows are used to indicate semantic focus states, for example in the Button component.

TokenValueExample
glow-primary0px 0px 7px #3c80cf
Box Shadow
glow-negative0px 0px 7px #d9453f
Box Shadow
glow-positive0px 0px 7px #0eb87f
Box Shadow