From d04fbbe73c1418ec8100ec43689b3c758313c915 Mon Sep 17 00:00:00 2001 From: LucasDLTG Date: Wed, 29 Apr 2026 13:14:25 +0200 Subject: [PATCH] fix: theme --- src/components/Sidebar.tsx | 4 ++-- src/components/chat/ChatUI.tsx | 25 +++++++++++++++++++++---- src/components/chat/chat.panels.tsx | 2 +- src/globals.css | 10 ++++++++-- 4 files changed, 32 insertions(+), 9 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 877f523..abac581 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -64,13 +64,13 @@ function DesktopSidebar({ return (
{activePanel && (
-
+
{activePanel.label} diff --git a/src/components/chat/ChatUI.tsx b/src/components/chat/ChatUI.tsx index 90ef180..80e2dc4 100644 --- a/src/components/chat/ChatUI.tsx +++ b/src/components/chat/ChatUI.tsx @@ -119,7 +119,7 @@ export default function ChatUI({ }; return ( -
+
{notification && (
{notification} @@ -152,9 +152,26 @@ export default function ChatUI({
- {/* Input */} -
-
+ {/* Input — floats center when empty, slides to bottom on first message */} +
+
+ {messages.length === 0 && ( +

+ Start a conversation… +

+ )} setInput(e.target.value)} diff --git a/src/components/chat/chat.panels.tsx b/src/components/chat/chat.panels.tsx index d0edca7..94c250d 100644 --- a/src/components/chat/chat.panels.tsx +++ b/src/components/chat/chat.panels.tsx @@ -17,7 +17,7 @@ function ConversationHistoryPanel() { className="flex flex-col px-3 py-2 rounded-lg hover:bg-white/10 cursor-pointer transition-colors" > {h.title} - {h.time} + {h.time} ))} diff --git a/src/globals.css b/src/globals.css index b3b80af..0d0241d 100644 --- a/src/globals.css +++ b/src/globals.css @@ -27,6 +27,7 @@ body { --bg-secondary: oklch(27.4% 0.006 286.033); --text-primary: #ffffff; + --text-secondary: #bbbbbb; --accent: #00d4ff; --accent2: #7b2ff7; @@ -47,13 +48,14 @@ body { .light-mode { --bg-primary: #e0e0e0; - --bg-secondary: oklch(96.7% 0.001 286.375); + --bg-secondary: #dadada; --text-primary: #111111; + --text-secondary: #666666; --accent: #0077ff; - --muted-color: #ffffff33; + --muted-color: #88888833; --color-base: #ffffff; --color-inverse: #000000; @@ -83,6 +85,10 @@ body { color: var(--text-primary); } +.text-secondary { + color: var(--text-secondary); +} + .text-accent { color: var(--accent); }