Chat View Refinement
Nucleic-Session: 4E56990A-96AE-4597-9140-753CB82E769D Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user