summaryrefslogtreecommitdiff
path: root/src/ui/color.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-01-02 21:23:04 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-01-02 21:23:04 +0200
commite31f1118512282550ba484a591b23638f75d819f (patch)
tree0bcfc1c805db8784e5670c60f170307f9bda7fd0 /src/ui/color.c
parent2e856e7f61acba9beed83f80e1304252baad2e98 (diff)
SidebarWidget: Background color for remote bookmarks
Diffstat (limited to 'src/ui/color.c')
-rw-r--r--src/ui/color.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/color.c b/src/ui/color.c
index 1bab8538..dc19dd39 100644
--- a/src/ui/color.c
+++ b/src/ui/color.c
@@ -254,6 +254,12 @@ void setThemePalette_Color(enum iColorTheme theme) {
254 set_Color(uiBackgroundUnfocusedSelection_ColorId, mix_Color(get_Color(uiBackground_ColorId), 254 set_Color(uiBackgroundUnfocusedSelection_ColorId, mix_Color(get_Color(uiBackground_ColorId),
255 get_Color(uiBackgroundSelected_ColorId), 255 get_Color(uiBackgroundSelected_ColorId),
256 isDark_ColorTheme(theme) ? 0.25f : 0.66f)); 256 isDark_ColorTheme(theme) ? 0.25f : 0.66f));
257 setHsl_Color(uiBackgroundFolder_ColorId,
258 addSatLum_HSLColor(get_HSLColor(uiBackground_ColorId),
259 0,
260 theme == pureBlack_ColorTheme ? 0.075
261 : theme == dark_ColorTheme ? -0.033
262 : -0.075));
257 palette_[uiMarked_ColorId].a = 128; 263 palette_[uiMarked_ColorId].a = 128;
258 palette_[uiMatching_ColorId].a = 128; 264 palette_[uiMatching_ColorId].a = 128;
259} 265}