HaikuArchives / Calendar

:calendar: A native Calendar application for Haiku.
MIT License
29 stars 20 forks source link

Tint calendar highlight color per "busyness" #107

Closed JadedCtrl closed 2 years ago

JadedCtrl commented 2 years ago

Days with events are highlighted with a tinted color based on how many events are scheduled for that day, heatmap-style. An attempt at #106.

Busy days have their backgrounds set to a tinted B_LIST_BACKGROUND_COLOR, the current highlight color, varying based on the amount of events (with four different tints: 1, 2, 3-4, 5+).

I ended up changing the selection color to B_LINK_ACTIVE_COLOR, since the tinted backgrounds are a bittt close to B_LIST_SELECTED_BACKGROUND_COLOR in the "Haiku" theme.

haiku dark-flat moz-modern