From 164560c6c97cb87ce07de41646a65f40a00aaee1 Mon Sep 17 00:00:00 2001 From: Shine1i Date: Wed, 25 Feb 2026 00:31:20 +0100 Subject: [PATCH] feat: improve dark mode styling and simplify navbar --- studio/frontend/src/components/navbar.tsx | 40 +++++-------------- .../frontend/src/features/chat/chat-page.tsx | 6 +-- .../src/features/chat/chat-settings-sheet.tsx | 2 +- .../studio/sections/dataset-section.tsx | 2 +- .../studio/sections/model-section.tsx | 11 +++-- .../features/tour/components/guided-tour.tsx | 24 +++++------ studio/frontend/src/index.css | 1 + 7 files changed, 37 insertions(+), 49 deletions(-) diff --git a/studio/frontend/src/components/navbar.tsx b/studio/frontend/src/components/navbar.tsx index 7b741dffa9..79049effc6 100644 --- a/studio/frontend/src/components/navbar.tsx +++ b/studio/frontend/src/components/navbar.tsx @@ -45,7 +45,6 @@ function getTourId(pathname: string): "studio" | "chat" | "export" | null { export function Navbar() { const pathname = useRouterState({ select: (s) => s.location.pathname }); const isTrainingRunning = useTrainingRuntimeStore((s) => s.isTrainingRunning); - const [logoHovered, setLogoHovered] = useState(false); const [mobileOpen, setMobileOpen] = useState(false); const tourId = getTourId(pathname); @@ -61,35 +60,18 @@ export function Navbar() {
{/* Left: logo */} -
setLogoHovered(true)} - onMouseLeave={() => setLogoHovered(false)} - > - + Unsloth - - unsloth - - - {logoHovered && ( - - )} - -
+ Unsloth + {/* Center: pill nav */}