summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-10-09 12:45:35 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-10-09 12:45:35 +0300
commiteefcb39068773e51a57f908f3f0fe190938b58b2 (patch)
treef3288f85711bf6b2cdac5570a2fc44293d5220be /src
parent52b6013cc01e17f4b500ea79fb786ccc14b1f7ec (diff)
Color: Adjusted sidebar folder background
The light theme folder backgrounds were a tad dark.
Diffstat (limited to 'src')
-rw-r--r--src/ui/color.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui/color.c b/src/ui/color.c
index 4f275ae5..0f7d4368 100644
--- a/src/ui/color.c
+++ b/src/ui/color.c
@@ -309,9 +309,10 @@ void setThemePalette_Color(enum iColorTheme theme) {
309 setHsl_Color(uiBackgroundFolder_ColorId, 309 setHsl_Color(uiBackgroundFolder_ColorId,
310 addSatLum_HSLColor(get_HSLColor(uiBackgroundSidebar_ColorId), 310 addSatLum_HSLColor(get_HSLColor(uiBackgroundSidebar_ColorId),
311 0, 311 0,
312 theme == pureBlack_ColorTheme ? -1 312 theme == pureBlack_ColorTheme ? -1
313 : theme == dark_ColorTheme ? -0.04 313 : theme == dark_ColorTheme ? -0.04
314 : -0.075)); 314 : theme == pureWhite_ColorTheme ? -0.04
315 : -0.055));
315 set_Color(uiTextShortcut_ColorId, mix_Color(get_Color(uiTextShortcut_ColorId), 316 set_Color(uiTextShortcut_ColorId, mix_Color(get_Color(uiTextShortcut_ColorId),
316 get_Color(uiBackground_ColorId), 317 get_Color(uiBackground_ColorId),
317 0.4f)); 318 0.4f));