From d5f7aadadc52b69192c9c47261baedd7ab2deb1a Mon Sep 17 00:00:00 2001 From: Daniel Cojocea Date: Mon, 26 Aug 2024 14:45:31 -0400 Subject: [PATCH] =?UTF-8?q?=EF=BF=BD=20colors=20rebranded?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Client/src/index.css | 84 ++++++++++++++------------------------------ 1 file changed, 26 insertions(+), 58 deletions(-) diff --git a/Client/src/index.css b/Client/src/index.css index d513ac9a1..77ac4c1c5 100644 --- a/Client/src/index.css +++ b/Client/src/index.css @@ -7,19 +7,38 @@ :root { font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; font-weight: 400; - - /* color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; */ - font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; /* Generalized Stylings */ + --theme-main: #1570ef; - --env-var-font-familt-1: "Roboto", "Helvetica", "Arial", sans-serif; + --primary-color: #1c2130; + --secondary-color: #344054; + --secondary-color-light: #475467; + --secondary-color-light-accent: #838c99; + + --primary-bg: #ffffff; + --primary-bg-accent: #f9fafb; + --secondary-bg: #fcfcfd; + + --border-color: #eaecf0; + + /* OTHER COLORS */ + --success-color: #17b26a; + --success-color-light: #d4f4e1; + --success-bg: #ecfdf3; + --error-color: #f04438; + --error-color-light: #fbd1d1; + --error-bg: #f9eced; + --warning-color: #fdb022; + --warning-color-light: #fffcf5; + --warning-bg: #ffecbc; + --unresolved-color: #4e5ba6; + --unresolved-color-light: #e2eaf7; + --unresolved-bg: #f2f4f7; --env-var-color-0: #fff; --env-var-color-1: #1c2130; @@ -99,48 +118,12 @@ 0px 3px 3px -3px rgba(16, 24, 40, 0.03); } -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} - -a:hover { - color: #535bf2; -} - body { margin: 0; min-width: 320px; height: 100%; } -h1 { - font-size: 3.2em; - line-height: 1.1; -} - -button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; -} - -button:hover { - border-color: #646cff; -} - -button:focus, -button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; -} - .MuiInputBase-root.Mui-disabled input { cursor: not-allowed; } @@ -165,7 +148,7 @@ button:focus-visible { } body .MuiSkeleton-root { - background-color: var(--env-var-color-15); + background-color: #f2f4f7; } @keyframes ripple { @@ -178,18 +161,3 @@ body .MuiSkeleton-root { transform: scale(2); } } - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - - a:hover { - color: #747bff; - } - - button { - background-color: #f9f9f9; - } -}