Skip to content

Commit 4fbeb6a

Browse files
committed
🐛 Change the color of citation background
1 parent bd95695 commit 4fbeb6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/components/ui/markdownRenderer.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ interface MarkdownRendererProps {
1818

1919
// Get background color for different tool signs
2020
const getBackgroundColor = (toolSign: string) => {
21-
// Use unified light gray background for numeric-only format
22-
return '#f0f0f0';
21+
// Use unified blue background for numeric-only format
22+
return '#e3f2fd';
2323
};
2424

2525
// Replace the original LinkIcon component
@@ -390,7 +390,7 @@ export const MarkdownRenderer: React.FC<MarkdownRendererProps> = ({
390390
</p>
391391
),
392392
blockquote: ({children}: any) => (
393-
<blockquote className="border-l-4 border-blue-300 pl-4 py-2 my-4 bg-gray-50 italic text-base leading-relaxed">
393+
<blockquote className="border-l-4 border-gray-300 pl-4 py-2 my-4 bg-gray-50 italic text-base leading-relaxed">
394394
<TextWrapper>{children}</TextWrapper>
395395
</blockquote>
396396
),

0 commit comments

Comments
 (0)