use slighter darker shades for send button in dark theme
This commit is contained in:
parent
6dd964b81b
commit
38bff563ae
|
@ -119,20 +119,20 @@ public class SendButtonTool {
|
||||||
case ONLINE, CHAT -> MaterialColors.harmonizeWithPrimary(
|
case ONLINE, CHAT -> MaterialColors.harmonizeWithPrimary(
|
||||||
view.getContext(),
|
view.getContext(),
|
||||||
ContextCompat.getColor(
|
ContextCompat.getColor(
|
||||||
view.getContext(), nightMode ? R.color.green_200 : R.color.green_800));
|
view.getContext(), nightMode ? R.color.green_300 : R.color.green_800));
|
||||||
case AWAY -> MaterialColors.harmonizeWithPrimary(
|
case AWAY -> MaterialColors.harmonizeWithPrimary(
|
||||||
view.getContext(),
|
view.getContext(),
|
||||||
ContextCompat.getColor(
|
ContextCompat.getColor(
|
||||||
view.getContext(), nightMode ? R.color.amber_200 : R.color.amber_800));
|
view.getContext(), nightMode ? R.color.amber_300 : R.color.amber_800));
|
||||||
case XA -> MaterialColors.harmonizeWithPrimary(
|
case XA -> MaterialColors.harmonizeWithPrimary(
|
||||||
view.getContext(),
|
view.getContext(),
|
||||||
ContextCompat.getColor(
|
ContextCompat.getColor(
|
||||||
view.getContext(),
|
view.getContext(),
|
||||||
nightMode ? R.color.orange_200 : R.color.orange_800));
|
nightMode ? R.color.orange_300 : R.color.orange_800));
|
||||||
case DND -> MaterialColors.harmonizeWithPrimary(
|
case DND -> MaterialColors.harmonizeWithPrimary(
|
||||||
view.getContext(),
|
view.getContext(),
|
||||||
ContextCompat.getColor(
|
ContextCompat.getColor(
|
||||||
view.getContext(), nightMode ? R.color.red_200 : R.color.red_800));
|
view.getContext(), nightMode ? R.color.red_300 : R.color.red_800));
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
<color name="green_100">#ffC8E6C9</color>
|
<color name="green_100">#ffC8E6C9</color>
|
||||||
<color name="green_200">#ffA5D6A7</color>
|
<color name="green_200">#ffA5D6A7</color>
|
||||||
|
<color name="green_300">#ff81C784</color>
|
||||||
<color name="green_500">#ff4CAF50</color>
|
<color name="green_500">#ff4CAF50</color>
|
||||||
<color name="green_600">#ff43A047</color>
|
<color name="green_600">#ff43A047</color>
|
||||||
<color name="green_700">#ff388E3C</color>
|
<color name="green_700">#ff388E3C</color>
|
||||||
|
@ -17,17 +18,20 @@
|
||||||
|
|
||||||
<color name="amber_100">#ffFFECB3</color>
|
<color name="amber_100">#ffFFECB3</color>
|
||||||
<color name="amber_200">#ffFFE082</color>
|
<color name="amber_200">#ffFFE082</color>
|
||||||
|
<color name="amber_300">#ffFFD54F</color>
|
||||||
<color name="amber_700">#ffFFA000</color>
|
<color name="amber_700">#ffFFA000</color>
|
||||||
<color name="amber_800">#ffFF8F00</color>
|
<color name="amber_800">#ffFF8F00</color>
|
||||||
|
|
||||||
<color name="orange_100">#ffFFE0B2</color>
|
<color name="orange_100">#ffFFE0B2</color>
|
||||||
<color name="orange_200">#ffFFCC80</color>
|
<color name="orange_200">#ffFFCC80</color>
|
||||||
|
<color name="orange_300">#ffFFB74D</color>
|
||||||
<color name="orange_500">#ffff9800</color>
|
<color name="orange_500">#ffff9800</color>
|
||||||
<color name="orange_700">#ffF57C00</color>
|
<color name="orange_700">#ffF57C00</color>
|
||||||
<color name="orange_800">#ffEF6C00</color>
|
<color name="orange_800">#ffEF6C00</color>
|
||||||
|
|
||||||
<color name="red_100">#ffFFCDD2</color>
|
<color name="red_100">#ffFFCDD2</color>
|
||||||
<color name="red_200">#ffEF9A9A</color>
|
<color name="red_200">#ffEF9A9A</color>
|
||||||
|
<color name="red_300">#ffE57373</color>
|
||||||
<color name="red_500">#ffF44336</color>
|
<color name="red_500">#ffF44336</color>
|
||||||
<color name="red_700">#ffD32F2F</color>
|
<color name="red_700">#ffD32F2F</color>
|
||||||
<color name="red_800">#ffC62828</color>
|
<color name="red_800">#ffC62828</color>
|
||||||
|
|
Loading…
Reference in a new issue