Skip to content

Commit 673156d

Browse files
fix light mode
1 parent 28887cc commit 673156d

5 files changed

Lines changed: 4 additions & 294 deletions

File tree

packages/web/src/app/(app)/@sidebar/components/defaultSidebar/chatHistory.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export function ChatHistory({ chatHistory }: ChatHistoryProps) {
8989
return (
9090
<>
9191
<SidebarGroup className="group-data-[state=collapsed]:hidden">
92-
<SidebarGroupLabel className="text-muted-foreground">Recent Chats</SidebarGroupLabel>
92+
<SidebarGroupLabel className="text-muted-foreground whitespace-nowrap">Recent Chats</SidebarGroupLabel>
9393
<SidebarGroupContent>
9494
<SidebarMenu>
9595
{chatHistory.map((chat) => (

packages/web/src/app/(app)/browse/components/bottomPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export const BottomPanel = ({ order }: BottomPanelProps) => {
8282
</Button>
8383
)}
8484
</div>
85-
<Separator />
85+
{!isBottomPanelCollapsed && <Separator />}
8686
<ResizablePanel
8787
minSize={BOTTOM_PANEL_MIN_SIZE}
8888
maxSize={BOTTOM_PANEL_MAX_SIZE}

packages/web/src/app/(app)/chat/components/chatSidePanel.tsx

Lines changed: 0 additions & 290 deletions
This file was deleted.

packages/web/src/app/(app)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export default async function Layout(props: LayoutProps) {
182182
<SidebarProvider defaultOpen={cookieStore.get("sidebar_state")?.value !== "false"}>
183183
{sidebar}
184184
<div className="flex-1 min-h-0 flex flex-col pt-2 pb-2 pr-2">
185-
<div className="flex-1 min-h-0 bg-background flex flex-col border border-[#1d1d1f] rounded-xl">
185+
<div className="flex-1 min-h-0 bg-background flex flex-col border border-[#e6e6e6] dark:border-[#1d1d1f] rounded-xl">
186186
<div className="flex-1 min-h-0 overflow-y-auto">
187187
{children}
188188
</div>

packages/web/src/app/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
--sidebar-border: hsl(220 13% 91%);
5454
--sidebar-ring: hsl(217.2 91.2% 59.8%);
5555
--link: hsl(217, 91%, 60%);
56-
--shell: hsl(253, 23%, 92%);
56+
--shell: hsl(0 0% 98%);
5757

5858
--editor-font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
5959
--editor-font-size: 13px;

0 commit comments

Comments
 (0)