mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-30 18:27:00 +01:00
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.