diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-11-27 07:32:33 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-11-27 07:35:31 +0200 |
commit | 56f714617cd9244fe188db3117fa7315593324f9 (patch) | |
tree | 8e862cefd3cdb1b502da30ba046d107b9c730de0 /src | |
parent | 44dbcf1c1a93d768ea3b1422e979cd202c3efc99 (diff) |
GmDocument: Changed heading 3 to semibold
The bold weight was a little bit too strong compared to the regular-weight level 2 headings.
Diffstat (limited to 'src')
-rw-r--r-- | src/gmdocument.c | 2 | ||||
-rw-r--r-- | 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) { | |||
216 | theme->fonts[quote_GmLineType] = isMono ? monospaceParagraph_FontId : quote_FontId; | 216 | theme->fonts[quote_GmLineType] = isMono ? monospaceParagraph_FontId : quote_FontId; |
217 | theme->fonts[heading1_GmLineType] = FONT_ID(headingFont, bold_FontStyle, contentHuge_FontSize); | 217 | theme->fonts[heading1_GmLineType] = FONT_ID(headingFont, bold_FontStyle, contentHuge_FontSize); |
218 | theme->fonts[heading2_GmLineType] = FONT_ID(headingFont, regular_FontStyle, contentLarge_FontSize); | 218 | theme->fonts[heading2_GmLineType] = FONT_ID(headingFont, regular_FontStyle, contentLarge_FontSize); |
219 | theme->fonts[heading3_GmLineType] = FONT_ID(headingFont, bold_FontStyle, contentBig_FontSize); | 219 | theme->fonts[heading3_GmLineType] = FONT_ID(headingFont, semiBold_FontStyle, contentBig_FontSize); |
220 | theme->fonts[link_GmLineType] = FONT_ID( | 220 | theme->fonts[link_GmLineType] = FONT_ID( |
221 | bodyFont, | 221 | bodyFont, |
222 | ((isDarkBg && prefs->boldLinkDark) || (!isDarkBg && prefs->boldLinkLight)) ? semiBold_FontStyle | 222 | ((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 { | |||
72 | quote_FontId = FONT_ID(documentBody_FontId, italic_FontStyle, contentRegular_FontSize), | 72 | quote_FontId = FONT_ID(documentBody_FontId, italic_FontStyle, contentRegular_FontSize), |
73 | heading1_FontId = FONT_ID(documentHeading_FontId, bold_FontStyle, contentHuge_FontSize), | 73 | heading1_FontId = FONT_ID(documentHeading_FontId, bold_FontStyle, contentHuge_FontSize), |
74 | heading2_FontId = FONT_ID(documentHeading_FontId, regular_FontStyle, contentLarge_FontSize), | 74 | heading2_FontId = FONT_ID(documentHeading_FontId, regular_FontStyle, contentLarge_FontSize), |
75 | heading3_FontId = FONT_ID(documentHeading_FontId, bold_FontStyle, contentBig_FontSize), | 75 | heading3_FontId = FONT_ID(documentHeading_FontId, semiBold_FontStyle, contentBig_FontSize), |
76 | banner_FontId = FONT_ID(documentHeading_FontId, light_FontStyle, contentLarge_FontSize), | 76 | banner_FontId = FONT_ID(documentHeading_FontId, light_FontStyle, contentLarge_FontSize), |
77 | monospaceParagraph_FontId = FONT_ID(documentMonospace_FontId, regular_FontStyle, contentRegular_FontSize), | 77 | monospaceParagraph_FontId = FONT_ID(documentMonospace_FontId, regular_FontStyle, contentRegular_FontSize), |
78 | monospaceBold_FontId = FONT_ID(documentMonospace_FontId, semiBold_FontStyle, contentRegular_FontSize), | 78 | monospaceBold_FontId = FONT_ID(documentMonospace_FontId, semiBold_FontStyle, contentRegular_FontSize), |