summaryrefslogtreecommitdiff
path: root/src/gmdocument.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-10-11 15:08:58 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-10-11 15:08:58 +0300
commit52cb8a8d24408e21101dfe9465cf28eaaf287c13 (patch)
treee4478056836ec4b90163949f91150d58f863a2a6 /src/gmdocument.c
parent883bb6aa9931eca1a2f22e691ed49f2ef9ccb8cb (diff)
Added two serif fonts; minor color tweaks
Added the EB Garamond and Literata fonts as serif font choices.
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r--src/gmdocument.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index e2696085..f800f6ed 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -799,9 +799,9 @@ void setThemeSeed_GmDocument(iGmDocument *d, const iBlock *seed) {
799 799
800 if (delta_Color(get_Color(tmHeading3_ColorId), get_Color(tmParagraph_ColorId)) <= 80) { 800 if (delta_Color(get_Color(tmHeading3_ColorId), get_Color(tmParagraph_ColorId)) <= 80) {
801 /* Smallest headings may be too close to body text color. */ 801 /* Smallest headings may be too close to body text color. */
802 iHSLColor clr = get_HSLColor(tmParagraph_ColorId); 802// iHSLColor clr = get_HSLColor(tmParagraph_ColorId);
803 clr.lum = iMax(0.5f, clr.lum - 0.15f); 803// clr.lum = iMax(0.5f, clr.lum - 0.15f);
804 setHsl_Color(tmParagraph_ColorId, clr); 804 //setHsl_Color(tmParagraph_ColorId, clr);
805 setHsl_Color(tmHeading3_ColorId, 805 setHsl_Color(tmHeading3_ColorId,
806 addSatLum_HSLColor(get_HSLColor(tmHeading3_ColorId), 0, 0.15f)); 806 addSatLum_HSLColor(get_HSLColor(tmHeading3_ColorId), 0, 0.15f));
807 } 807 }