diff --git a/gui.lua b/gui.lua index 4441a0b..acb4b51 100644 --- a/gui.lua +++ b/gui.lua @@ -7,6 +7,7 @@ end local F = minetest.formspec_escape local COLOR_HOLIDAY = "#00FF00" +local COLOR_DAYBOX_HOLIDAY = "#00200080" local COLOR_DAYBOX = "#00000080" local COLOR_DAYBOX_TODAY = "#FFFFFF80" @@ -83,6 +84,7 @@ function calendar.show_calendar(player_name, settings, wanted_months, wanted_yea if #holidays > 0 then table.insert(tooltip_lines, minetest.colorize(COLOR_HOLIDAY, holidays[1].name)) day_str = minetest.colorize(COLOR_HOLIDAY, day_str) + box_color = COLOR_DAYBOX_HOLIDAY end if tdays == total_days then box_color = COLOR_DAYBOX_TODAY