From e72212a467926f6b7e55143a127f2384633a49d1 Mon Sep 17 00:00:00 2001 From: Daniel Cojocea Date: Mon, 26 Aug 2024 19:54:48 -0400 Subject: [PATCH] Reconfigured theme colors --- Client/src/Utils/Theme.js | 45 +++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 26 deletions(-) diff --git a/Client/src/Utils/Theme.js b/Client/src/Utils/Theme.js index c4faa2d1f..7b6535bfa 100644 --- a/Client/src/Utils/Theme.js +++ b/Client/src/Utils/Theme.js @@ -6,13 +6,6 @@ const secondaryMain = "#475467"; const tertiaryMain = "#475467"; const tertiaryLinkHover = "#eff8ff"; -// Label Colors -const labelOrange = "#F79009"; -const labelGray = "#475467"; -const labelPurple = "#6941C6"; -const labelGreen = "#067647"; -const labelRed = "#F04438"; - // Section colors const sectionBorder = "#D0D5DD"; const sectionBg = "#F8F9F8"; @@ -39,6 +32,25 @@ const fontFamilyDefault = const theme = createTheme({ typography: { fontFamily: fontFamilyDefault, fontSize: 13 }, palette: { + common: { main: "#1570ef" }, + text: { + primary: "#1c2130", + secondary: "#344054", + tertiary: "#475467", + accent: "#838c99", + }, + background: { + primary: "#FFFFFF", + secondary: "#FCFCFD", + fill: "#F4F4F4", + accent: "#f9fafb", + }, + border: { light: "#eaecf0", dark: "#d0d5dd" }, + success: { main: "#17b26a", light: "#d4f4e1", bg: "#ecfdf3" }, + error: { main: "#f04438", light: "#fbd1d1", bg: "#f9eced" }, + warning: { main: "#fdb022", light: "#fffcf5", bg: "#ffecbc" }, + unresolved: { main: "#4e5ba6", light: "#e2eaf7", bg: "#f2f4f7" }, + other: {}, primary: { main: primaryMain, }, @@ -49,21 +61,6 @@ const theme = createTheme({ main: tertiaryMain, linkHover: tertiaryLinkHover, }, - labelOrange: { - color: labelOrange, - }, - labelGray: { - color: labelGray, - }, - labelPurple: { - color: labelPurple, - }, - labelGreen: { - color: labelGreen, - }, - labelRed: { - color: labelRed, - }, section: { borderColor: sectionBorder, bgColor: sectionBg, @@ -85,10 +82,6 @@ const theme = createTheme({ borderThick: 2, boxShadow: shadow, }, - content: { - pX: "80px", - pY: "40px", - }, gap: { xs: "4px", small: "8px",