Skip to content
Draft
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
4 changes: 2 additions & 2 deletions packages/desktop/src/renderer/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export default function App() {
return (
<div className="flex h-screen flex-col bg-xibe-bg text-xibe-text font-sans overflow-hidden">
{/* Header */}
<header className="flex h-12 items-center justify-between px-3 shrink-0 bg-xibe-bg z-10">
<header className="flex h-12 items-center justify-between px-3 shrink-0 z-10">
<div className="flex items-center gap-3">
<button
onClick={() => setLeftPanelOpen((v) => !v)}
Expand Down Expand Up @@ -372,7 +372,7 @@ export default function App() {
<div className="flex flex-1 min-h-0 overflow-hidden relative">
{/* Left panel: Chat history + settings shortcut */}
<aside
className="shrink-0 bg-xibe-surface flex flex-col overflow-hidden transition-[width] duration-200 ease-in-out border-r border-xibe-border-subtle"
className="shrink-0 bg-xibe-surface flex flex-col overflow-hidden transition-[width] duration-200 ease-in-out border-r border-transparent"
style={{ width: leftPanelOpen ? 240 : 0 }}
>
<div className="flex-1 min-h-0 overflow-y-auto p-3">
Expand Down
4 changes: 2 additions & 2 deletions packages/desktop/src/renderer/components/ChatPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export default function ChatPanel({
)}

{/* Floating Pill input */}
<div className="relative flex flex-col rounded-3xl bg-xibe-surface border border-xibe-border-subtle focus-within:border-xibe-border-focus focus-within:bg-xibe-surface transition-all duration-200">
<div className="relative flex flex-col rounded-2xl bg-xibe-surface border border-transparent focus-within:border-transparent focus-within:bg-xibe-surface transition-all duration-200">
<div className="flex items-center px-4 pt-2 pb-1 text-xs text-xibe-text-dim">
<span className="flex items-center gap-1.5">
{MODES.map((m) => (
Expand Down Expand Up @@ -220,7 +220,7 @@ export default function ChatPanel({
<button
onClick={submit}
disabled={isRunning || !input.trim()}
className="absolute right-3 bottom-2 h-8 w-8 rounded-full flex items-center justify-center text-xibe-bg bg-xibe-text hover:opacity-90 disabled:opacity-30 disabled:bg-xibe-text-dim disabled:text-xibe-surface disabled:cursor-not-allowed transition-all duration-200"
className="absolute right-3 bottom-2 h-8 w-8 rounded-full flex items-center justify-center text-xibe-text-dim hover:text-xibe-text bg-transparent hover:bg-xibe-surface-hover disabled:opacity-30 disabled:bg-transparent disabled:text-xibe-text-dim disabled:cursor-not-allowed transition-all duration-200"
>
<Send className="h-3.5 w-3.5 ml-0.5" />
</button>
Expand Down
2 changes: 1 addition & 1 deletion 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-[90%] sm:max-w-[80%] rounded-2xl bg-xibe-surface-raised px-5 py-3 text-[15px] leading-relaxed text-xibe-text whitespace-pre-wrap">
<div className="max-w-[90%] sm:max-w-[80%] rounded-xl bg-transparent px-5 py-3 text-[15px] leading-relaxed text-xibe-text-secondary whitespace-pre-wrap">
{content}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion packages/desktop/src/renderer/components/ToolCallCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const ToolCallCard = memo(function ToolCallCard({ toolName, toolInput, toolOutpu
const outputStr = toolOutput ? (typeof toolOutput === 'string' ? toolOutput : JSON.stringify(toolOutput, null, 2)) : '';

return (
<div className="rounded-xl border border-xibe-border-subtle overflow-hidden animate-fade-in my-3 group">
<div className="rounded-lg border border-transparent bg-xibe-surface overflow-hidden animate-fade-in my-3 group">
<button
onClick={() => setOpen(!open)}
className="flex w-full items-center gap-3 px-2.5 py-1 text-left hover:bg-xibe-surface-hover transition-colors"
Expand Down
12 changes: 6 additions & 6 deletions packages/desktop/src/renderer/styles/global.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
@import "tailwindcss";

@theme {
--color-xibe-bg: #09090b;
--color-xibe-surface: #121214;
--color-xibe-surface-raised: #18181b;
--color-xibe-surface-hover: #27272a;
--color-xibe-bg: #0d0d0f;
--color-xibe-surface: #161618;
--color-xibe-surface-raised: #1c1c1f;
--color-xibe-surface-hover: #222225;
--color-xibe-border: #27272a;
--color-xibe-border-subtle: #18181b;
--color-xibe-border-subtle: #222225;
--color-xibe-border-focus: #52525b;
--color-xibe-muted: #71717a;
--color-xibe-text: #fafafa;
--color-xibe-text-secondary: #a1a1aa;
--color-xibe-text-dim: #71717a;
--color-xibe-accent: #e4e4e7;
--color-xibe-accent: #ececec;
--color-xibe-accent-hover: #ffffff;
--color-xibe-accent-muted: rgba(244, 244, 245, 0.1);
--color-xibe-brand-blue: #60A5FA;
Expand Down
Loading