From 74eb001eca73924a31f67cdde46fe74ce0db7722 Mon Sep 17 00:00:00 2001 From: weijiuqiao <59040746+weijiuqiao@users.noreply.github.com> Date: Tue, 8 Nov 2022 01:38:09 +0800 Subject: [PATCH] Calendar view: adjust color palette to avoid pure black bars (#9739) --- plugins/statistics.koplugin/calendarview.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/statistics.koplugin/calendarview.lua b/plugins/statistics.koplugin/calendarview.lua index ca8733edb..b1b9301bc 100644 --- a/plugins/statistics.koplugin/calendarview.lua +++ b/plugins/statistics.koplugin/calendarview.lua @@ -248,12 +248,12 @@ end local SPAN_COLORS = { { Blitbuffer.COLOR_BLACK, Blitbuffer.COLOR_WHITE }, { Blitbuffer.COLOR_BLACK, Blitbuffer.COLOR_GRAY_E }, - { Blitbuffer.COLOR_BLACK, Blitbuffer.COLOR_LIGHT_GRAY }, - { Blitbuffer.COLOR_BLACK, Blitbuffer.COLOR_GRAY }, + { Blitbuffer.COLOR_BLACK, Blitbuffer.COLOR_GRAY_D }, + { Blitbuffer.COLOR_BLACK, Blitbuffer.COLOR_GRAY_B }, { Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_GRAY_9 }, - { Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_DARK_GRAY }, + { Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_GRAY_7 }, { Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_GRAY_5 }, - { Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_BLACK }, + { Blitbuffer.COLOR_WHITE, Blitbuffer.COLOR_GRAY_3 }, } function CalendarWeek:update()