summaryrefslogtreecommitdiff
path: root/src/gmdocument.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r--src/gmdocument.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index ed1d1cae..d140b065 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -648,8 +648,8 @@ void setThemeSeed_GmDocument(iGmDocument *d, const iBlock *seed) {
648 0.8f * (d->themeSeed >> 24) / 255.0f, 648 0.8f * (d->themeSeed >> 24) / 255.0f,
649 0.06f + 0.09f * ((d->themeSeed >> 5) & 0x7) / 7.0f, 649 0.06f + 0.09f * ((d->themeSeed >> 5) & 0x7) / 7.0f,
650 1.0f }; 650 1.0f };
651 printf("background: %d %f %f\n", (int) base.hue, base.sat, base.lum); 651// printf("background: %d %f %f\n", (int) base.hue, base.sat, base.lum);
652 printf("isDarkBgSat: %d\n", isDarkBgSat); 652// printf("isDarkBgSat: %d\n", isDarkBgSat);
653 setHsl_Color(tmBackground_ColorId, base); 653 setHsl_Color(tmBackground_ColorId, base);
654 654
655 setHsl_Color(tmBannerBackground_ColorId, addSatLum_HSLColor(base, 0.1f, 0.04f * (isBannerLighter ? 1 : -1))); 655 setHsl_Color(tmBannerBackground_ColorId, addSatLum_HSLColor(base, 0.1f, 0.04f * (isBannerLighter ? 1 : -1)));