Foundation
Shadows
Elevation scale from xs to xl, tuned separately for light and dark schemes.
.popover {
box-shadow: var(--ca-shadow-lg);
}
The default shadows are neutral black with no hue: soft in light mode, deeper in dark mode, so one token works in both. The flat, outlined and similar styles replace them with none or a hairline ring, and the liquid recipe uses hue-tinted ones. Surface takes its drop shadow from elevation (--ca-elevation-0 to --ca-elevation-5), not from these tokens, see Materials.
Shadow scale
xs for hairline lift up to xl for modal depth.
shadow-xs
--ca-shadow-xs
shadow-sm
--ca-shadow-sm
shadow-md
--ca-shadow-md
shadow-lg
--ca-shadow-lg
shadow-xl
--ca-shadow-xl