From ac76354f6e3df305702f8dd0023765f30c49cf3d Mon Sep 17 00:00:00 2001 From: Akmal Isomadinov Date: Fri, 4 Nov 2022 17:16:34 +0500 Subject: [PATCH] Web:Components:Utils Color name changed --- packages/components/themes/base.js | 34 +++++++++++------------ packages/components/utils/globalColors.js | 9 +++--- 2 files changed, 20 insertions(+), 23 deletions(-) diff --git a/packages/components/themes/base.js b/packages/components/themes/base.js index 364dcb32f9..c6768b5ce0 100644 --- a/packages/components/themes/base.js +++ b/packages/components/themes/base.js @@ -18,11 +18,10 @@ const { blueDisabled, blueCharcoal, - buttonLightPrimaryDefault, - buttonLightPrimaryHover, - buttonLightPrimaryPressed, - buttonLightPrimaryDisabled, - buttonLightPrimaryLoader, + blueDenim, + blueDenimTransparent, + blueMaya, + blueSky, orangeMain, orangeHover, @@ -151,30 +150,29 @@ const Base = { baseActive: grayLightMid, baseDisabled: grayLight, baseLoading: grayLight, - //primary color - primary: buttonLightPrimaryDefault, - primaryHover: buttonLightPrimaryHover, - primaryActive: buttonLightPrimaryPressed, - primaryDisabled: buttonLightPrimaryDisabled, - primaryLoading: buttonLightPrimaryLoader, + primary: blueDenim, + primaryHover: blueDenimTransparent, + primaryActive: blueMaya, + primaryDisabled: blueSky, + primaryLoading: blueSky, }, border: { base: `1px solid ${globalColors.grayMid}`, - baseHover: `1px solid ${globalColors.buttonLightPrimaryDefault}`, + baseHover: `1px solid ${blueDenim}`, baseActive: `1px solid ${globalColors.grayMid}`, baseDisabled: `1px solid ${globalColors.grayLightMid}`, baseLoading: `1px solid ${globalColors.grayLightMid}`, - primary: `1px solid ${globalColors.buttonLightPrimaryDefault}`, - primaryHover: `1px solid ${globalColors.buttonLightPrimaryHover}`, - primaryActive: `1px solid ${globalColors.buttonLightPrimaryPressed}`, - primaryDisabled: `1px solid ${globalColors.buttonLightPrimaryDisabled}`, - primaryLoading: `1px solid ${globalColors.buttonLightPrimaryLoader}`, + primary: `1px solid ${blueDenim}`, + primaryHover: `1px solid ${blueDenimTransparent}`, + primaryActive: `1px solid ${blueMaya}`, + primaryDisabled: `1px solid ${blueSky}`, + primaryLoading: `1px solid ${blueSky}`, }, loader: { - base: buttonLightPrimaryDefault, + base: blueDenim, primary: white, }, }, diff --git a/packages/components/utils/globalColors.js b/packages/components/utils/globalColors.js index 90c910a648..0e838ec978 100644 --- a/packages/components/utils/globalColors.js +++ b/packages/components/utils/globalColors.js @@ -25,11 +25,10 @@ const globalColors = { blueLightMid: "#265A8F", strongBlue: "#316AC5", - buttonLightPrimaryDefault: "#5299E0", - buttonLightPrimaryHover: "rgba(82, 153, 224, 0.85)", - buttonLightPrimaryPressed:"#4A8ACA", - buttonLightPrimaryDisabled:"#96C1EC", - buttonLightPrimaryLoader:"#96C1EC", + blueDenim : "#5299E0", + blueDenimTransparent: "rgba(82, 153, 224, 0.85)", + blueMaya: "#4A8ACA", + blueSky: "#96C1EC", lightGrayishBlue: "#DEE2E6", lightGrayishStrongBlue: "#DFE2E3",