Expand description
Default CardStyle impl driven by paint-recipe data.
RecipeCardStyle ships the IntUI card chrome — variant-driven
background / shadow / border defaults, with caller overrides
winning when set. Custom styles compose freely (glassmorphism card,
brutalist box, neumorphic raised surface, etc.) by writing their
own impl CardStyle block.
Like RecipePanelStyle, the body is a single CardFrame container
widget that paints the chrome AND positions the content with
padding inset (one widget so the proposal-resolve / intrinsic-size
logic mirrors the pre-refactor Card exactly — splitting into a
ZStack would break proposal propagation).
Structs§
- Card
Recipe - Dimension recipe for
RecipeCardStyle. Mirrors thepub constdefaults and allows per-instance overrides without a customCardStyleimpl. - Recipe
Card Style - Default
CardStyleshipped with Teksilo. Honours all fourCardVariantvalues via background / shadow / border defaults.
Constants§
- CARD_
BORDER_ WIDTH - CARD_
CORNER_ RADIUS - CARD_
PADDING - CARD_
SHADOW_ DENSITY - 0..=1 multiplier on
shape.shadow_inner_md.color.aat paint time.