color.due.today and color.calendar.due.today

- tasks due on the current day ("today") can now be colorized with
  their own color.
- this is for reports and the calendar
This commit is contained in:
Federico Hernandez 2010-02-12 00:21:52 +01:00
parent adb72ef023
commit 4adfec4482
8 changed files with 131 additions and 29 deletions

View file

@ -82,16 +82,17 @@ std::string Config::defaults =
"#monthsperline=3 # Number of calendar months on a line\n"
"\n"
"# Color controls.\n"
"color=on # Enable color\n"
"#color.header=bold green # Color of header messages\n"
"#color.footnote=bold green # Color of footnote messages\n"
"color.calendar.today=black on cyan # Color of today in calendar\n"
"color.calendar.due=black on green # Color of days with due tasks in calendar\n"
"color.calendar.overdue=black on red # Color of days with overdue tasks in calendar\n"
"color=on # Enable color\n"
"#color.header=bold green # Color of header messages\n"
"#color.footnote=bold green # Color of footnote messages\n"
"color.calendar.today=black on cyan # Color of today in calendar\n"
"color.calendar.due=black on green # Color of days with due tasks in calendar\n"
"color.calendar.due.today=black on magenta # Color of days with due tasks in calendar\n"
"color.calendar.overdue=black on red # Color of days with overdue tasks in calendar\n"
"color.calendar.weekend=bright white on black # Color of weekend days in calendar\n"
"color.calendar.holiday=black on bright yellow # Color of public holidays in calendar\n"
"color.calendar.weeknumber=black on white # Color of the weeknumbers in calendar\n"
"#color.debug=magenta # Color of diagnostic output\n"
"#color.debug=magenta # Color of diagnostic output\n"
"\n"
"# The following rules are presented in their order of precedence.\n"
"# The higher the color rule is up this list, the higher precedence\n"
@ -99,17 +100,18 @@ std::string Config::defaults =
"# in brackets [1]\n"
"#color.recurring=on red # [1] Color of recur.any: tasks\n"
"color.overdue=bold red # [2] Color of overdue tasks\n"
"color.due=bold yellow # [3] Color of due tasks\n"
"#color.keyword.car=on blue # [4] Color of description.contains:car tasks\n"
"#color.project.garden=on green # [5] Color of project:garden tasks\n"
"#color.tag.bug=yellow # [6] Color of +bug tasks\n"
"color.active=bold cyan # [7] Color of active tasks\n"
"#color.pri.none=white on blue # [8] Color of priority: tasks\n"
"color.pri.H=bold # [8] Color of priority:H tasks\n"
"#color.pri.M=on yellow # [8] Color of priority:M tasks\n"
"#color.pri.L=on green # [8] Color of priority:L tasks\n"
"color.tagged=yellow # [9] Color of tagged tasks\n"
"#color.alternate=on rgb253 # [10] Alternate color for line coloring\n"
"color.due.today=bold magenta # [3] Color of tasks due today\n"
"color.due=bold yellow # [4] Color of due tasks\n"
"#color.keyword.car=on blue # [5] Color of description.contains:car tasks\n"
"#color.project.garden=on green # [6] Color of project:garden tasks\n"
"#color.tag.bug=yellow # [7] Color of +bug tasks\n"
"color.active=bold cyan # [8] Color of active tasks\n"
"#color.pri.none=white on blue # [9] Color of priority: tasks\n"
"color.pri.H=bold # [9] Color of priority:H tasks\n"
"#color.pri.M=on yellow # [9] Color of priority:M tasks\n"
"#color.pri.L=on green # [9] Color of priority:L tasks\n"
"color.tagged=yellow # [10] Color of tagged tasks\n"
"#color.alternate=on rgb253 # [11] Alternate color for line coloring\n"
"\n"
"# Shadow file support\n"
"#shadow.file=/tmp/shadow.txt # Location of shadow file\n"