Skip to main content

Dark Overlay Architecture

Dark overlays create depth and separation in the UI through shadows, modal backdrops, dimming effects, and depth indicators.

Why Black for Dark Overlays?

Unlike light overlays which derive from theme text color, dark overlays use a fixed black value.

Dialog Shadow System

Dialogs need prominent shadows to establish elevation.

Modal backdrops use 70% black opacity - an industry standard.

Backdrop vs Dark Overlay


Focus and Hover State Hierarchy

Interactive states progress through increasing overlay opacity.

Transparent Border System

Borders can use transparency for adaptive appearance.

Light Theme Shadow Adjustments

Light themes need less shadow intensity because dark-on-light is more visible.

Shadow and Overlay Design Principles


Summary: Shadow Pattern Reference


State Transitions

Learn about hover, active, and disabled state derivations