From 9076d543f3f4eac5706b4536c78476407adf8706 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 20 Dec 2025 21:56:03 +0000 Subject: [PATCH] fix(onboarding): restore bubbles and spacing --- .../Sources/ClawdisChatUI/ChatMessageViews.swift | 10 +++++++--- .../ClawdisKit/Sources/ClawdisChatUI/ChatTheme.swift | 8 ++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/apps/shared/ClawdisKit/Sources/ClawdisChatUI/ChatMessageViews.swift b/apps/shared/ClawdisKit/Sources/ClawdisChatUI/ChatMessageViews.swift index 87e009a07..ff8a7bc72 100644 --- a/apps/shared/ClawdisKit/Sources/ClawdisChatUI/ChatMessageViews.swift +++ b/apps/shared/ClawdisKit/Sources/ClawdisChatUI/ChatMessageViews.swift @@ -93,7 +93,7 @@ private struct ChatMessageBody: View { if self.isUser { fill = ClawdisChatTheme.userBubble } else if self.style == .onboarding { - fill = ClawdisChatTheme.card + fill = ClawdisChatTheme.onboardingAssistantBubble } else { fill = ClawdisChatTheme.assistantBubble } @@ -239,12 +239,16 @@ private struct MarkdownTextView: View { let textColor: Color var body: some View { - if let attributed = try? AttributedString(markdown: self.text) { + let normalized = self.text.replacingOccurrences( + of: "(?