#[non_exhaustive]pub enum Chrome {
Bullet,
Gutter,
Fill,
Edge,
Shadow,
Padding,
Type,
Pointing,
}Expand description
One thing an element brings that a description never asked for.
Atoms rather than bundles, because the bundles disagree at the edges: a link-as-button gives back its padding and its font so it can read as text, and a facet button keeps both so it stays worth aiming at. The named sets below are the bundles, spelled once each.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Bullet
The bullet on a list item. list-style: none.
Gutter
The gutter around a list, which existed to make room for the bullet.
margin: 0.
Fill
A control’s surface. background: none.
Edge
A control’s stroke. border: none.
Shadow
A control’s raised look, where an app’s own button rule supplies one.
box-shadow: none.
Padding
The room a control keeps around its label. padding: 0.
Type
The face a control is set in, which is not the face around it.
font: inherit.
Pointing
The one addition rather than a withdrawal: a <button> points with the
default arrow where an <a> points with a hand. cursor: pointer.