From 230a0dcf4522837ad84c69c204bf7ecc494a8c0b Mon Sep 17 00:00:00 2001 From: 0xPratik Date: Wed, 2 Sep 2026 19:50:10 +0545 Subject: [PATCH 1/2] Improve chat typography readability --- packages/chat-ui/src/styles.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/chat-ui/src/styles.css b/packages/chat-ui/src/styles.css index 8ed8940b0..85d026b12 100644 --- a/packages/chat-ui/src/styles.css +++ b/packages/chat-ui/src/styles.css @@ -949,7 +949,8 @@ .chat-bubble-text { margin: 0; - font-size: 0.9375rem; + font-size: 16px; + font-weight: 500; line-height: 1.55; white-space: pre-wrap; word-break: break-word; @@ -2534,8 +2535,9 @@ background: transparent; padding: 0.1rem 0.2rem; font: inherit; - font-size: 0.875rem; - line-height: 1.45; + font-size: 16px; + font-weight: 500; + line-height: 1.5; color: var(--foreground); } From 530cb2de6e9df7e633a33c1f9855f2d8881d45f0 Mon Sep 17 00:00:00 2001 From: 0xPratik Date: Thu, 3 Sep 2026 13:38:12 +0545 Subject: [PATCH 2/2] Use shared chat typography tokens --- packages/chat-ui/src/styles.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/chat-ui/src/styles.css b/packages/chat-ui/src/styles.css index e96e99356..b3e85a390 100644 --- a/packages/chat-ui/src/styles.css +++ b/packages/chat-ui/src/styles.css @@ -964,8 +964,8 @@ .chat-bubble-text { margin: 0; - font-size: 16px; - font-weight: 500; + font-size: max(var(--text-base), 16px); + font-weight: var(--font-weight-medium); line-height: 1.55; white-space: pre-wrap; word-break: break-word; @@ -2550,8 +2550,8 @@ background: transparent; padding: 0.1rem 0.2rem; font: inherit; - font-size: 16px; - font-weight: 500; + font-size: max(var(--text-base), 16px); + font-weight: var(--font-weight-medium); line-height: 1.5; color: var(--foreground); }