Files
craft-libs/crates/ui-patterns/tests/it
dotCooCoo 7398402aed ui-widgets: page cards can rest on a tile
CardText::PageTile is a page card whose rest state lays a light veil of
surface.scrim over the surface under it. Hover, pressed and selected
fills and the selection edge are the same as CardText::Page, which keeps
its flat card. PresetCardLook::PageTile shows New Document's preset
cards this way. No default changes: the start page and apps that set
PresetCardLook::Page draw as before.

Stories show both new looks. Tests check that a PageTile card paints the
veil at rest and a Page card paints no fill, and that New Document's
PageTile cards rest on the veil with the paper on it while the selected
card takes the hover fill.
2026-11-28 15:32:27 -08:00
..