summaryrefslogtreecommitdiff
path: root/src/gmdocument.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-10-19 09:58:15 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-10-19 09:58:15 +0300
commit32501909fdcdb26f0f201179945869e08e4513a7 (patch)
treeab2655c04aaa6cc6fd225ed96b6af83dc8d469cc /src/gmdocument.c
parentd0f724bc627c85fdfd9c1848a3307faab966a04b (diff)
GmDocument: Colorful Light should be less saturated
Easier on the eyes.
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r--src/gmdocument.c5
1 files changed, 3 insertions, 2 deletions
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) {
828 pink_Hue 828 pink_Hue
829 }; 829 };
830 static const float hues[] = { 5, 25, 40, 56, 80, 120, 160, 180, 208, 231, 270, 324 }; 830 static const float hues[] = { 5, 25, 40, 56, 80, 120, 160, 180, 208, 231, 270, 324 };
831 static const float normLum[] = { 0.65f, 0.5f, 0.4f, 0.45f, 0.3f, 0.4f, 831 static const float normLum[] = { 0.65f, 0.5f, 0.4f, 0.45f, 0.35f, 0.45f,
832 0.35f, 0.35f, 0.55f, 0.7f, 0.7f, 0.65f }; 832 0.35f, 0.35f, 0.55f, 0.7f, 0.7f, 0.65f };
833 static const struct { 833 static const struct {
834 int index[2]; 834 int index[2];
@@ -912,8 +912,9 @@ void setThemeSeed_GmDocument(iGmDocument *d, const iBlock *seed) {
912 base.sat -= 0.25f; 912 base.sat -= 0.25f;
913 } 913 }
914 if (primIndex == 3) { 914 if (primIndex == 3) {
915 base.sat -= 0.4f; 915 base.sat -= 0.2f;
916 } 916 }
917 base.sat *= 0.8f;
917 setHsl_Color(tmBackground_ColorId, base); 918 setHsl_Color(tmBackground_ColorId, base);
918 set_Color(tmParagraph_ColorId, get_Color(black_ColorId)); 919 set_Color(tmParagraph_ColorId, get_Color(black_ColorId));
919 set_Color(tmFirstParagraph_ColorId, get_Color(black_ColorId)); 920 set_Color(tmFirstParagraph_ColorId, get_Color(black_ColorId));