From b1d7696438d36209def70a39b433b52dce71d793 Mon Sep 17 00:00:00 2001
From: chris <kokosias@yahoo.gr>
Date: Wed, 15 Nov 2023 17:16:36 +0200
Subject: [PATCH] remove color bg button

---
 editors/demo/src/Editoria/theme/theme.js                  | 1 -
 editors/demo/src/HHMI/theme/theme.js                      | 1 -
 editors/demo/src/NCBI/theme/theme.js                      | 1 -
 editors/demo/src/OEN/theme/theme.js                       | 1 -
 .../src/FindAndReplaceService/components/CheckBox.js      | 4 ++--
 .../components/ExpandedFindAndReplaceComponent.js         | 8 ++++----
 6 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/editors/demo/src/Editoria/theme/theme.js b/editors/demo/src/Editoria/theme/theme.js
index f16d1741e..934cd27fa 100644
--- a/editors/demo/src/Editoria/theme/theme.js
+++ b/editors/demo/src/Editoria/theme/theme.js
@@ -22,7 +22,6 @@ const cokoTheme = {
   colorWarning: '#ffc107',
   colorBackgroundToolBar: '#fff',
   colorSelection: '#C5D7FE',
-  colorBackgroundButton: '#0042C7',
   /* Text variables */
 
   // fonts
diff --git a/editors/demo/src/HHMI/theme/theme.js b/editors/demo/src/HHMI/theme/theme.js
index 3ba885af8..fa69883d6 100644
--- a/editors/demo/src/HHMI/theme/theme.js
+++ b/editors/demo/src/HHMI/theme/theme.js
@@ -22,7 +22,6 @@ const cokoTheme = {
   colorWarning: '#ffc107',
   colorBackgroundToolBar: '#fff',
   colorSelection: '#C5D7FE',
-  colorBackgroundButton: '#0042C7',
   /* Text variables */
 
   // fonts
diff --git a/editors/demo/src/NCBI/theme/theme.js b/editors/demo/src/NCBI/theme/theme.js
index 3ba885af8..fa69883d6 100644
--- a/editors/demo/src/NCBI/theme/theme.js
+++ b/editors/demo/src/NCBI/theme/theme.js
@@ -22,7 +22,6 @@ const cokoTheme = {
   colorWarning: '#ffc107',
   colorBackgroundToolBar: '#fff',
   colorSelection: '#C5D7FE',
-  colorBackgroundButton: '#0042C7',
   /* Text variables */
 
   // fonts
diff --git a/editors/demo/src/OEN/theme/theme.js b/editors/demo/src/OEN/theme/theme.js
index 3ba885af8..fa69883d6 100644
--- a/editors/demo/src/OEN/theme/theme.js
+++ b/editors/demo/src/OEN/theme/theme.js
@@ -22,7 +22,6 @@ const cokoTheme = {
   colorWarning: '#ffc107',
   colorBackgroundToolBar: '#fff',
   colorSelection: '#C5D7FE',
-  colorBackgroundButton: '#0042C7',
   /* Text variables */
 
   // fonts
diff --git a/wax-prosemirror-services/src/FindAndReplaceService/components/CheckBox.js b/wax-prosemirror-services/src/FindAndReplaceService/components/CheckBox.js
index 644f7ff1e..dc73345bf 100644
--- a/wax-prosemirror-services/src/FindAndReplaceService/components/CheckBox.js
+++ b/wax-prosemirror-services/src/FindAndReplaceService/components/CheckBox.js
@@ -37,7 +37,7 @@ const CheckBoxLabel = styled.label`
 
   input:checked ~ span::after {
     background-color: transparent;
-    border: solid ${th('colorBackgroundButton')};
+    border: solid ${th('colorPrimary')};
     border-radius: 0;
     border-width: 0 2px 2px 0;
     height: 12px;
@@ -66,7 +66,7 @@ const CheckboxCustom = styled.span`
   -o-transition: all 0.3s ease-out;
 
   &:after {
-    border: solid ${th('colorBackgroundButton')};
+    border: solid ${th('colorPrimary')};
     border-radius: 5px;
     border-width: 0 3px 3px 0;
     content: '';
diff --git a/wax-prosemirror-services/src/FindAndReplaceService/components/ExpandedFindAndReplaceComponent.js b/wax-prosemirror-services/src/FindAndReplaceService/components/ExpandedFindAndReplaceComponent.js
index 036b75013..9f21d3c78 100644
--- a/wax-prosemirror-services/src/FindAndReplaceService/components/ExpandedFindAndReplaceComponent.js
+++ b/wax-prosemirror-services/src/FindAndReplaceService/components/ExpandedFindAndReplaceComponent.js
@@ -97,8 +97,8 @@ const ControlContainer = styled.div`
 `;
 
 const ButtonReplace = styled.button`
-  background: ${th('colorBackgroundButton')};
-  border: 1px solid ${th('colorBackgroundButton')};
+  background: ${th('colorPrimary')};
+  border: 1px solid ${th('colorPrimary')};
   color: white;
   cursor: pointer;
   height: 42px;
@@ -108,8 +108,8 @@ const ButtonReplace = styled.button`
 
 const ButtonReplaceAll = styled.button`
   background: white;
-  border: 1px solid ${th('colorBackgroundButton')};
-  color: ${th('colorBackgroundButton')};
+  border: 1px solid ${th('colorPrimary')};
+  color: ${th('colorPrimary')};
   cursor: pointer;
   height: 42px;
   margin-right: 10px;
-- 
GitLab