From 6efd3299feb285b254e3dc2a095bfebadf45837f Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 5 Jul 2010 17:56:44 -0400 Subject: [PATCH] Default Theme - Linux now uses dark-256 equivalent, when a new .taskrc file is created. --- src/Config.cpp | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/src/Config.cpp b/src/Config.cpp index 6d7156b51..8b31ef58e 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -96,6 +96,48 @@ std::string Config::defaults = "\n" "# Color controls.\n" "color=on # Enable color\n" +#ifdef LINUX + "color.header=color3 # Color of header messages\n" + "color.footnote=color3 # Color of footnote messages\n" + "color.debug=color3 # Color of diagnostic output\n" + "\n" + "color.summary.bar=on rgb141 # Color of summary report progress bar\n" + "color.summary.background=on color0 # Color of summary report background\n" + "\n" + "color.history.add=color0 on rgb500 # Color of added tasks in ghistory report\n" + "color.history.done=color0 on rgb050 # Color of completed tasks in ghistory report\n" + "color.history.delete=color0 on rgb550 # Color of deleted tasks in ghistory report\n" + "\n" + "color.undo.before=color1 # Color of values before a change\n" + "color.undo.after=color2 # Color of values after a change\n" + "\n" + "color.calendar.today=color0 on rgb053 # Color of today in calendar\n" + "color.calendar.due=color0 on color1 # Color of days with due tasks in calendar\n" + "color.calendar.due.today=color15 on color1 # Color of today with due tasks in calendar\n" + "color.calendar.overdue=color0 on color9 # Color of days with overdue tasks in calendar\n" + "color.calendar.weekend=color235 # Color of weekend days in calendar\n" + "color.calendar.holiday=color0 on color11 # Color of public holidays in calendar\n" + "color.calendar.weeknumber=rgb013 # Color of the weeknumbers in calendar\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" + "# it has in determining the color for the task. Precedence is shown\n" + "# in brackets [1]\n" + "color.recurring=rgb013 # [1] Color of recur.any: tasks\n" + "color.overdue=color9 # [2] Color of overdue tasks\n" + "color.due.today=rgb400 # [3] Color of tasks due today\n" + "color.due=color1 # [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=rgb555 on rgb410 # [8] Color of active tasks\n" + "color.pri.none= # [9] Color of priority: tasks\n" + "color.pri.H=rgb255 # [9] Color of priority:H tasks\n" + "color.pri.M=rgb250 # [9] Color of priority:M tasks\n" + "color.pri.L=rgb245 # [9] Color of priority:L tasks\n" + "color.tagged=rgb031 # [10] Color of tagged tasks\n" + "color.alternate=on color233 # [11] Alternate color for line coloring\n" +#else "color.header=yellow # Color of header messages\n" "color.footnote=yellow # Color of footnote messages\n" "color.debug=yellow # Color of diagnostic output\n" @@ -136,6 +178,7 @@ std::string Config::defaults = "color.pri.L= # [9] Color of priority:L tasks\n" "color.tagged=green # [10] Color of tagged tasks\n" "color.alternate= # [11] Alternate color for line coloring\n" +#endif "\n" "# Shadow file support\n" "#shadow.file=/tmp/shadow.txt # Location of shadow file\n"