aboutsummaryrefslogtreecommitdiff
path: root/src/views.rs
diff options
context:
space:
mode:
authorJordan Jennings <[email protected]>2020-07-25 05:59:53 +0100
committerJordan Jennings <[email protected]>2020-07-25 05:59:53 +0100
commit7f65b6960b300727bc16dedc39d5793d4ea83a0a (patch)
tree3a513fdf6bc20127080c8868f2cc940f4cd0ec98 /src/views.rs
parent2dafbfe51b2b4ebafc21fe68a9b909ebe3a4e23b (diff)
Add support for configuration file
Diffstat (limited to 'src/views.rs')
-rw-r--r--src/views.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/views.rs b/src/views.rs
index da077ac..7adf8c6 100644
--- a/src/views.rs
+++ b/src/views.rs
@@ -36,9 +36,9 @@ where
36 let year = now.year(); 36 let year = now.year();
37 let month = now.month(); 37 let month = now.month();
38 38
39 let goal_reached_style = Style::from(CONFIGURATION.reached_color); 39 let goal_reached_style = Style::from(CONFIGURATION.reached_color());
40 let todo_style = Style::from(CONFIGURATION.todo_color); 40 let todo_style = Style::from(CONFIGURATION.todo_color());
41 let future_style = Style::from(CONFIGURATION.future_color); 41 let future_style = Style::from(CONFIGURATION.future_color());
42 42
43 let strikethrough = Style::from(Effect::Strikethrough); 43 let strikethrough = Style::from(Effect::Strikethrough);
44 44