From 56f714617cd9244fe188db3117fa7315593324f9 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 27 Nov 2021 07:32:33 +0200 Subject: 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[heading3_GmLineType] = FONT_ID(headingFont, bold_FontStyle, contentBig_FontSize); + theme->fonts[heading3_GmLineType] = FONT_ID(headingFont, semiBold_FontStyle, contentBig_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), - heading3_FontId = FONT_ID(documentHeading_FontId, bold_FontStyle, contentBig_FontSize), + heading3_FontId = FONT_ID(documentHeading_FontId, semiBold_FontStyle, contentBig_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), -- cgit v1.2.3