pub fn depth_declarations(depth: Depth) -> StringExpand description
The fill and edge declarations for a depth, as a rule body.
Empty for Depth::Flat, which has neither and inherits what it sits on.
Callers lean on the emptiness to skip the rule rather than emit a class that
sets nothing: a class that sets no properties is a class that means “I
thought about this”, which is what comments are for.
The two halves are emitted independently because Depth::Sunken has a
fill and no bevel. Requiring both, which this did before makeover-layout
0.3.0, silently dropped the fill for exactly that case. Independent does not
mean unpaired: both halves still come off one Depth, so they cannot
disagree about what the region is.