From 03d2ff354578b89bfdf4fb92d0efb4394bcfe97a Mon Sep 17 00:00:00 2001 From: usrnk1 <7547651+usrnk1@users.noreply.github.com> Date: Wed, 24 Jun 2026 15:53:10 +0200 Subject: [PATCH] heading color fix --- .../session-ui/src/components/markdown.css | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/packages/session-ui/src/components/markdown.css b/packages/session-ui/src/components/markdown.css index 3667aa6187..9e2aebeaff 100644 --- a/packages/session-ui/src/components/markdown.css +++ b/packages/session-ui/src/components/markdown.css @@ -30,14 +30,30 @@ margin-bottom: 0; } - /* Headings: Same size, distinguished by color and spacing */ - h1, - h2, + /* Headings: Sized by level, distinguished by color and spacing */ + h1 { + font-size: 17px; + color: var(--v2-text-text-base); + font-weight: 600; + margin-top: 0px; + margin-bottom: 24px; + line-height: var(--line-height-large); + } + + h2 { + font-size: 15px; + color: var(--v2-text-text-base); + font-weight: 600; + margin-top: 0px; + margin-bottom: 24px; + line-height: var(--line-height-large); + } + h3, h4, h5, h6 { - font-size: 14px; + font-size: 13px; color: var(--v2-text-text-base); font-weight: var(--font-weight-medium); margin-top: 0px;