summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gmdocument.c2
-rw-r--r--src/ui/text.h2
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),