From 32501909fdcdb26f0f201179945869e08e4513a7 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 19 Oct 2020 09:58:15 +0300 Subject: GmDocument: Colorful Light should be less saturated Easier on the eyes. --- src/gmdocument.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gmdocument.c b/src/gmdocument.c index c04017e5..74e53419 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c @@ -828,7 +828,7 @@ void setThemeSeed_GmDocument(iGmDocument *d, const iBlock *seed) { pink_Hue }; static const float hues[] = { 5, 25, 40, 56, 80, 120, 160, 180, 208, 231, 270, 324 }; - static const float normLum[] = { 0.65f, 0.5f, 0.4f, 0.45f, 0.3f, 0.4f, + static const float normLum[] = { 0.65f, 0.5f, 0.4f, 0.45f, 0.35f, 0.45f, 0.35f, 0.35f, 0.55f, 0.7f, 0.7f, 0.65f }; static const struct { int index[2]; @@ -912,8 +912,9 @@ void setThemeSeed_GmDocument(iGmDocument *d, const iBlock *seed) { base.sat -= 0.25f; } if (primIndex == 3) { - base.sat -= 0.4f; + base.sat -= 0.2f; } + base.sat *= 0.8f; setHsl_Color(tmBackground_ColorId, base); set_Color(tmParagraph_ColorId, get_Color(black_ColorId)); set_Color(tmFirstParagraph_ColorId, get_Color(black_ColorId)); -- cgit v1.2.3