From e1190fd9bf171a3e95215bacb9bbeb217d7b4a1a Mon Sep 17 00:00:00 2001
From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Date: Wed, 2 Nov 2022 05:52:00 +0530
Subject: [PATCH] fix: Text colour is getting merged with the light background
colour (#5773)
---
app/javascript/shared/components/CardButton.vue | 10 +++++++++-
app/javascript/shared/components/ChatForm.vue | 10 +++++++++-
.../shared/components/CustomerSatisfaction.vue | 10 +++++++++-
app/javascript/widget/components/UserMessageBubble.vue | 8 +++++++-
.../widget/components/template/EmailInput.vue | 10 +++++++++-
5 files changed, 43 insertions(+), 5 deletions(-)
diff --git a/app/javascript/shared/components/CardButton.vue b/app/javascript/shared/components/CardButton.vue
index 981c6f93d..9eb443568 100644
--- a/app/javascript/shared/components/CardButton.vue
+++ b/app/javascript/shared/components/CardButton.vue
@@ -4,7 +4,11 @@
:key="action.uri"
class="action-button button"
:href="action.uri"
- :style="{ background: widgetColor, borderColor: widgetColor }"
+ :style="{
+ background: widgetColor,
+ borderColor: widgetColor,
+ color: textColor,
+ }"
target="_blank"
rel="noopener nofollow noreferrer"
>
@@ -22,6 +26,7 @@
diff --git a/app/javascript/widget/components/template/EmailInput.vue b/app/javascript/widget/components/template/EmailInput.vue
index 054508313..8c7e3adf6 100644
--- a/app/javascript/widget/components/template/EmailInput.vue
+++ b/app/javascript/widget/components/template/EmailInput.vue
@@ -16,7 +16,11 @@