Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/desktop/src/renderer/components/ChatPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default function ChatPanel({
<button
key={q.text}
onClick={() => onSendMessage(q.text)}
className="group flex items-center gap-3 rounded-lg border border-xibe-border-subtle bg-transparent px-4 py-3 text-sm text-xibe-text-secondary hover:bg-xibe-surface-hover hover:text-xibe-text transition-colors"
className="group flex items-center gap-3 rounded-lg bg-xibe-surface px-4 py-3 text-sm text-xibe-text-secondary hover:bg-xibe-surface-hover hover:text-xibe-text transition-colors"
>
<div className="rounded-lg p-1.5 text-xibe-text-dim group-hover:text-xibe-text transition-colors">
{q.icon}
Expand Down Expand Up @@ -203,7 +203,7 @@ export default function ChatPanel({
)}

{/* Floating Pill input */}
<div className="relative flex items-end rounded-lg border border-xibe-border-subtle bg-xibe-bg transition-colors duration-200 focus-within:border-xibe-border-focus">
<div className="relative flex items-end rounded-lg bg-xibe-surface transition-colors duration-200">
<textarea
ref={inputRef}
value={input}
Expand Down Expand Up @@ -231,7 +231,7 @@ export default function ChatPanel({
</div>
<div className="mt-2 text-center">
<p className="text-[11px] font-medium text-xibe-text-dim/40">
<span className="hidden sm:inline">Use <kbd className="font-sans px-1 rounded border border-xibe-border-subtle bg-xibe-surface-raised/50">Enter</kbd> to send, <kbd className="font-sans px-1 rounded border border-xibe-border-subtle bg-xibe-surface-raised/50">Shift + Enter</kbd> for new line</span>
<span className="hidden sm:inline">Use <kbd className="font-sans px-1 rounded bg-xibe-surface-raised/50">Enter</kbd> to send, <kbd className="font-sans px-1 rounded bg-xibe-surface-raised/50">Shift + Enter</kbd> for new line</span>
</p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions packages/desktop/src/renderer/components/MessageBubble.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const MessageBubble = memo(function MessageBubble({ role, content, isStreaming }
if (isUser) {
return (
<div className="flex justify-end animate-fade-in w-full group">
<div className="max-w-[85%] sm:max-w-[75%] rounded-lg bg-xibe-surface px-4 py-3 text-[15px] leading-relaxed text-xibe-text whitespace-pre-wrap">
<div className="max-w-[85%] sm:max-w-[75%] rounded-2xl bg-xibe-surface px-4 py-3 text-[15px] leading-relaxed text-xibe-text whitespace-pre-wrap">
{content}
</div>
</div>
Expand All @@ -27,7 +27,7 @@ const MessageBubble = memo(function MessageBubble({ role, content, isStreaming }
<div className="prose prose-invert max-w-none text-[15px] leading-relaxed text-xibe-text
prose-p:my-3 prose-headings:my-4 prose-ul:my-3 prose-ol:my-3 prose-li:my-1
prose-pre:my-4 prose-pre:bg-transparent prose-pre:p-0
prose-blockquote:my-4 prose-blockquote:border-l-xibe-border-focus prose-blockquote:text-xibe-text-dim
prose-blockquote:my-4 prose-blockquote:border-l-2 prose-blockquote:border-xibe-surface-hover prose-blockquote:pl-4 prose-blockquote:text-xibe-text-dim
prose-a:text-xibe-text-secondary hover:prose-a:text-xibe-text prose-a:underline prose-a:underline-offset-2
prose-strong:text-xibe-text prose-strong:font-semibold
prose-code:text-xibe-text-secondary prose-code:bg-xibe-surface prose-code:px-1.5 prose-code:py-0.5 prose-code:rounded-md prose-code:font-medium prose-code:before:content-none prose-code:after:content-none
Expand Down
Loading