From a3de61a1415b88ebd473dfb95fc1f07de125073b Mon Sep 17 00:00:00 2001 From: Johnny Date: Sat, 5 Jul 2025 11:40:49 +0800 Subject: [PATCH] chore: fix dark mode --- web/src/components/Inbox/MemoCommentMessage.tsx | 4 ++-- web/src/components/MemoAttachmentListView.tsx | 10 ++-------- web/src/components/MemoContent/CodeBlock.tsx | 2 +- .../MemoContent/EmbeddedContent/EmbeddedMemo.tsx | 2 +- .../MemoDetailSidebar/MemoDetailSidebarDrawer.tsx | 2 +- .../MemoEditor/ActionButton/MarkdownMenu.tsx | 4 ++-- web/src/components/MemoEditor/AttachmentListView.tsx | 2 +- web/src/components/MemoEditor/RelationListView.tsx | 2 +- web/src/components/MemoRelationListView.tsx | 2 +- web/src/components/Navigation.tsx | 4 ++-- web/src/components/ReactionView.tsx | 2 +- web/src/components/SearchBar.tsx | 2 +- web/src/components/Settings/SSOSection.tsx | 6 +++--- web/src/components/Settings/SectionMenuItem.tsx | 2 +- web/src/layouts/RootLayout.tsx | 4 +--- 15 files changed, 21 insertions(+), 29 deletions(-) diff --git a/web/src/components/Inbox/MemoCommentMessage.tsx b/web/src/components/Inbox/MemoCommentMessage.tsx index 4dfb92e53..7a1b1e1e0 100644 --- a/web/src/components/Inbox/MemoCommentMessage.tsx +++ b/web/src/components/Inbox/MemoCommentMessage.tsx @@ -76,7 +76,7 @@ const MemoCommentMessage = observer(({ inbox }: Props) => { "shrink-0 mt-2 p-2 rounded-full border", inbox.status === Inbox_Status.UNREAD ? "border-primary text-primary bg-primary/10" - : "border-muted-foreground text-muted-foreground bg-secondary", + : "border-muted-foreground text-muted-foreground bg-popover", )} > @@ -92,7 +92,7 @@ const MemoCommentMessage = observer(({ inbox }: Props) => {
diff --git a/web/src/components/MemoAttachmentListView.tsx b/web/src/components/MemoAttachmentListView.tsx index 67ac5b4a7..9bf75d798 100644 --- a/web/src/components/MemoAttachmentListView.tsx +++ b/web/src/components/MemoAttachmentListView.tsx @@ -34,10 +34,7 @@ const MemoAttachmentListView = ({ attachments = [] }: { attachments: Attachment[ if (type === "image/*") { return ( handleImageClick(attachmentUrl)} decoding="async" @@ -47,10 +44,7 @@ const MemoAttachmentListView = ({ attachments = [] }: { attachments: Attachment[ } else if (type === "video/*") { return (