Expand description
Default BannerStyle impl driven by paint-recipe data.
RecipeBannerStyle ships the IntUI banner chrome: a per-severity
status-tinted surface (StatusInfo / StatusSuccess /
StatusWarning / StatusError) with rounded corners, the content
inset by the banner padding, and the leading severity glyph placed
to the leading edge of the message/action content.
The SeverityGlyph itself is built by the Banner widget — it is
a functional renderer (it draws domain data, the info/warn/error
mark), not chrome (principle 6). Apps that want a different banner
look (full-bleed strip, bordered callout, icon-free) write their
own impl BannerStyle block.
Structs§
- Banner
Recipe - Dimension recipe for
RecipeBannerStyle. All fields default to the correspondingBANNER_*constants so callers can override individual measurements without touching the rest. - Recipe
Banner Style - Default
BannerStyleshipped with Teksilo. Surface tint comes from the per-severitySurfaceRole(no border — the status surface tokens already encode contrast with the page background).
Constants§
- BANNER_
CONTENT_ GAP - Horizontal gap between glyph, text column, action widget, and dismiss button.
- BANNER_
CORNER_ RADIUS - BANNER_
GLYPH_ SIZE - Diameter of the leading severity glyph (info / success / error circle, warning triangle).
- BANNER_
PADDING_ HORIZONTAL - BANNER_
PADDING_ VERTICAL - BANNER_
TITLE_ DESCRIPTION_ GAP - Vertical gap between the title and the optional description text inside the body column.