From 95cef506caf9ecdb8718e06db8fa92c939f2aff3 Mon Sep 17 00:00:00 2001 From: chenhaoli Date: Fri, 21 Mar 2025 20:01:30 +0800 Subject: [PATCH] refactor(agent-tars): enhance markdown font rendering --- apps/agent-tars/src/renderer/src/index.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/apps/agent-tars/src/renderer/src/index.scss b/apps/agent-tars/src/renderer/src/index.scss index 19228abf3..999547c13 100644 --- a/apps/agent-tars/src/renderer/src/index.scss +++ b/apps/agent-tars/src/renderer/src/index.scss @@ -193,3 +193,16 @@ body { .animate-spin-slow { animation: spin 3s linear infinite; } + + +// This style modifies the default font rendering +// in the chat ui to make it darker and thinner. +#root { + .markdown-body p { + margin: 0 0 0.3em; + line-height: 1.5; + color: var(--text-primary); + font-weight: 300; + font-size: 16px; + } +} \ No newline at end of file