pub enum Fill {
Page,
Raised,
Overlay,
Well,
Sunken,
}Expand description
A surface intent a region is filled with.
Variants§
Page
The page behind everything.
Raised
A surface lifted off the page: cards, controls, menus, toasts.
Overlay
A surface floating above the page rather than resting on it.
Well
The inside of a well.
Sunken
A surface set back from the one it sits on, by colour and nothing else.
Not a well. A well is a hole with an edge, and the two are authored in
opposite directions: makeover derives surface-well by inverting
against the theme’s own content colour, while surface-sunken is
authored and free to sit darker than raised (goingson’s does). Naming
only the well left the recessed-with-no-edge surface unsayable, which is
what an unchosen tab is: it recedes so the chosen one can come forward,
and it carries no bevel of its own.
Added 0.3.0, from goingson’s tab strip, which hand-writes exactly this and could not delete the line because no member described it.