Skip to content

Commit

Permalink
Incorporated feature mzeryck#151
Browse files Browse the repository at this point in the history
  • Loading branch information
epizzarello committed Jul 19, 2022
1 parent 6bae463 commit b398451
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion weather-cal-code.js
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ const weatherCal = {
colorItem.textColor = reminder.calendar.color
}

if (reminder.isOverdue) { title.textColor = Color.red() }
if (reminder.isOverdue) { title.textColor = new Color(reminderSettings.overdueColor || "ff3b30") }
if (reminder.isOverdue || !reminder.dueDate) { continue }

let timeText
Expand Down Expand Up @@ -2237,6 +2237,11 @@ const weatherCal = {
name: "Show overdue reminders",
type: "bool",
},
overdueColor: {
val: "ff3b30",
name: "Overdue Color",
description: "The hex code color value for overdue reminders. Leave blank for the default red.",
},
todayOnly: {
val: false,
name: "Hide reminders due after today",
Expand Down

0 comments on commit b398451

Please sign in to comment.