feat(mobile): one sheet material, Vacay people and legend headers

Docked sheets defaulted to the lighter bar glass, through which their header
buttons hardly stood out; every sheet now uses the same glass. The Vacay
people and legend sheets get the icon tile header.
This commit is contained in:
Maurice
2026-11-06 16:49:54 +01:00
parent b317877c41
commit 445fb173fb
2 changed files with 22 additions and 6 deletions
+2 -1
View File
@@ -170,7 +170,8 @@ export default function MSheet({
const exitClass = EXIT[variant]
const animation = open ? (entered ? '' : enterClass) : flung ? '' : exitClass
const resolvedMaterial = material ?? (variant === 'bottom' ? 'bar-glass' : 'glass')
// One material for every sheet, docked or floating, so they all read the same.
const resolvedMaterial = material ?? 'glass'
return createPortal(
// m-root on the overlay so the --m-* tokens resolve even when the portal