@@ -197,85 +197,19 @@ std::string configurationDefaults =
197197 " \n "
198198 " # Color controls.\n "
199199 " color=1 # Enable color\n "
200+ #ifdef TASK_TEST_RCDIR
201+ " include " TASK_TEST_RCDIR
202+ " /default.theme\n "
203+ #else
204+ " include default.theme\n "
205+ #endif
200206 " \n "
201207 " # Here is the rule precedence order, highest to lowest.\n "
202208 " # Note that these are just the color rule names, without the leading 'color.'\n "
203209 " # and any trailing '.value'.\n "
204210 " rule.precedence.color=deleted,completed,active,keyword.,tag.,project.,overdue,scheduled,due."
205211 " today,due,blocked,blocking,recurring,tagged,uda.\n "
206212 " \n "
207- " # General decoration\n "
208- " rule.color.merge=1\n "
209- " color.label=\n "
210- " color.label.sort=\n "
211- " color.alternate=on gray2\n "
212- " color.header=color3\n "
213- " color.footnote=color3\n "
214- " color.warning=bold red\n "
215- " color.error=white on red\n "
216- " color.debug=color4\n "
217- " \n "
218- " # Task state\n "
219- " color.completed=\n "
220- " color.deleted=\n "
221- " color.active=rgb555 on rgb410\n "
222- " color.recurring=rgb013\n "
223- " color.scheduled=on rgb001\n "
224- " color.until=\n "
225- " color.blocked=white on color8\n "
226- " color.blocking=black on color15\n "
227- " \n "
228- " # Project\n "
229- " color.project.none=\n "
230- " \n "
231- " # Priority UDA\n "
232- " color.uda.priority.H=color255\n "
233- " color.uda.priority.L=color245\n "
234- " color.uda.priority.M=color250\n "
235- " \n "
236- " # Tags\n "
237- " color.tag.next=rgb440\n "
238- " color.tag.none=\n "
239- " color.tagged=rgb031\n "
240- " \n "
241- " # Due\n "
242- " color.due.today=rgb400\n "
243- " color.due=color1\n "
244- " color.overdue=color9\n "
245- " \n "
246- " # Report: burndown\n "
247- " color.burndown.done=on rgb010\n "
248- " color.burndown.pending=on color9\n "
249- " color.burndown.started=on color11\n "
250- " \n "
251- " # Report: history\n "
252- " color.history.add=color0 on rgb500\n "
253- " color.history.delete=color0 on rgb550\n "
254- " color.history.done=color0 on rgb050\n "
255- " \n "
256- " # Report: summary\n "
257- " color.summary.background=white on color0\n "
258- " color.summary.bar=black on rgb141\n "
259- " \n "
260- " # Command: calendar\n "
261- " color.calendar.due.today=color15 on color1\n "
262- " color.calendar.due=color0 on color1\n "
263- " color.calendar.holiday=color0 on color11\n "
264- " color.calendar.scheduled=rgb013 on color15\n "
265- " color.calendar.overdue=color0 on color9\n "
266- " color.calendar.today=color15 on rgb013\n "
267- " color.calendar.weekend=on color235\n "
268- " color.calendar.weeknumber=rgb013\n "
269- " \n "
270- " # Command: sync\n "
271- " color.sync.added=rgb010\n "
272- " color.sync.changed=color11\n "
273- " color.sync.rejected=color9\n "
274- " \n "
275- " # Command: undo\n "
276- " color.undo.after=color2\n "
277- " color.undo.before=color1\n "
278- " \n "
279213 " # UDA priority\n "
280214 " uda.priority.type=string # UDA priority is a string type\n "
281215 " uda.priority.label=Priority # UDA priority has a display label'\n "
@@ -1197,6 +1131,7 @@ void Context::createDefaultConfig() {
11971131 << " \n #data.location=~/.local/share/task\n "
11981132 << " #hooks.location=~/.config/task/hooks\n "
11991133 << " \n # Color theme (uncomment one to use)\n "
1134+ << " include default.theme\n "
12001135 << " #include light-16.theme\n "
12011136 << " #include light-256.theme\n "
12021137 << " #include bubblegum-256.theme\n "
0 commit comments