Calendar view: adjust color palette to avoid pure black bars (#9739)

This commit is contained in:
weijiuqiao
2022-11-08 01:38:09 +08:00
committed by GitHub
parent eb1e084d93
commit 74eb001eca

View File

@@ -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()