Elevation
Surface levels and shadows.
Surfaces
Five surface levels. In dark theme, higher levels are lighter. Levels 3 and 4 also use a shadow. In dark theme, levels 2 and 3 share a color, so the shadow tells them apart.
surface.0Page background. The lowest layer.
surface.1Panels, cards and the sidebar.
surface.2Sunken areas, table headers and hovered rows.
surface.3Menus, popovers and dropdowns. Use with shadow.dropdown.
surface.4Dialogs. Use with shadow.modal.
Shadows
shadow.raisedCards that sit slightly above the page.
shadow.dropdownMenus, popovers and dropdowns.
shadow.modalDialogs and drawers.
Guidance
Keep things flat by default. Show structure with surface steps and 1px borders. Use the dropdown shadow for menus, selects and tooltips, and the modal shadow for dialogs and toasts. Raised is for small lifted parts, like the switch knob. In dark theme, the lighter surface step does most of the work.