diff --git a/Habitica/res/values/colors.xml b/Habitica/res/values/colors.xml
index 8074824a8..6fcdc631b 100644
--- a/Habitica/res/values/colors.xml
+++ b/Habitica/res/values/colors.xml
@@ -12,25 +12,33 @@
#7a12f8
- #E6B8AF
- #c96652
- #F4CCCC
- #dc5d5d
+ #E6B8AF
+ #c96652
+ #c96652
- #FCE5CD
- #f4a24c
+ #FF6165
+ #F74E52
+ #F23035
- #FFF2CC
- #ffcf42
+ #FF944C
+ #FA8537
+ #F47825
- #D9EAD3
- #8bbf79
+ #FFBE5D
+ #FFB445
+ #FFA624
- #D0E0E3
- #7eaab2
+ #D9EAD3
+ #8bbf79
+ #8bbf79
- #C9DAF8
- #5288e9
+ #5AE4B2
+ #3FDAA2
+ #23CC8F
+
+ #50B5E9
+ #46A7D9
+ #2995CD
#D9D9D9
#989898
@@ -75,4 +83,6 @@
#FFF
#ffd8dcdd
+
+ #c3c2c6
\ No newline at end of file
diff --git a/Habitica/src/com/magicmicky/habitrpgwrapper/lib/models/tasks/Task.java b/Habitica/src/com/magicmicky/habitrpgwrapper/lib/models/tasks/Task.java
index 243914d51..7a92f3138 100644
--- a/Habitica/src/com/magicmicky/habitrpgwrapper/lib/models/tasks/Task.java
+++ b/Habitica/src/com/magicmicky/habitrpgwrapper/lib/models/tasks/Task.java
@@ -313,16 +313,37 @@ public class Task extends BaseModel {
public int getLightTaskColor()
{
if (this.value < -20)
- return R.color.worst;
+ return R.color.worst_100;
if (this.value < -10)
- return R.color.worse;
+ return R.color.worse_100;
if (this.value < -1)
- return R.color.bad;
+ return R.color.bad_100;
if (this.value < 5)
- return R.color.neutral;
+ return R.color.neutral_100;
if (this.value < 10)
- return R.color.better;
- return R.color.best;
+ return R.color.better_100;
+ return R.color.best_100;
+ }
+
+ /**
+ * Get the button color resources depending on a certain score
+ *
+ * @return the color resource id
+ */
+ public int getMediumTaskColor()
+ {
+ if (this.value < -20)
+ return R.color.worst_50;
+ if (this.value < -10)
+ return R.color.worse_50;
+ if (this.value < -1)
+ return R.color.bad_50;
+ if (this.value < 5)
+ return R.color.neutral_50;
+ if (this.value < 10)
+ return R.color.better_50;
+
+ return R.color.best_50;
}
/**
@@ -333,16 +354,16 @@ public class Task extends BaseModel {
public int getDarkTaskColor()
{
if (this.value < -20)
- return R.color.worst_btn;
+ return R.color.worst_10;
if (this.value < -10)
- return R.color.worse_btn;
+ return R.color.worse_10;
if (this.value < -1)
- return R.color.bad_btn;
+ return R.color.bad_10;
if (this.value < 5)
- return R.color.neutral_btn;
+ return R.color.neutral_10;
if (this.value < 10)
- return R.color.better_btn;
+ return R.color.better_10;
- return R.color.best_btn;
+ return R.color.best_10;
}
}