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

reviewable/pr9763/r1
weijiuqiao 2 years ago committed by GitHub
parent eb1e084d93
commit 74eb001eca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save