From 38bff563aef536f840076121e64ef71461263766 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 8 Apr 2024 18:51:45 +0200 Subject: [PATCH] use slighter darker shades for send button in dark theme --- .../eu/siacs/conversations/ui/util/SendButtonTool.java | 8 ++++---- src/main/res/values/colors-md.xml | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/util/SendButtonTool.java b/src/main/java/eu/siacs/conversations/ui/util/SendButtonTool.java index 5cc1dc09e..32af14abc 100644 --- a/src/main/java/eu/siacs/conversations/ui/util/SendButtonTool.java +++ b/src/main/java/eu/siacs/conversations/ui/util/SendButtonTool.java @@ -119,20 +119,20 @@ public class SendButtonTool { case ONLINE, CHAT -> MaterialColors.harmonizeWithPrimary( view.getContext(), 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( view.getContext(), 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( view.getContext(), ContextCompat.getColor( view.getContext(), - nightMode ? R.color.orange_200 : R.color.orange_800)); + nightMode ? R.color.orange_300 : R.color.orange_800)); case DND -> MaterialColors.harmonizeWithPrimary( view.getContext(), ContextCompat.getColor( - view.getContext(), nightMode ? R.color.red_200 : R.color.red_800)); + view.getContext(), nightMode ? R.color.red_300 : R.color.red_800)); }; } } diff --git a/src/main/res/values/colors-md.xml b/src/main/res/values/colors-md.xml index fa4c60711..42f355236 100644 --- a/src/main/res/values/colors-md.xml +++ b/src/main/res/values/colors-md.xml @@ -10,6 +10,7 @@ #ffC8E6C9 #ffA5D6A7 + #ff81C784 #ff4CAF50 #ff43A047 #ff388E3C @@ -17,17 +18,20 @@ #ffFFECB3 #ffFFE082 + #ffFFD54F #ffFFA000 #ffFF8F00 #ffFFE0B2 #ffFFCC80 + #ffFFB74D #ffff9800 #ffF57C00 #ffEF6C00 #ffFFCDD2 #ffEF9A9A + #ffE57373 #ffF44336 #ffD32F2F #ffC62828