From 79c439fbe3779a3100aaaa05688de6286dbba018 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi
Date: Sat, 27 Nov 2021 07:32:33 +0200
Subject: [PATCH 1/1] GmDocument: Changed heading 3 to semibold
The bold weight was a little bit too strong compared to the regular-weight level 2 headings.
src/gmdocument.c | 2 +-
src/ui/text.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gmdocument.c b/src/gmdocument.c
index b18e86d1..0c18efc2 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -216,7 +216,7 @@ static void initTheme_GmDocument_(iGmDocument *d) {
theme->fonts[quote_GmLineType] = isMono ? monospaceParagraph_FontId : quote_FontId;
theme->fonts[heading1_GmLineType] = FONT_ID(headingFont, bold_FontStyle, contentHuge_FontSize);
theme->fonts[heading2_GmLineType] = FONT_ID(headingFont, regular_FontStyle, contentLarge_FontSize);
theme->fonts[link_GmLineType] = FONT_ID(
bodyFont,
((isDarkBg && prefs->boldLinkDark) || (!isDarkBg && prefs->boldLinkLight)) ? semiBold_FontStyle
diff --git a/src/ui/text.h b/src/ui/text.h
index 63499484..c6568025 100644
--- a/src/ui/text.h
+++ b/src/ui/text.h
@@ -72,7 +72,7 @@ enum iFontId {
quote_FontId = FONT_ID(documentBody_FontId, italic_FontStyle, contentRegular_FontSize),
heading1_FontId = FONT_ID(documentHeading_FontId, bold_FontStyle, contentHuge_FontSize),
heading2_FontId = FONT_ID(documentHeading_FontId, regular_FontStyle, contentLarge_FontSize),
banner_FontId = FONT_ID(documentHeading_FontId, light_FontStyle, contentLarge_FontSize),
monospaceParagraph_FontId = FONT_ID(documentMonospace_FontId, regular_FontStyle, contentRegular_FontSize),
monospaceBold_FontId = FONT_ID(documentMonospace_FontId, semiBold_FontStyle, contentRegular_FontSize),
--
2.25.1
text/plain
This content has been proxied by September (ba2dc).