From 3fbd6ca1e81c0c6393fa094d76586f6f57b468b1 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sun, 5 Jul 2026 00:52:49 -0700 Subject: [PATCH] Chat View Refinement Nucleic-Session: 4E56990A-96AE-4597-9140-753CB82E769D Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Views/Theme.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Views/Theme.swift b/NucleicRemote/NucleicRemote/Views/Theme.swift index 89799be..5c2a21f 100644 --- a/NucleicRemote/NucleicRemote/Views/Theme.swift +++ b/NucleicRemote/NucleicRemote/Views/Theme.swift @@ -347,6 +347,10 @@ struct CardBackground: ViewModifier { extension View { func card(padding: CGFloat = 14) -> some View { modifier(CardBackground(padding: padding)) } + /// Float content on Liquid Glass (material fallback pre-iOS 26). See `GlassSurface`. + func glassSurface(cornerRadius: CGFloat = 24) -> some View { + modifier(GlassSurface(cornerRadius: cornerRadius)) + } /// Apply the teal accent app-wide. func nucleicTint() -> some View { tint(Palette.accent) } /// Give a text field a way to release the keyboard. Without this, iOS leaves a focused