Files
craft-libs/crates/ui-patterns
skylartaylor f856d0cbd9 Preset card names are strong only in PresetCardLook::OutlineStrong, so an app that picks no look keeps the body-type name
CardText::Preset sets the name in the body type again, its role before this branch, and
CardText::PresetStrong is the centred preset card the strong body type sets. The New Document
dialog asks for it only in the new PresetCardLook::OutlineStrong, which paints the outline look's
page and card; PresetCardLook::Page keeps Tile::page on CardText::Page. A story shows the look.

Trials: a_preset_cards_name_is_strong_only_when_the_card_asks_for_it (ui-widgets: with the suite's
fonts loaded, the preset card's name measures narrower than the strong preset name, which measures
as wide as a file card's), preset_names_are_strong_only_in_the_strong_look (ui-patterns: the dialog
with no look set paints the same name width as PresetCardLook::Outline, and OutlineStrong paints it
wider).
2026-11-25 17:47:02 +01:00
..