Table of Contents

06. Shadows — Depth and Atmosphere

How depth guides attention,
hierarchy, and emotional tone

—Part of CSS Primer for the AI Era — Visual Style

Shadows are the softest structural tool in visual style.
They don’t draw lines or define edges.
They create 'atmosphere' —
a sense of depth, elevation, and spatial relationship.

A shadow can make a component feel:

Where borders define 'edges',
shadows define 'space'.

A quiet mental model:

Shadows are depth cues —
the soft geometry of atmosphere
.


1. Why Shadows Matter

Shadows help the user understand:

They create a visual hierarchy
without adding noise.

A shadow is not decoration.
It is 'spatial meaning'
.


2. Elevation — How High Something Feels

Shadows communicate elevation:

Elevation is not literal height
— it is perceived importance
.

Common elevation levels

These levels help maintain consistency across components.


3. Softness — The Emotional Tone of a Shadow

Shadows have two key qualities:

Soft shadows feel:

Hard shadows feel:

A quiet rule:

The softer the shadow,
the calmer the interface
.


4. Color — Shadows Are Not Black

Real shadows are rarely pure black.
In UI design, black shadows often feel heavy or artificial.

Modern shadows use:

This creates depth without harshness.

A common pattern

Together, they create a natural, layered effect.


5. Interaction — Shadows as Feedback

Shadows can communicate interaction states:

These cues help the user understand
what is happening without reading anything.

A shadow can say:


6. When to Use Shadows vs. Borders vs. Color

Shadows are one of several ways to separate
or elevate elements.

Use a shadow when:

Use a border when:

Use background color when:

Shadows are atmospheric.
Borders are structural.
Color is contextual
.


7. AI‑Steering Notes for Shadows

These cues help AI make shadow decisions intentionally:

“Use soft, low‑contrast shadows for calm interfaces.”
“Increase elevation for interactive or 
floating elements.”
“Use layered shadows for natural depth.”
“Avoid pure black shadows; 
use translucent neutrals.”
“Use shadows sparingly to avoid visual noise.”

These keep AI grounded in clarity and atmosphere.


Closing Note for Shadows — Depth and Atmosphere

AI understands shadows because it knows the patterns:

It can propose shadows that are mathematically consistent.

But humans feel something AI cannot:

AI can suggest shadows.
Humans decide whether
the depth feels right
.

A quiet reminder:

Shadows give depth.
Atmosphere gives meaning.
And sometimes, breaking the elevation pattern
is what makes the interface feel alive.

Depth is both geometry and mood.
AI supports the geometry.
Humans guide the mood.


Tony de Araujo —New York | Lisbon